9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] playing music (was RSA)
@ 2005-02-04  2:01 YAMANASHI Takeshi
  2005-02-04  9:33 ` C H Forsyth
  0 siblings, 1 reply; 36+ messages in thread
From: YAMANASHI Takeshi @ 2005-02-04  2:01 UTC (permalink / raw)
  To: 9fans

> I thought CDDB is not for Plan 9...

try:
	term% cdfs; sleep 10; grep cddb /mnt/cd/ctl | rc
--




^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  2:01 [9fans] playing music (was RSA) YAMANASHI Takeshi
@ 2005-02-04  9:33 ` C H Forsyth
  0 siblings, 0 replies; 36+ messages in thread
From: C H Forsyth @ 2005-02-04  9:33 UTC (permalink / raw)
  To: 9fans

> I thought CDDB is not for Plan 9...

man 4 cdfs for aux/cddb


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-05-07  8:59                           ` Ralph Corderoy
@ 2005-05-07 12:57                             ` Russ Cox
  0 siblings, 0 replies; 36+ messages in thread
From: Russ Cox @ 2005-05-07 12:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> http://www.freedb.org/ is a free replacement for CDDB.

And indeed that's what aux/cddb uses.

Russ


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:36                         ` boyd, rounin
@ 2005-05-07  8:59                           ` Ralph Corderoy
  2005-05-07 12:57                             ` Russ Cox
  0 siblings, 1 reply; 36+ messages in thread
From: Ralph Corderoy @ 2005-05-07  8:59 UTC (permalink / raw)
  To: 9fans

In article <01c101c50a59$e7496080$26ec7d50@kilgore>, boyd wrote:
> > I thought CDDB is not for Plan 9...
>
> i don't know the protocol, but i believe the service is free.

http://www.freedb.org/ is a free replacement for CDDB.

Cheers,

Ralph.



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04 13:24                 ` Sape Mullender
@ 2005-02-07  2:35                   ` Kenji Okamoto
  0 siblings, 0 replies; 36+ messages in thread
From: Kenji Okamoto @ 2005-02-07  2:35 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

> Anyway, it doesn't matter much, does it?

No, it doesn't.

I included my holiday work for Schubert, here.
This /sys/lib/music/schubert file is include from the default mapfile
/sys/lib/music/map.

I got motivation again for USB audio driver, I'll be too busy
for a while though...

Kenji

[-- Attachment #2: Type: text/plain, Size: 21926 bytes --]

category {
	composer = schubert

	Franz Schubert (フランツ シューベルト)
	(1797 — 1828)

	work {
		path {classic/schubert}
		class = symphonic
		orchestra = Orchestre de la Société des Concerts du Conservatoir
		conductor = André Cluytens

		Symphony Nº 8 in B minor D.759 (未完成交響曲)
		performance {
			Orchestre la Société des Concerts du Conservatoir
			André Cluytens, conductor

			recorded: Paris, 1950, Mono
		}
		command {number}
		track {
			Allegro moderato (アレグロ モデラート)
			time {11:21}
			file {Unfinished1.mp3}
		}
		track {
			Andante con moto (アンダンテ コン モト)
			time {12.10}
			file {Unfinished2.mp3}
		}
	}
	work {
		path {classic/schubert}
		class = Deutch Lied

		Schubert Lieder (シューベルト歌曲集)
			from Winterreise, Op.89 D.911

		words = Wilhelm Müller
		performance {
			Peter Pears, tenor
			Benjamin Britten, piano

			Recoded: London, October 1963
		}
		command {number}
		track {
			Gute Nacht (おやすみ)
			lyrics {
				Fremd bin ich eingezogen,
				Fremd zieh' ich wieder aus.
				Der Mai war mir gewogen
				Mit manchem Blumenstrauß,
				Das Mädchen sprach von Liebe,
				Die Mutter gar von Eh'
				Nun ist die Welt so trübe,
				Der Weg gehüllt in Schnee.

				Ich kann zu meiner Reisen
				Nicht wählen mit der Zeit:
				Muß selbst den Weg mir weisen
				In dieser Dunkelheit.
				Es zieht ein Mondenschatten
				Als mein Gefährte mit,
				Und auf den weißen Matten
				Such' ich des Wildes Tritt.

				Was soll ich länger weilen.
				Daß man mich trieb hinaus?
				Laß irre Hunde heulen
				Vor ihres Herren Haus!
				Die Liebe liebt das Wandern,
				Gott hat sie so gemacht
				Von Einem zu dem Andern
				Fein Liebchen, gute Nacht!

				Will dich im Traum nicht strören,
				Wär schad' um deine Ruh',
				Sollst meinen Tritt nicht hören
				Sacht, sacht die Türe zu!
				Schreib' im Vorübergehen
				Ans Tor dir: >>Gute Nacht!<<
				Damit du mögest sehen,
				An dich hab' ich gedacht.
			}
			time {5:51}
			file {GuteNacht.mp3}
		}
		track {
			Gefrorne Tränen (凍った涙)
			lyrics {
				Gefrone Tropfen fallen
				Von meinen Wangen ab;
				Ob es mir denn entgangen,
				Daß ich geweinet hab'?

				Ei Tränen, meine Tränen,
				Und seid ihr gar so lau,
				Daß ihr erstarrt zu Eise.
				Wie kühler Morgentau?

				Und dringt doch aus der Quelle
				Der Brust so glühend heiß,
				Als wollter ihr zerschmelzen
				Des ganzen Winters Eis!
			}
			time {2:14}
			file {GefrorneTränen.mp3}
		}
		track {
			Der Lindenbaum (菩提樹)
			lyrics {
				Am Brunnen vor der Tore
				Da steht ein Lindenbaum:
				Ich träumt' in seinem Schatten
				So manchen süßen Traum.
				Ich schnitt in seine Rinde
				So manches liebe Wor;
				Es zog in Freud und Leide
				Zu ihm mich immer fort.

				Ich mußt' auch heute wandern
				Vorbei in tiefer Nacht,
				Da hab' ich noch im Dunkeln
				Die Augen zugemacht.
				Und seine Zweige rauschten,
				Als riefen sie mir zu:
				>>Komm her zu mir, Geselle,
				Hier find'st du deine Ruh'!<<

				Die kalten Winde bliesen
				Mir grad ins Angesicht,
				Der Hut flog mir vom Kopfe,
				Ich wendete mich nicht.
				Num bin ich manche Stunde
				Entfernt von jenem Ort,
				Und immer hör' ich's rauschen:
				Du fändest Ruhe dort!
			}
			time {5:08}
			file {DerLindenbaum.mp3}
		}
		track {
			Auf dem Flusse (凍った川で)
			lyrics {
				Der du so lustig rauschtest,
				Du heller, wilder Fluß,
				Wie still bist du geworden,
				Gibst keinen Scheidegruß.

				Mit harter, starrer Rinde
				Hast du dich überdeckt,
				Liegst kalt und unbeweglich
				Im Sande ausgestreckt.

				In deine Decke grab' ich
				Mit einem spitzen Stein
				Den Namen meiner Liebsten
				Und Stund' und Tag hinein:

				Den Tag des ersten Grußes,
				Den ag, an dem ich ging;
				Um Nam' und Zahlen windet
				Sich ein zerbroch'ner Ring.

				Mein herz, in diesem Bache
				Erkennst du nun dein Bild?
				Ob's unter seiner Rinde
				Wohl auch so reißend schwillt?
			}
			time {3:33}
			file {AufdemFlusse.mp3}
		}
		track {
			Frühlingstraum (春の夢)
			lyrics {
				Ich träumte von bunten Blumen,
				So wie sie wohl blühen im Mai;
				Ich träumte von grünen Wiesen,
				Von Instigen Vogelgeschrei.

				Und als die Hähne krähten,
				Da ward mein Auge wach;
				Da war es kalt und finster,
				Es schrien die Raben vom Dach.

				Doch an den Fensterscheiben,
				Wer malte die Blätter da?
				Ihr lacht wohl über den Träumer,
				Der Blumen im Winter sah?

				Ich träumte von Lieb' um Liebe,
				Von einer schönen Maid,
				Von Herzen und Küssen,
				Von Wonne und Seligkei.

				Und als die Hähne krähten,
				Da ward mein Herze wach;
				Num sitz' ich hier alleine
				Und denke dem Traume nach.

				Die Augen schließ' ich wieder,
				Noch schlägt das Herz so warm.
				Wann grünt ihr Blätter am Fenster?
				Wann halt' ich mein Liebchen im Arm?
			}
			time {4:38}
			file {Frühlingstraum.mp3}
		}
		track {
			Einsamkeit (孤独)
			lyrics {
				Wie eine trübe Wolke
				Durch heit're Lüfte geht,
				Wenn in der Tanne Wipfel
				Ein mattes Lüftchen weht:

				So zieh ich meine Straße
				Dahin mit trägem Fuß,
				Durch helles, frohes Leben
				Einsam und ohne Gruß.

				Ach, daß die Luft so ruhig!
				Ach, daß die Welt so licht!
				Als noch die Stürme tobten,
				War ich so elend nicht.
			}
			time {2:54}
			file {Einsamkeit.mp3}
		}
		track {
			Die Post (郵便馬車)
			lyrics {
				Von der Straße her ein Posthorn klingt.
				Was hat es, daß es so hoch aufspringt,
				Mein Herz?

				Die Post bringt keinen Brief für dich.
				Was drängst du denn so wunderlich,
				Mein Herz?

				Nun ja, die Post kommt aus der Stadt,
				Wo ich ein liebes Liebchen hatt',
				Mein Herz?

				Willst wohl einmal hinüberseh'n
				Und fragen, wie es dort mag geh'n,
				Mein Herz?
			}
			time {2:00}
			file {DiePost.mp3}
		}
		track {
			Im Dorfe (村で)
			lyrics {
				Es bellen die Hunde, es rasseln die Ketten;
				Es schlafen die Menschen in ihren Betten,
				Träumen sich manches, was sie nicht haben,
				Tun sich im Gutten und Argen erlaben;

				Und morgen früh ist alles zerflossen.
				je, num, sie haben ihr Teil genossen,
				Und hoffen, was sie noch überig ließen,
				Doch wieder zu finden auf ihren Kissen.

				Bellt mich nur firt, ihr wachen Hunde,
				Laßt mich nicht ruh'n in der Schlummerstunde!
				Ich bin zu Ende mit allen Träumen,
				Was will ich unter den Schläfern säumen?
			}
			time {4:12}
			file {ImDorfe.mp3}
		}
		track {
			Der Wegweiser (道しるべ)
			lyrics {
				Was vermeid' ich denn die Wege,
				Wo die ander'n Wand'rer geh'n,
				Suche mir versteckte Stege
				Durch verschneite Felsenhöh'n?

				Habe ja doch nichts begangen,
				Daß ich Menschen sollte scheu'n,
				Welch ein törichtes Verlangen
				Treibt mich in die Wüstenei'n?

				Weiser stehen auf den Wegen,
				Weisen auf die Städte zu,
				Und ich wand're sonder Maßen,
				Ohne Ruh', und suche Ruh'.

				Einen Weiser seh' ich stehen
				Unverrückt vor meinem Blick;
				Eine Straße muß ich gehen,
				Die noch keiner ging zurück.
			}
			time {3:52}
			file {DerWegweiser.mp3}
		}
		track {
			Mut! (勇気)
			lyrics {
				Fliegt der Schnee mir ins Gesicht,
				Schüttl' ich ihn herunter.
				Wenn mein Herz im Busen spricht,
				Sing' ich hell und munter.

				Höre nicht, was es mir sagt,
				Habe keine Ohren;
				Fühle nicht, was es mir klagt,
				Klagen ist für Toren.

				Lustig in die Welt hinein,
				Gegen Wind und Wetter!
				Will kein Gott auf Erden sein,
				Sind wir selber Götter!
			}
			time {1:31}
			file {Mut!.mp3}
		}
		track {
			Der Leiermann (辻音楽師)
			lyrics {
				Drüben hinterm Dorfe
				Steht ein leiermann,
				Und mit starren Fingern
				Dreht er, was er kann.

				Barfuß auf dem Eise
				Wankt er hin und her,
				Und sein kleiner Teller
				Bleibt ihm immer leer.

				Keiner mag ihm hören,
				Keiner sieht ihn an;
				Und die Hunde knurren
				Um den alten Mann.

				Und er läßt es gehen,
				Alles wie es will,
				Dreht, und seine Leier
				Steht ihm mimmer still.

				Wunderlicher Alter,
				Soll ich mit dir geh'n?
				Willst zu meinen Liedern
				Deine Leier dreh'n?
			}
			time {3:19}
			file {DerLeiermann.mp3}
		}
	}
	work {
		path {classic/schubert}
		class = Deutch Lied

		Schubert Lied others (シューベルト歌曲、その他)

		command {number}
		track {
			An die Musik D.547 (楽に寄す、作品547)
			words = Franz von Schober
			performance {
				Elisabeth Schwarzkopf, soprano
				Edwin Fisher, piano

				recorded = Abbey Road, London, 1952 October 4-7, Mono
			}
			lyrics {
				Du holde Kunst, in wieviel grauen Stunden,
				Wo mich des Lebens wilder Kreis umstrickt,
				Hast du mein Herz zu warmer Lieb entzunden,
				Hast mich in eine beßre Welt entrückt!

				Oft hat ein Seufzer, deiner Harf entflossen,
				Ein süßer, heiliger Akkord von dir
				Den Himmel beßrer Zeiten mir erschlossen,
				Du holde Kunst, ich danke dir dafür!
			}
			time {2:39}
			file {AndieMusik1.mp3}
		}
		track {
			An die Musik D.547 (楽に寄す、作品547)
			words = Franz von Schober
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Du holde Kunst, in wieviel grauen Stunden,
				Wo mich des Lebens wilder Kreis umstrickt,
				Hast du mein Herz zu warmer Lieb entzunden,
				Hast mich in eine beßre Welt entrückt!

				Oft hat ein Seufzer, deiner Harf entflossen,
				Ein süßer, heiliger Akkord von dir
				Den Himmel beßrer Zeiten mir erschlossen,
				Du holde Kunst, ich danke dir dafür!
			}
			time {2:39}
			file {AndieMusik2.mp3}
		}
		track {
			An Sylvia D.891 (シルヴィアに、作品891)
			words = William Shakespeare/Bauernfeld
			performance {
				Elisabeth Schwarzkopf, soprano
				Edwin Fisher, piano

				recorded = Abbey Road, London, 1952 October 4-7, Mono
			}
			lyrics {
				Was ist Silvia, saget an,
				Daß sie die weite Flur preist?
				Schön und zart seh' ich sie nah'n,
				Auf Himmelsgunst und Spur weist,
				Daß ihr alles untertan.

				Ist sie schön und gut dazu?
				Reiz labt wie milde Kindheit;
				Ihrem Aug' eilt Amor zu,
				Dort heilt er seine Blindheit,
				Und verweilt in süßer Ruh'.

				Darum Silvia, tön', o Sang,
				Der holden Silvia Ehren;
				Jeden Reiz besiegt sie lang,
				Den Erde kann gewähren:
				Kränze ihr und Saitenklang!
			}
			time {3:05}
			file {AnSylvia1.mp3}
		}
		track {
			An Sylvia D.891 (シルヴィアに、作品891)
			words = William Shakespeare/Bauernfeld
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Was ist Silvia, saget an,
				Daß sie die weite Flur preist?
				Schön und zart seh' ich sie nah'n,
				Auf Himmelsgunst und Spur weist,
				Daß ihr alles untertan.

				Ist sie schön und gut dazu?
				Reiz labt wie milde Kindheit;
				Ihrem Aug' eilt Amor zu,
				Dort heilt er seine Blindheit,
				Und verweilt in süßer Ruh'.

				Darum Silvia, tön', o Sang,
				Der holden Silvia Ehren;
				Jeden Reiz besiegt sie lang,
				Den Erde kann gewähren:
				Kränze ihr und Saitenklang!
			}
			time {2:35}
			file {AnSylvia2.mp3}
		}
		track {
			An die Laute D.905 (リュートに寄す、作品905)
			words = Johann Friedrich Rochlitz
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Leiser, leiser, kleine Laute,
				Flüstre, was ich dir vertraute,
				Dort zu jenem Fenster him!
				Wie die Wellen sanfter Lüfte,
				Mondenglanz und Blumendüfte,
				Send' es der Gebieterin!

				Neidisch sind des Nachbars Söhne,
				Und im Fenster jener Schöne
				Flimmert noch ein eisam Licht.
				Drum noch ein einsam Licht.
				Dich vernehme die Vertraute,
				Nachbarn aber Nachbarn nicht!
			}
			time {1:35}
			file {AndieLaute.mp3}
		}
		track {
			Auf dem Wasser zu singen D.774 (水の上で歌う、作品774)
			words = Friedrich Leopold Graf zu Stolberg
			performance {
				Elisabeth Schwarzkopf, soprano
				Edwin Fisher, piano

				recorded = Abbey Road, London, 1952 October 4-7, Mono
			}
			lyrics {
				Mitten im Schimmer der spiegelnden Wellen
				Gleitet wie Schwäne der wankende Kahn;
				Ach, auf der Freude sanftschimmernden Wellen
				Gleitet die Seele dahin wie der Kahn;
				Denn von dem Himmel herab auf die Wellen
				Tanzet das Abendrot rund um den Kahn.

				Über den Wipfeln des westlichen Haines
				Winket uns freundlich der rötliche Schein;
				Unter den Zweigen des östlichen Haines
				Säuselt der Kalmus im rötlichen Schein;
				Freude des Himmels und Ruhe des Haines
				Atmet die Seel' im errötenden Schein.

				Ach, es entschwindet mit tauigem Flügel
				Mir auf den wiegenden Wellen die Zeit.
				Morgen entschwinde mit schimmerndem Flügel
				Wieder wie gestern und heute die Zeit,
				Bis ich auf höherem strahlenden Flügel
				Selber entschwinde der wechselnden Zeit.
			}
			time {3:19}
			file {AufdemWasserzusingen.mp3}
		}
		track {
			Das Lied im Grünen D.917 (緑野の歌、作品917)
			words = Johann Anton Friedrich Reil
			performance {
				Elisabeth Schwarzkopf, soprano
				Edwin Fisher, piano

				recorded = Abbey Road, London, 1952 October 4-7, Mono
			}
			lyrics {
				In's Grüne, in's Grüne,
				Da lockt uns der Frühling, der liebliche Knabe,
				Und führt uns am blumenumwundenen Stabe
				Hinaus, wo die Lerchen und Amseln so wach,
				In Wälder, auf Felder, auf Hügel zum, Bach,
				In's Grüne, in's Grüne.

				Im Grünen, im Grünen,
				Da lebt es sich wonning, da wandeln wir germe
				Und heften die Augen Dahin schon von ferne,
				Und wie wir so wandeln mit heiterer Brust,
				Um wallet uns immer die kindliche Lust,
				Im Grünen, im Grünen.

				Im Grünen, im Grünen,
				Da ruht man so wohl, empfindet so Schönes,
				Und denket behaglich an dieses und jenes,
				Und zaubert von hinnen, ach, was uns bedrückt,
				Und alles herbei, was den Busen entzückt,
				Im Grünen, im Gr"nen.

				Im Grünen, im Grünen,
				Da werden die Sterne so lar, die die Weisen
				Der Vorwelt zur Leitung des Lebens Uns preisen,
				Da streichen die Wölkchen so zart uns dahin.
				Da heitern die Herzen, da klärt sich der Sinn.
				Im Grünen, im Grünen.

				Im Grünen, im Grünen,
				Da wurde manch Plänchen auf Fügeln getragen,
				Die Zukunft der grämlichen Ansicht entschlagen,
				Da stärkt sich das Auge da labt sich der Blick,
				Sanft wiegen die Wünsche sich hin und zurück,
				Im Grünen, im Grünen.

				In's Grüne, in's Grüne,
				Lasst heiter uns folgen dem freundlichen Knaben
				Grünt einst das Leben nicht förder, so haben
				Wir klüglich die grünende Zeit nicht versäumt,
				Und wann es gegolten, doch glücklich geträumt,
				Im Grünen, im Grünen
			}
			time {4:33}
			file {DasLiedimGrünen.mp3}
		}
		track {
			Der Tod und das Mächen D.531 (死とおとめ、作品531)
			words = Matthias Claudius
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Das Mädchen:
				Vorüber, and vorüber!
				Geh, wilder Knochenmann!
				Ich bin noch jung, geh, Lieber,
				Und rühre mich nicht an.

				Der Tod:
				Gib deine Hand, du schön und zart Gebild!
				Bin Freund und komme nicht zu strafen.
				Sei guten Muts! Ich bin nicht wild,
				Sollst sanft in meinen Armen schlafen!
			}
			time {3:18}
			file {DerTodunddasMächen.mp3}
		}
		track {
			Der Wanderer D.493 (さすらい人、作品493)
			words = Georg Philipp Schmidt von Lübeck
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Ich komme vom Gebirge her,
				Es dampft das Tal, es braust das Meer.
				Ich wandle still, bin wenig froh,
				Und immer fragt der Seufzer: wo?
				Die Sonne dünkt mich hier so kalt,
				Die Blüte welk, das Leben alt,
				Und was sie reden, leere Schall,
				Ich bin ein Fremdling überall.

				Wo bist du, mein geliebtes Land?
				Gesucht, geahnt, und nie gekannt!
				Das Land, das Land so hoffnungsgrün,
				Das Land, wo meine Rosen blühn,
				Wo meine Freunde wandelnd gehn,
				Wo meine Toten auferstehn,
				Das Land, das meine Sprache spricht,
				O Land, wo bist du?

				Ich wandle still, bin wenig froh,
				Und immer fragt der Seufzer: wo?
				Im Geisterhauch tönt's mir zurüick:
				Dart, wo du nicht bist, dort ist das Glück!
			}
			time {5:40}
			file {DerWanderer.mp3}
		}
		track {
			Erlkönig D.328 (魔王、作品328)
			words = Johann Wolfgang von Goethe
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Wer reitet so spät durch Nacht und Wind?
				Es ist der Vater mit seinem Kind;
				Er hat den Knaben wohl in dem Arm,
				Er faßt ihn sicher, er hält ihn warm.

				>>Mein Sohn, was birgst du so bang dein Geisicht?<<
				>>Siehst, Vater, du den Erlkönig nicht?
				Den Erlenkönig mit Kron und Schweif?<<
				>>Mein Sohn, es ist ein Nebelstreif.<<
				>>Du liebes Kind, komm, geht mit mir!
				Gar schöne Spiele spiel ich mit dir;
				Manch bunte Blumen sind an dem Strand,
				Meine Mutter hat manch güilden Gewand.<<

				>>Mein Vater, mein Vater, und hörest du nicht,
				Was Erlenkönig mir leise verspricht?<<
				>>Sei ruhig, bleibe ruhig, mein Kind:
				In dürren Blättern säuselt der Wind.<<

				>>Willst, feiner Knabe, du mit mir gehn?
				Meine Töchter sollen dich warten schön;
				Meine Töchter führen den nächtlichen Reihn
				Und wiegen und tanzen und singen dich ein.<<

				>>Mein Vater, mein Vater, und siehst du nicht dort
				Erlkönigs Töchter am düstern Ort?«
				>>Mein Sohn, mein Sohn, ich seh es genau:
				Es scheinen die alten Weiden so grau.<<

				>>Ich liebe dich, mich reizt deine schöne Gestalt;
				Und bist du nicht willig, so brauch ich Gewalt.<<
				>>Mein Vater, mein Vater, jetzt faßt er mich an!
				Erlkönig hat mir ein Leids getan!<<

				Dem Vater grausets, er reitet geschwind,
				Er hält in den Armen das ächzende Kind,
				Erreicht den Hof mit Mühe und Not:
				In seinen Armen das Kind war tot.
			}
			time {3:50}
			file {Erlkönig.mp3}
		}
		track {
			Erster Verlust D.226
			words = Johann Wolfgang von Goethe
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Ach, wer bringt die schönen Tage,
				Jene Tage der ersten Liebe,
				Ach, wer bringt nur eine Stunde
				Jener holden Zeit zurük!

				Einsam nähr ich meine Wunde,
				Und mit stets erneuter Klage
				Traur ich ums verlorne Glück.

				Ach, wer bringt die schönen Tage,
				Wer jene holde Zeit zurÜck!
			}
			time {2:14}
			file {ErsterVerlust.mp3}
		}
		track {
			Frühlingsglaube D.686 (春の挨拶、作品686)
			words = Ludwich Uhland
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Die linden Lüfte sind erwacht,
				Sie säuseln und wehen Tag und Nacht,
				Sie schaffen an allen Enden.
				O frischer Duft, o neuer Klang!
				Num, armes Herze, sei nicht bang!
				Num muß sich alles, alles wenden.

				Die Welt wird schöner mit jedem Tag,
				Man weiß nicht, was noch werden mag,
				Das Blühen will nicht enden;
				Es blüht das fernste, tiefste Tal;
				Num, armes Herz, vergiß der Qual!
				Num muß sich alles, alles wenden!
			}
			time {3:13}
			file {Frühlingsglaube.mp3}
		}
		track {
			Heidenröslein D.257 (野ばら、作品257)
			words = Johann Wolfgang von Goethe
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Sah ein Knab ein Röslein steh'n,
				Röslein auf der Heiden,
				War so jung und morgenschön,
				Lief er schnell, es nah zu seh'n,
				Sah's mit vielen Freuden.
				Röslein, Röslein, Röslein rot,
				Röslein auf der Heiden.

				Knabe sprach: Ich breche dich,
				Röslein auf der Heiden!
				Röslein sprach: Ich steche dich,
				Daß du ewig denkst an mich,
				Und ich will's nicht leiden.
				Röslein, Röslein, Röslein rot,
				Röslein auf der Heiden.

				Und der wilde Knabe brach
				's Röslein auf der Heiden:
				Röslein wehrte sich und stach,
				Half ihm doch kein Weh und Ach,
				Mußt'es eben leiden.
				Röslein, Röslein, Röslein rot,
				Röslein auf der Heiden.
			}
			time {1:59}
			file {Heidenröslein.mp3}
		}
		track {
			Wanderers Nachtlied D.768
			words = Johann Wolfgang von Goethe
			performance {
				Gérard Souzay, baritone
				Dalton Baldwin, piano

				recorded = Switzerland, 1967 July
			}
			lyrics {
				Über allen Gipfeln
				Ist Ruh,
				In allen Wipfeln
				Spürest du
				Kaum einen Hauch;
				Die Vögelein schweigen im Walde.
				Warte nur, balde
				Ruhest du auch.
			}
			time {2:25}
			file {WanderersNachtlied.mp3}
		}
	}
}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:08               ` Kenji Okamoto
                                   ` (2 preceding siblings ...)
  2005-02-04  1:22                 ` bs
@ 2005-02-04 13:24                 ` Sape Mullender
  2005-02-07  2:35                   ` Kenji Okamoto
  3 siblings, 1 reply; 36+ messages in thread
From: Sape Mullender @ 2005-02-04 13:24 UTC (permalink / raw)
  To: 9fans

> By the way, I checked the name of Frantz, and found two Franz
> and Frantz.   Frantz is not formal?

Franz is the normal German way of spelling it.  But it does sound
like Frantz when pronounced.  I can't remember having seen Frantz.
Anyway, it doesn't matter much, does it?

	Sape



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:24                     ` boyd, rounin
  2005-02-04  1:27                       ` Kenji Okamoto
@ 2005-02-04  9:59                       ` Steve Simon
  1 sibling, 0 replies; 36+ messages in thread
From: Steve Simon @ 2005-02-04  9:59 UTC (permalink / raw)
  To: 9fans

> you probably just need a filter to smash iso-latin-1 into utf-8.

This is tcs(1) isn't it?

-Steve


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:27                       ` Kenji Okamoto
@ 2005-02-04  1:36                         ` boyd, rounin
  2005-05-07  8:59                           ` Ralph Corderoy
  0 siblings, 1 reply; 36+ messages in thread
From: boyd, rounin @ 2005-02-04  1:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> I thought CDDB is not for Plan 9...

i don't know the protocol, but i believe the service is free.
--
MGRS 31U DQ 52572 12604




^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:24                     ` boyd, rounin
@ 2005-02-04  1:27                       ` Kenji Okamoto
  2005-02-04  1:36                         ` boyd, rounin
  2005-02-04  9:59                       ` Steve Simon
  1 sibling, 1 reply; 36+ messages in thread
From: Kenji Okamoto @ 2005-02-04  1:27 UTC (permalink / raw)
  To: 9fans

>> I'm not sure, however, I'm afraid it cannot use French, English
>> and Japanese in a file.☺
> 
> you probably just need a filter to smash iso-latin-1 into utf-8.

I thought CDDB is not for Plan 9...

Kenji



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:20                   ` Kenji Okamoto
@ 2005-02-04  1:24                     ` boyd, rounin
  2005-02-04  1:27                       ` Kenji Okamoto
  2005-02-04  9:59                       ` Steve Simon
  0 siblings, 2 replies; 36+ messages in thread
From: boyd, rounin @ 2005-02-04  1:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> I'm not sure, however, I'm afraid it cannot use French, English
> and Japanese in a file.☺

you probably just need a filter to smash iso-latin-1 into utf-8.
--
MGRS 31U DQ 52572 12604




^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:08               ` Kenji Okamoto
  2005-02-04  1:17                 ` boyd, rounin
  2005-02-04  1:19                 ` boyd, rounin
@ 2005-02-04  1:22                 ` bs
  2005-02-04 13:24                 ` Sape Mullender
  3 siblings, 0 replies; 36+ messages in thread
From: bs @ 2005-02-04  1:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Kenji Okamoto wrote:
> By the way, I checked the name of Frantz, and found two Franz
> and Frantz.   Frantz is not formal?
Historically...
Franz - German
Frantz - German & Jewish

eg: Schwarz & Schwartz


(from one who is neither :-)




^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:17                 ` boyd, rounin
@ 2005-02-04  1:20                   ` Kenji Okamoto
  2005-02-04  1:24                     ` boyd, rounin
  0 siblings, 1 reply; 36+ messages in thread
From: Kenji Okamoto @ 2005-02-04  1:20 UTC (permalink / raw)
  To: 9fans

> why not use the CDDB?

I'm not sure, however, I'm afraid it cannot use French, English
and Japanese in a file.☺

Kenji



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:08               ` Kenji Okamoto
  2005-02-04  1:17                 ` boyd, rounin
@ 2005-02-04  1:19                 ` boyd, rounin
  2005-02-04  1:22                 ` bs
  2005-02-04 13:24                 ` Sape Mullender
  3 siblings, 0 replies; 36+ messages in thread
From: boyd, rounin @ 2005-02-04  1:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> By the way, I checked the name of Frantz, and found two Franz
> and Frantz.   Frantz is not formal?

i've only ever seen Franz.  brucee?
--
MGRS 31U DQ 52572 12604




^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-04  1:08               ` Kenji Okamoto
@ 2005-02-04  1:17                 ` boyd, rounin
  2005-02-04  1:20                   ` Kenji Okamoto
  2005-02-04  1:19                 ` boyd, rounin
                                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 36+ messages in thread
From: boyd, rounin @ 2005-02-04  1:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

why not use the CDDB?
--
MGRS 31U DQ 52572 12604




^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-03 15:28             ` Sape Mullender
@ 2005-02-04  1:08               ` Kenji Okamoto
  2005-02-04  1:17                 ` boyd, rounin
                                   ` (3 more replies)
  0 siblings, 4 replies; 36+ messages in thread
From: Kenji Okamoto @ 2005-02-04  1:08 UTC (permalink / raw)
  To: 9fans

> Maybe we should build a central repository for map files.
> Saves people a lot of typing.

Yeah, but the music data themselves can't be shared between us
because of copyright...  everytime this causes the problem, however,
we have to keep the artists feeding money for their new work.
We can share muisc database itself of course!

By the way, I checked the name of Frantz, and found two Franz
and Frantz.   Frantz is not formal?

By the way, my original /sys/lib/music/日本の歌 file does not include
all the 0x13 code at the end of each line.  Those are added by someone
else.☺

Kenji



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-03  7:54           ` Kenji Okamoto
  2005-02-03  8:00             ` boyd, rounin
@ 2005-02-03 15:28             ` Sape Mullender
  2005-02-04  1:08               ` Kenji Okamoto
  1 sibling, 1 reply; 36+ messages in thread
From: Sape Mullender @ 2005-02-03 15:28 UTC (permalink / raw)
  To: 9fans

> Sorry everone, I can't stop to post this.☺

Frantz Schubert → Franz Schubert

cool.  Maybe we should build a central repository for map files.
Saves people a lot of typing.

	Sape
	



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-03  9:06               ` Kenji Okamoto
@ 2005-02-03  9:16                 ` boyd, rounin
  0 siblings, 0 replies; 36+ messages in thread
From: boyd, rounin @ 2005-02-03  9:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> I googled Van Halen, and found I know no songs from them.☺

i just did:

     http://www.van-halen.com

i woulda had it soona, but a head crash ruins yer day.

--
MGRS 31U DQ 52572 12604




^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-03  8:00             ` boyd, rounin
@ 2005-02-03  9:06               ` Kenji Okamoto
  2005-02-03  9:16                 ` boyd, rounin
  0 siblings, 1 reply; 36+ messages in thread
From: Kenji Okamoto @ 2005-02-03  9:06 UTC (permalink / raw)
  To: 9fans

> jeez, no Van Halen ...

I googled Van Halen, and found I know no songs from them.☺

Kenji



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-03  7:54           ` Kenji Okamoto
@ 2005-02-03  8:00             ` boyd, rounin
  2005-02-03  9:06               ` Kenji Okamoto
  2005-02-03 15:28             ` Sape Mullender
  1 sibling, 1 reply; 36+ messages in thread
From: boyd, rounin @ 2005-02-03  8:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

jeez, no Van Halen ...
--
MGRS 31U DQ 52572 12604




^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-02-02  9:18         ` Kenji Okamoto
@ 2005-02-03  7:54           ` Kenji Okamoto
  2005-02-03  8:00             ` boyd, rounin
  2005-02-03 15:28             ` Sape Mullender
  0 siblings, 2 replies; 36+ messages in thread
From: Kenji Okamoto @ 2005-02-03  7:54 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

> I finally built up music database, and begin to use Sape's
> juke(7) program.

Sorry everone, I can't stop to post this.☺

Included are some our mapfiles for Sape's juke(7) program\

Kenji

[-- Attachment #2: Type: text/plain, Size: 2140 bytes --]

category {
	composer = schubert

	Frantz Schubert (フランツ シューベルト)
	(1797 — 1828)

	work {
		path {classic/schubert}
		class = symphonic
		orchestra = Orchestre de la Société des Concerts du Conservatoir
		conductor = André Cluytens

		Symphony Nº 8 in B minor D.759 (未完成交響曲)
		performance{
			Orchestre la Société des Concerts du Conservatoir
			André Cluytens, conductor

			recorded: Paris, 1950, Mono
		}
		command {number}
		track {
			Allegro moderato (アレグロ モデラート)
			time {11:21}
			file {Unfinished1.mp3}
		}
		track {
			Andante con moto (アンダンテ コン モト)
			time {12.10}
			file {Unfinished2.mp3}
		}
	}
}

include {beatles}

include {PPM}

include {johndenver}

include {carpenters}

include {simon_garfunkel}

include {日本の歌}

category {
	composer = Bob Dylan

	Bob Dylan (ボブ ディラン)

	work {
		path {pops/bobdylan}
		class = folk song

		Bob Dylan Greatest Hits

		command {number}
		track {
			Blowin' in the Wind (風に吹かれて)
			lyrics {
				How many roads must a man walk down
				Before they call him a man
				How many seas must a white dove sail
				Before she sleeps in the sand
				How many times must the cannon balls fly
				Before they're forever banned
				The answer my friends is blowin' in the wind
				The answer is blowin' in the wind

				How many years must a mountain exist
				Before it is washed to the sea
				How many years can some people exist
				Before they're allowed to be free
				How many times can a man turn his head
				And pretend that he just doesn't see
				The answer my friend is blowin' in the wind
				The answer is blowin' in the wind

				How many times must a man look up
				Before he can see the sky
				How many ears must one man have
				before he can hear people cry
				How many deaths will it take
				Till he knows
				That too many people have died
				The answer my friend is blowin' in the wind
				The answer is blowin' in the wind
			}
			time {}
			file {BlowinWind.mp3}
		}

	}
}

[-- Attachment #3: Type: text/plain, Size: 8070 bytes --]

category {
	日本の歌

	work {
		path {classic/日本の歌}
		class = lyric songs

		日本の歌

		performance {
			鮫島有美子, Soprano
			Helmut Deutsch, Piano
		}
		command {number}
		track {
			赤トンボ (Aka Tonbo)
			composer = 山田耕作
			words =  三木露風
			lyrics {
				夕やけこやけの 赤トンボ
				負われて見たのは いつの日か

				山の畑の 桑の実を
				こかごにつんだは 幻か

				十五でねえやは嫁に行き
				お里の便りも 絶えはてた

				夕やけこやけの 赤トンボ
				とまっているよ さおの先
			}
			time {2:27}
			file {Akatonbo.mp3}
		}
		track {
			青葉の笛 (Aoba no Fue)
			composer = 田村虎蔵
			words = 大和田建樹
			lyrics {
				一の谷の軍破れ
				討たれし平家の 公達あわれ
				暁寒き 須磨の嵐に
				聞こえしはこれか 青葉の笛

				更くる夜半に 門を敲き
				わが師に託せし 言の葉あわれ
				今わの際まで 打ちし箙に
				残れるは 『花や 今宵』 の歌
			}
			time {2:10}
			file {AobanoFue.mp3}
		}
		track {
			あわて床屋 (Awate Dokoya)
			composer = 山田耕作
			words = 北原白秋
			lyrics {
				春は早うから 川辺の芦に
				かにが店出し 床屋でござる
				ちょっきん ちょっきん ちょっきんな

				こがにぶつぶつ しゃぼんを溶かし
				おやじ自慢で はさみを鳴らす
				ちょっきん ちょっきん ちょっきんな

				そこへうさぎが お客にござる
				どうぞ急いで 髪刈っておくれ
				ちょっきん ちょっきん ちょっきんな

				うさぎァ気がせく かにァあわてるし
				早く早くと 客ァ詰めこむし
				ちょっきん ちょっきん ちょっきんな

				邪魔なお耳は ぴょこぴょこするし
				そこであわてて ちょんと切りおとす
				ちょっきん ちょっきん ちょっきんな

				うさぎァ怒るし かにァ恥ょかくし
				しかたなくなく 穴へと逃げる
				ちょっきん ちょっきん ちょっきんな
			}
			time {2:08}
			file {AwateDokoya.mp3}
		}
		track {
			中国地方の子守歌 (Chugoku Chihou no Komori Uta)
			composer = 山田耕作
			words = 日本古謡
			lyrics {
				ねんねこ しゃっしゃりませ
				寝た子の可愛さ
				起きて泣く子の ねんころろ
				つら憎さ
				ねんころろん ねんころろん

				ねんねこ しゃっしゃりませ
				きょうは二十五日さ
				あすはこの子の ねんころろ
				宮詣り
				ねんころろん ねんころろん

				宮へ詣ったとき
				なんとゆうて 拝musa
				一生この子の ねんころろ
				まめなよに
				ねんころろん ねんころろん
			}
			time {2:18}
			file {ChugokuKomoriuta.mp3}
		}
		track {
			浜辺の歌 (Hamabe no Uta)
			composer = 成田為三
			words = 林古渓
			lyrics {
				あした浜辺をさまよえば
				昔のことぞ忍ばるる
				風の音よ 雲のさまよ
				寄する波も かいの色も

				ゆうべ浜辺をもとおれば
				昔の人ぞ忍ばるる
				寄する波よ かえす波よ
				月の色も 星のかげも

				はやちたちまち波を吹き
				赤裳のすそぞぬれひじし
				病みし我はすべていえて
				浜の真砂 まなごいまは
			}
			time {2:36}
			file {HamabenoUta.mp3}
		}
		track {
			この道 (Kono Michi)
			composer = 山田耕作
			words = 北原白秋
			lyrics {
				この道はいつか来た道
				ああ そうだよ
				あかしやの花が咲いてる

				あの丘はいつか来た道
				ああ そうだよ
				ほら 白い時計台だよ

				この道はいつか来た道
				ああ そうだよ
				おかあさまと馬車で行ったよ

				あの雲もいつか見た雲
				ああ そうだよ
				山査子の枝も垂れてる
			}
			time {2:44}
			file {Konomichi.mp3}
		}
		track {
			夏の思い出 (Natsu no Omoide)
			composer = 中田嘉直
			words = 江間章子
			lyrics {
				夏が来れば思い出す
				はるかな尾瀬 とおい空
				きりの中に浮かびくる
				やさしい影 野の小路
				みず芭蕉の花が
				咲いている
				夢見て咲いている水のほとり
				しゃくなげ色にたそがれる
				はるかな尾瀬 とおい空

				夏が来れば思い出す
				はるかな尾瀬 野の旅よ
				花の中にそよそよと
				ゆれゆれる 浮き島よ
				みず芭蕉の花が
				匂っている
				夢見て匂っている水のほとり
				まなこつぶればなつかしい
				はるかな尾瀬 とおい空
			}
			time {2:10}
			file {NatsunoOmoide.mp3}
		}
		track {
			朧月夜 (Oboro Zukiyo)
			composer = 岡野貞一
			words = 高野辰之
			lyrics {
				菜の花畠に 入日薄れ
				見わたす山の端 霞ふかし
				春風そよふく 空を見れば
				夕月かかりて 匂い淡し

				里わの火影も 森の色も
				田中の小路を たどる人も
				蛙の鳴くねも 鐘の音も
				さながら霞める 朧月夜
			}
			time {2:22}
			file {OboroZukiyo.mp3}
		}
		track {
			ペチカ (Pechika)
			composer = 山田耕作
			words = 北原白秋
			lyrics {
				雪の降る夜は 楽しいペチカ
				ペチカ燃えろよ お話しましょ
				昔 昔よ 燃えろよペチカ

				雪の降る夜は 楽しいペチカ
				ペチカ燃えろよ 表は寒い
				くりやくりやと 呼びますペチカ

				雪の降る夜は 楽しいペチカ
				ペチカ燃えろよ じき春来ます
				今にやなぎも もえましょペチカ

				雪の降る夜は 楽しいペチカ
				ペチカ燃えろよ だれだか来ます
				お客さまでしょ うれしいペチカ

				雪の降る夜は 楽しいペチカ
				ペチカ燃えろよ お話しましょ
				火の粉ぱちぱち はねろよペチカ
			}
			time {3:11}
			file {Pechika.mp3}
		}
		track {
			里の秋 (Sato no Aki)
			composer = 海沼実
			words = 斎藤信夫
			lyrics {
				静かな静かな 里の秋
				お背戸に木の実の 落ちる夜は
				ああ母さんと ただ二人
				栗の実煮てます いろりばた

				あかるいあかるい 星の空
				鳴き鳴き夜鴨の わたる夜は
				ああ父さんの あの笑顔
				栗の実たべては 思い出す

				さよならさよなら 椰子の島
				おふねにゆられて 帰られる
				ああ父さんよ ごぶじでと
				今夜も母さんと 祈ります
			}
			time {2:59}
			file {SatonoAki.mp3}
		}
		track {
			叱られて (Shikararete )
			composer = 弘田龍太郎
			words = 清水かつら
			lyrics {
				叱られて
				叱られて
				あの子は町まで お使いに
				この子は坊やを ねんねしな
				夕べさみしい 村はずれ
				こんときつねが なきゃせぬか

				叱られて
				叱られて
				口には出さねど 目になみだ
				二人のお里は あの山を
				越えてあなたの 花のむら
				ほんに花見は いつのこと
			}
			time {3:54}
			file {Shikararete.mp3}
		}
		track {
			早春賦 (Soushun Fu)
			composer = 中田章
			words = 吉丸一昌
			lyrics {
				春は名のみの 風の寒さや
				谷の鶯 歌は思えど
				時にあらずと 声も立てず
				時にあらずと 声も立てず

				氷解け去り 葦は角ぐむ
				さては時ぞと 思うあやにく
				今日もきのうも 雲の空
				今日もきのうも 雲の空

				春と聞かねば知らでありしを
				聞けば急かるる 胸の思いを
				いかにせよとの この頃か
				いかにせよとの この頃か
			}

			time {2:25}
			file {SoushunFu.mp3}
		}
	}
}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31 10:56       ` Axel Belinfante
@ 2005-02-02  9:18         ` Kenji Okamoto
  2005-02-03  7:54           ` Kenji Okamoto
  0 siblings, 1 reply; 36+ messages in thread
From: Kenji Okamoto @ 2005-02-02  9:18 UTC (permalink / raw)
  To: 9fans

I finally built up music database, and begin to use Sape's
juke(7) program.

Interesting, because it can show the lyrics of the song which is
now playing.   I copied many lyrics, such as Beatles, Simon & Garfunkel,
Carpenters or Peter Paul and mary etc, and now using it through mp3!
I'm using SB16 card though.☺

Thanks Sape.

Kenji



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31 20:07                   ` Tim Newsham
  2005-01-31 20:21                     ` Russ Cox
@ 2005-01-31 20:30                     ` rog
  1 sibling, 0 replies; 36+ messages in thread
From: rog @ 2005-01-31 20:30 UTC (permalink / raw)
  To: 9fans

> have a server for accessing the native unix filesystem and
> servers for each of the devices that you'd want to access from
> plan9ports (ie. /dev/audio).

that's basically what inferno does.



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31 20:07                   ` Tim Newsham
@ 2005-01-31 20:21                     ` Russ Cox
  2005-01-31 20:30                     ` rog
  1 sibling, 0 replies; 36+ messages in thread
From: Russ Cox @ 2005-01-31 20:21 UTC (permalink / raw)
  To: Tim Newsham; +Cc: Fans of the OS Plan 9 from Bell Labs

> What I think would be nifty to see (although I don't use plan9port
> much, and am not volunteering to do myself ;-) would be to have
> all the filesystem operations get translated into 9p messages
> and have a server for accessing the native unix filesystem and
> servers for each of the devices that you'd want to access from
> plan9ports (ie. /dev/audio).

This sounds great until you try it, and then it's
like you're living in this bizarre alternate universe
where you have to keep traack of which programs are
"9p-ified" and which are not, so there's no difference
between

    9 cat /etc/passwd
    cat /etc/passwd

but there is a difference between

9 cat /mnt/plumb/rules
cat /mnt/plumb/rules

which is just weird.  And then maybe you change the
shell so it can cd into these directories-which-don't-really-exist,
and then you can run 9p-ified programs while in those 
directories but not normal ones.  And you can't run
any executables in those directories, because they're
not really directories.  Or maybe you don't change the shell,
in which case 

    9 cat /mnt/plumb/rules

works but cd /mnt/plumb does not.

I agree it's a great idea in principle, but to do it right you
really have to go all the way and put the support in the 
kernel (like Ron and Eric did for Linux).   And then you're
way more system-specific than just writing a few lines of
code to initialize the audio device.

If enough of this kind of system-specific code shows up,
then I will probably create a libsysgoo that at least 
isolates it from the rest of the system.  But right now it's
just the tty code in 9term, and the code in libthread
but that isn't possible to split out.  (Audio is not there,
since Juke isn't in plan9port.)

Russ


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31 17:59                 ` Russ Cox
@ 2005-01-31 20:07                   ` Tim Newsham
  2005-01-31 20:21                     ` Russ Cox
  2005-01-31 20:30                     ` rog
  0 siblings, 2 replies; 36+ messages in thread
From: Tim Newsham @ 2005-01-31 20:07 UTC (permalink / raw)
  To: Russ Cox, Fans of the OS Plan 9 from Bell Labs

>> On the sun I have named pipe's /tmp/dev/audio and /tmp/dev/volume
>> and two small programs, one to read audio bytes from /tmp/dev/audio
>> and shuttle them to the real sun audio device, and another one
>
> i did that for a while, but on my linux only one app can
> have the sound card open at a time, so it got annoying
> killing it off and restarting it.  this way ajuke can take
> care of closing the audio device when it is paused or stopped.
>
> either way the code has to be written.

What I think would be nifty to see (although I don't use plan9port
much, and am not volunteering to do myself ;-) would be to have
all the filesystem operations get translated into 9p messages
and have a server for accessing the native unix filesystem and
servers for each of the devices that you'd want to access from
plan9ports (ie. /dev/audio).

> russ

Tim N.


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31 11:01               ` Axel Belinfante
@ 2005-01-31 17:59                 ` Russ Cox
  2005-01-31 20:07                   ` Tim Newsham
  0 siblings, 1 reply; 36+ messages in thread
From: Russ Cox @ 2005-01-31 17:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> maybe also sape's playlist server could be used
> (although there are some differences in the
>  operations allowed on the playlist, I think)
> such that essentially (some version of) acme Juke
> would just be an alternative to sape's juke gui?

doing that is possible, but it would be a different program.

the one neat thing about ajuke (and acd before it) is that
the acme buffer *is* the playlist.  when it's time to 
move to the next song, ajuke just looks at the window
text to figure out what was playing and what to play
next.

so editing the playlist is very familiar -- it's no different
from editing text files.

> On the sun I have named pipe's /tmp/dev/audio and /tmp/dev/volume
> and two small programs, one to read audio bytes from /tmp/dev/audio
> and shuttle them to the real sun audio device, and another one

i did that for a while, but on my linux only one app can
have the sound card open at a time, so it got annoying
killing it off and restarting it.  this way ajuke can take
care of closing the audio device when it is paused or stopped.

either way the code has to be written.  

russ


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31 16:28       ` rog
@ 2005-01-31 17:18         ` Russ Cox
  0 siblings, 0 replies; 36+ messages in thread
From: Russ Cox @ 2005-01-31 17:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> > Juke depends on some recent additions to acme.
> 
> would you be able to summarise these?

there are new files n/errors and n/xdata. see acme(4).

russ


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31  7:03     ` [9fans] playing music (was RSA) Russ Cox
  2005-01-31  7:59       ` Kenji Okamoto
  2005-01-31 10:56       ` Axel Belinfante
@ 2005-01-31 16:28       ` rog
  2005-01-31 17:18         ` Russ Cox
  2 siblings, 1 reply; 36+ messages in thread
From: rog @ 2005-01-31 16:28 UTC (permalink / raw)
  To: 9fans

> Juke depends on some recent additions to acme.

would you be able to summarise these?



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31  8:32             ` Russ Cox
  2005-01-31  8:41               ` Kenji Okamoto
  2005-01-31 11:01               ` Axel Belinfante
@ 2005-01-31 14:45               ` Sape Mullender
  2 siblings, 0 replies; 36+ messages in thread
From: Sape Mullender @ 2005-01-31 14:45 UTC (permalink / raw)
  To: russcox, 9fans

> ideally it would be nice if sape's database could be plugged
> into the acme Juke i just posted, which is somewhat
> database-agnostic.

I'll think about it.

	Sape



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31  8:32             ` Russ Cox
  2005-01-31  8:41               ` Kenji Okamoto
@ 2005-01-31 11:01               ` Axel Belinfante
  2005-01-31 17:59                 ` Russ Cox
  2005-01-31 14:45               ` Sape Mullender
  2 siblings, 1 reply; 36+ messages in thread
From: Axel Belinfante @ 2005-01-31 11:01 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> ideally it would be nice if sape's database could be plugged
> into the acme Juke i just posted, which is somewhat
> database-agnostic.

maybe also sape's playlist server could be used
(although there are some differences in the
 operations allowed on the playlist, I think)
such that essentially (some version of) acme Juke 
would just be an alternative to sape's juke gui?

hmm... probably it's not so simple... :-/ :-)

Axel.



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31  7:03     ` [9fans] playing music (was RSA) Russ Cox
  2005-01-31  7:59       ` Kenji Okamoto
@ 2005-01-31 10:56       ` Axel Belinfante
  2005-02-02  9:18         ` Kenji Okamoto
  2005-01-31 16:28       ` rog
  2 siblings, 1 reply; 36+ messages in thread
From: Axel Belinfante @ 2005-01-31 10:56 UTC (permalink / raw)
  To: Russ Cox, Fans of the OS Plan 9 from Bell Labs

> The audio back end for volume and ajuke is system-specific,
> and only Linux is implemented.  If you add support for another
> system, please mail it to me so I can include it.

maybe the following is a weird idea, but anyway:

I do my daily work on a sun, where I use drawterm to a connect
to a plan 9 cpu server where I run sape's juke player.

On the sun I have named pipe's /tmp/dev/audio and /tmp/dev/volume
and two small programs, one to read audio bytes from /tmp/dev/audio
and shuttle them to the real sun audio device, and another one
to implement enough of the plan 9 /dev/volume interface to
keep sape's juke happy.
(details are at http://plan9.cs.utwente.nl/audio-sun-drawterm/)
In drawterm I 'bind -b /mnt/term/tmp/dev /dev' and then run
sape's stuff.

Would such a scheme fit (could such a scheme be made to fit)
with plan9port, such that all plan 9 (-port) programs assume
a plan 9 style audio interface, and the system specific backends
provide that?
I guess that would help to keep the local system audio specifics
out of the plan9(port) code...

Regards,
Axel.



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31  8:32             ` Russ Cox
@ 2005-01-31  8:41               ` Kenji Okamoto
  2005-01-31 11:01               ` Axel Belinfante
  2005-01-31 14:45               ` Sape Mullender
  2 siblings, 0 replies; 36+ messages in thread
From: Kenji Okamoto @ 2005-01-31  8:41 UTC (permalink / raw)
  To: 9fans

Ok, I got it.   There are also already games/plumb and plumb.☺

> ideally it would be nice if sape's database could be plugged
> into the acme Juke i just posted, which is somewhat
> database-agnostic.

sape's database structure is not so clear to me, because I'm not 
familiar with original Ken's juke system.

Could someone explain it?

Kenji



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31  8:08           ` Kenji Okamoto
@ 2005-01-31  8:32             ` Russ Cox
  2005-01-31  8:41               ` Kenji Okamoto
                                 ` (2 more replies)
  0 siblings, 3 replies; 36+ messages in thread
From: Russ Cox @ 2005-01-31  8:32 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> >> I'm very much confused why Sape's juke and Russ's Juke have the
> >> same name.  Or juke and Juke is different?
> >
> > we both stole the name from ken.
> > mine is upper-case because it's an acme program.
> 
> Yes, I know.  Then, I wrote both are same.
> Dont't you both have a plan to negotiate changing names?

since the file system is case-insensitive, it doesn't really
matter.  also Juke would go in /acme/bin instead of the
usual bin directories, so there's really not a problem.
ideally it would be nice if sape's database could be plugged
into the acme Juke i just posted, which is somewhat
database-agnostic.


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31  8:05         ` Russ Cox
@ 2005-01-31  8:08           ` Kenji Okamoto
  2005-01-31  8:32             ` Russ Cox
  0 siblings, 1 reply; 36+ messages in thread
From: Kenji Okamoto @ 2005-01-31  8:08 UTC (permalink / raw)
  To: 9fans

>> I'm very much confused why Sape's juke and Russ's Juke have the
>> same name.  Or juke and Juke is different?
> 
> we both stole the name from ken.
> mine is upper-case because it's an acme program.

Yes, I know.  Then, I wrote both are same.
Dont't you both have a plan to negotiate changing names?

Kenji



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31  7:59       ` Kenji Okamoto
@ 2005-01-31  8:05         ` Russ Cox
  2005-01-31  8:08           ` Kenji Okamoto
  0 siblings, 1 reply; 36+ messages in thread
From: Russ Cox @ 2005-01-31  8:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> I'm very much confused why Sape's juke and Russ's Juke have the
> same name.  Or juke and Juke is different?

we both stole the name from ken.
mine is upper-case because it's an acme program.

russ


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2005-01-31  7:03     ` [9fans] playing music (was RSA) Russ Cox
@ 2005-01-31  7:59       ` Kenji Okamoto
  2005-01-31  8:05         ` Russ Cox
  2005-01-31 10:56       ` Axel Belinfante
  2005-01-31 16:28       ` rog
  2 siblings, 1 reply; 36+ messages in thread
From: Kenji Okamoto @ 2005-01-31  7:59 UTC (permalink / raw)
  To: 9fans

> On Sat, 6 Nov 2004 17:56:14 -0500, Russ Cox <russcox@gmail.com> wrote:
>> a few weeks ago,
>> i wrote an acme equivalent of ken's juke box,
>> kind of like acd but driven by a database of
>> audio files instead of a single cd.  the whole
>> thing is a handful of shell scripts and is pretty
>> nice.  after i iron out some more bugs i will
>> clean it up and put it somewhere for people
>> to play with.
> 
> I finished cleaning.  There are C programs now.
> http://swtch.com/juke.tar.gz.

I'm very much confused why Sape's juke and Russ's Juke have the
same name.  Or juke and Juke is different?

I feel something bad here...

Kenji



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [9fans] playing music (was RSA)
  2004-11-06 22:56   ` Russ Cox
@ 2005-01-31  7:03     ` Russ Cox
  2005-01-31  7:59       ` Kenji Okamoto
                         ` (2 more replies)
  0 siblings, 3 replies; 36+ messages in thread
From: Russ Cox @ 2005-01-31  7:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sat, 6 Nov 2004 17:56:14 -0500, Russ Cox <russcox@gmail.com> wrote:
> a few weeks ago,
> i wrote an acme equivalent of ken's juke box,
> kind of like acd but driven by a database of
> audio files instead of a single cd.  the whole
> thing is a handful of shell scripts and is pretty
> nice.  after i iron out some more bugs i will
> clean it up and put it somewhere for people
> to play with.

I finished cleaning.  There are C programs now.
http://swtch.com/juke.tar.gz.

The gui instructions and README file are below.

The tgz assumes you're using plan9port on a Unix system
but it should be trivial to move over to real Plan 9.
Juke depends on some recent additions to acme.
They are in CVS in plan9port and also on sources
as of a few minutes ago.

Enjoy.
Russ

--- from jukeget script
jukewelcome='
Welcome to Juke.

This window, /juke/, is the playlist window.
It contains a list of songs to be played, along
with any other text.  Songs are lines that
begin with song/nnn, where nnn is a number.
They might have other text (like the name of
the song) as well.

If you button 2 click on a line in this window,
juke starts playing the first song it finds on
that line or following.  The currently playing
song is marked with a >.  When the song ends,
juke picks up the > and scans forward for the
next song, and then starts that song.  If juke finds
a line beginning "repeat" instead, then it moves
back to the top of the file.  Otherwise, if juke
reaches the end of the window, it stops playing.

If the playlist window contains a line beginning
"shuffle", the playing algorithm changes: when
one song ends, juke chooses the next song at
random from all the songs in the window.  Juke
never stops playing in shuffle mode.

This window's contents *are* the play list.
If you move songs in this window, that changes
the play order.  If you move the >, then juke
will think that was the song being played when
the current song ends.

Juke recognizes some builtin commands, which are
displayed in the tag of this window.  V- and V+
change the volume.

In addition to song tags (song/nnn), there
are album, artist, composer, and genre tags.
Button 3 clicking on any of these opens a new
window named, e.g., /juke/song/nnn, displaying
information about the song, the contents of
the albums, works by the artist or composer,
or songs in the genre.  In the results window,
button 2 clicking on a line appends that line
to the end of the playlist.  Button 3 clicks
behave as just described.

If you button 3 click on text that is not a tag,
then the new window will be named /juke/search,
and it will be filled with a list of tags whose
titles match the clicked text.  The search
windows behave just like the song windows.

Button 3 clicking on the single words song,
album, artist, composer, and genre shows lists
of the given category.

This is an intimidating amount of explanation.
Just try it.  

Enjoy.

'

--- README
This directory contains a collection of tools that
implement a music player for acme(1).  

Install on a plan9port system with

	mk install

Before running Juke, index your song files:

	mkdir -p $HOME/lib/jukedb
	jukeindex *.mp3 *.m4a

(replace the wildcards with real paths to your sound files).

Once you have indexed your songs, run Juke, which will
create an acme window named /juke/ that contains instructions
on using the browser.

There are two shell scripts you may need to customize to
your system: jukeinfo and jukeplay.  Jukeinfo is invoked by
jukeindex for each file name you specify.  It is expected to
print information about the music file, probably by invoking
a helper program like mp3info or m4ainfo.  See those programs
for the output format and field list.  Jukeplay is invoked to 
play the named file.  It must write the decoded audio to 
standard output, *not* to the audio device.  The audio must
be 44100 Hz, 16-bit stereo PCM.  

Jukeinfo and jukeplay can handle MP3 and MP4 files with
extensions .mp3 and .m4a respectively.  Jukeinfo uses two
supplied programs mp3info and m4ainfo.  Jukeplay uses
mpg123 and faad.  It contains a workaround for a faad bug.
If the bug is ever fixed, remove the echo -n xxx.

Note that the programs cannot handle .m4p like you download
from iTunes, though the Windows program iOpener can turn
these into .m4a files.

The juke C programs never actually access the files,
so there's no need for them to be files at all.  You could
imagine changing jukeinfo and jukeplay to take URLs and
access files on a remote web server, and everything should
just work out.  I haven't tried this, but it seems like a 
neat idea.

There is also a standalone program "volume" included
that gives more detailed mixer access than Juke.

Comments and problems to Russ Cox <rsc@swtch.com>.

================================

The pieces of the player you shouldn't need to touch are:

Juke
	Shell script that starts ajuke after sanity-checking environment.

ajuke
	The program that talks to acme.  It manages all the windows
	named /juke/* and uses the following helper programs to
	make the windows useful.

jukeget name
	Print the contents for a new window named name.
	Window names are:

		/juke/ - the playlist
		/juke/song/ - the list of songs
		/juke/song/n - song #n

	And also album, artist, composer, and genre, list in place of song.

jukesearch pattern
	Print the contents for a search window searching for pattern.

jukeput name
	Write standard input to the file for the window named name.
	Only the playlist /juke/ and the sublists /juke/list/* can
	be written.

jukefmt id
	Tab "song/n Title" lines so that they line up using the
	acme font in the window with the given id.

jukesongfile nnn
	Print the name of the song numbered nnn.

The audio back end for volume and ajuke is system-specific,
and only Linux is implemented.  If you add support for another
system, please mail it to me so I can include it.

---


^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2005-05-07 12:57 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-04  2:01 [9fans] playing music (was RSA) YAMANASHI Takeshi
2005-02-04  9:33 ` C H Forsyth
  -- strict thread matches above, loose matches on Subject: below --
2004-11-06 22:13 [9fans] RSA + OAEP padding andrey mirtchovski
2004-11-06 22:37 ` Axel Belinfante
2004-11-06 22:56   ` Russ Cox
2005-01-31  7:03     ` [9fans] playing music (was RSA) Russ Cox
2005-01-31  7:59       ` Kenji Okamoto
2005-01-31  8:05         ` Russ Cox
2005-01-31  8:08           ` Kenji Okamoto
2005-01-31  8:32             ` Russ Cox
2005-01-31  8:41               ` Kenji Okamoto
2005-01-31 11:01               ` Axel Belinfante
2005-01-31 17:59                 ` Russ Cox
2005-01-31 20:07                   ` Tim Newsham
2005-01-31 20:21                     ` Russ Cox
2005-01-31 20:30                     ` rog
2005-01-31 14:45               ` Sape Mullender
2005-01-31 10:56       ` Axel Belinfante
2005-02-02  9:18         ` Kenji Okamoto
2005-02-03  7:54           ` Kenji Okamoto
2005-02-03  8:00             ` boyd, rounin
2005-02-03  9:06               ` Kenji Okamoto
2005-02-03  9:16                 ` boyd, rounin
2005-02-03 15:28             ` Sape Mullender
2005-02-04  1:08               ` Kenji Okamoto
2005-02-04  1:17                 ` boyd, rounin
2005-02-04  1:20                   ` Kenji Okamoto
2005-02-04  1:24                     ` boyd, rounin
2005-02-04  1:27                       ` Kenji Okamoto
2005-02-04  1:36                         ` boyd, rounin
2005-05-07  8:59                           ` Ralph Corderoy
2005-05-07 12:57                             ` Russ Cox
2005-02-04  9:59                       ` Steve Simon
2005-02-04  1:19                 ` boyd, rounin
2005-02-04  1:22                 ` bs
2005-02-04 13:24                 ` Sape Mullender
2005-02-07  2:35                   ` Kenji Okamoto
2005-01-31 16:28       ` rog
2005-01-31 17:18         ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).