Symbolische Kodierung von Musikwissenschaftliches Institut Hamburg WS 200506
Symbolische Kodierung von Musikwissenschaftliches Institut Hamburg WS 2005/06 Klaus Frieler
Symbolische Kodierung von Musik Inhalt 1. 2. 3. 4. 5. Einführung Es. AC (Essener Assoziativ Code) Humdrum und **kern Melody. CSV Das MIDI-Dateiformat
Symbolische Kodierung von Musik Einführung n n Symbolisch bedeutet: Musik wird kodiert auf Abstraktionsebene des Notentextes Zentrale Elemente stets: Tonhöhen-, Dauern-, und Metrische Information Unterschiedlichste Formate mit verschiedenen Schwerpunkten (Analytisch-, Grafisch-, Klangorientiert) Jedes Format hat seine Vor- und Nachteile
Symbolische Kodierung von Musik Einführung n Auszug aus dem Inhaltsverzeichnis „Beyond MIDI“ n n n n MIDI (Nota. MIDI, Expressive MIDI, MIDIPlus, Augmented MIDI) Csound, Music Macro Langanuage, Ne. XT Score. File, Radio Baton Conductor Score File DARMS (Noteprocessor, A-R), Common Music Notation, Mu. Te. X, Music. Te. X, Musi. XTe. X, Guido Philip‘s Music Scribe, SCORE, LIME Tilia, Nightingale, Es. AC, Plaine and Easie Code, Humdrum and **kern, Muse. Data Hytime, SMDL, NIFF Und dann noch n n Music. XML, Finale prop. MSCV I/II Melisma‘s Notes U. e. m
Symbolische Kodierung von Musik Essener Assoziativ Code (Es. AC) n n n Ende der 70 er von Helmut Schaffrath in Essen zur Kodierung von Volksmusik entwickelt. Es gibt derzeit etwa 6000 Volkslieder im Es. AC Format. Link: http: //www. esac-data. org Feature: 1. 2. 3. 4. 5. Nur monophon Tonart, metrisch basiert Phrasen sind mitkodiert Leicht zu lernen und zu lesen Flexible Metainformationen
Symbolische Kodierung von Musik Es. AC – Aufbau eines Datensatzes KOLBERG (Es. AC- Sammlung) CUT[Titel] REG[Region] TRD[Quelle: Sammlung, Buch, Audio etc. ] KEY[K 0025 t 16 A 3/4 ] --------------- Signaturzeile MEL[5_. 53__1__ -7_-5_-7_2_4__ ------ Phrase einer Melodie 6__4__2_-7_ 1_. 13_+1_5__ //] FKT[Funktion- Tanz, Wiegenlied, Liebeslieb, Ballade etc. ] BEM[Bemerkungen] TXT[Text]
Symbolische Kodierung von Musik Es. AC – Signaturzeile KEY[K 0025 t 16 A 3/4] n „K 0025 t“: Signatur (Es. AC-DB eindeutig!) n „ 16“: Kleinste rhythmische Einheit (16 tel) n „A“: Tonart. (Nur Dur) n „ 3/4“: Metrum („Frei“ auch möglich, sowie Taktwechsel)
Symbolische Kodierung von Musik Es. AC – Kodierung von Melodien MEL[5_. 53__1__ -7_-5_-7_2_4__ 6__4__2_-7_ 1_. 13_+1_5__ //] n Tonhöhe: n n Dauern n Tonhöhen werden als Stufe der Tonart angeben; Anhängen von „b“‘s zur Erniedrigung, Anhängen von „#“‘s zu Erhöhung. Voranstellen von „+“ und „-“ gibt höhere oder tiefere Oktaven an. Übergebundene Noten werden durch das ‚^‘-Zeichen dargestellt, Pausen durch 0 Eine einzelne Ziffer ist eine kleinste Einheit lang Jeder Unterstrich verlängert die Dauer auf das Doppelte, jeder Punkte um die Hälfte (oder wie in CMN? ) Form n Takte sind durch Leerzeichen, Phrasen durch Zeilenwechsel getrennt, Ende der Melodie indiziert durch „//]“
Symbolische Kodierung von Musik Humdrum und **kern n n n Ende der 80 er von David Huron entwickelt. Humdrum Syntax und Humdrum Toolkit Alles dazu hier: http: //dactyl. som. ohiostate. edu/Humdrum/ Menschenlesbare ASCII-Dateien. Toolkit basiert auf Awk und Standard Unixtools Toolkit sehr flexibel aber erfordert einiges an Einarbeitungszeit, da sehr ‚Unixisch‘ im Ansatz und nur auf der Kommandozeile (Shell)
Symbolische Kodierung von Musik Humdrum und **kern n Zeilen repräsentieren den Fluss der Zeit. In Tabulator-getrennte Spalten (Spines) sind gleichzeitige Ereignisse (evtl. leer. ) Es gibt: 1. 2. 3. n n Kommentarzeilen (inkl. Metainformationen) Interpretationszeilen Datenzeilen Eine Interpretationen gibt die Bedeutung der folgenden Datenzeilen in dieser Spalte an. **kern Interpretation zur Kodierung von Musik
Symbolische Kodierung von Musik **kern - Beispiel 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. !!!OTL: Well Sold the Cow **kern *clef. G 2 *k[b-e-a-] *B-: *M 6/8 *MM 120 {8 b=1 4. b 4 f. =2 4. a 4 g 8 f *- ---------------------------------------------- Titel **kern Interpretation Violinschlüssel Vorzeichen(3 b‘s) Tonart: Bb-Dur 6/8 -Takt Tempo 120 bpm Achtelnote Bb, Phrasenbeginn Hier beginnt Takt 1 Punktierte Viertel Bb Viertel F Nichts (Nulltoken) Takt 2 (etc. ) ---- Ende des Spines
Symbolische Kodierung von Musik Die Music. CSV 1 und 2 Formate n n Entwickelt 2003 -2005 von Frieler&Müllensiefen Basiert auf dem CSV-Format (Comma-Separated Values), lesbar mit Excel und SPSS und anderen Standardanwendungen (und unseren eigenen…) Konvertierung zu/von Es. AC, MIDI, Melisma Features: 1. 2. 3. 4. Monophon (noch) Flexibel erweiterbar Explizite Kodierung von Onsets Einfach
Symbolische Kodierung von Musik Music. CSV 2 - Beispiel #name=Das letzte Stuendlein #esacid=A 0659 A #fileid={97779 DDE-7817 -4327 -A 969 -2 B 8 C 14 A 933 BC} #signature=4/2 #division=480 #timeunit=s #separator=semicolon #floatformat=comma #polyphonic=false ##This is not a stupid commentary onset; onsetics; bar; beat; ticks; pitch; durs; durtic; dur 16; 0, 0000; 0; 1; 1; 0; 65; 2, 0000; 960; 4; 2, 0000; 960; 1; 3; 0; 60; 1, 0000; 480; 2; 3, 0000; 1440; 1; 4; 0; 62; 1, 0000; 480; 2; 4, 0000; 1920; 2; 1; 0; 64; 1, 0000; 480; 2; 5, 0000; 2400; 2; 2; 0; 65; 1, 0000; 480; 2; 6, 0000; 2880; 2; 3; 0; 67; 1, 0000; 480; 2; 7, 0000; 3360; 2; 4; 0; 69; 1, 0000; 480; 2;
Symbolische Kodierung von Musik MIDI – Überblick n MIDI (= Musical Instrument Digital Interface) ist vor allem 2 Dinge: n n n Protokoll zur Kommunikation von Rechner und digitalen Musikinstrument. Datenformat Entwickelt von 1982 -1988 Quasi-(Industrie)-Standard Binäres Format (symbolisch aber nicht textbasiert) Ereignisbasiertes Protokoll
Symbolische Kodierung von Musik Das Standard MIDI –Dateiformat (SMF 1. 0) Drei Typen: Formate 0, 1, 2 n Format 0: Eine Spur, monophon n Format 1: Mehrere koordinierte Spuren, polyphon n Format 2: Mehrere unabhängige Spuren, ‚heteropolyphon‘ n n In der musikalischen Praxis meist Formate 0 und 1.
Symbolische Kodierung von Musik Das Standard MIDI –Dateiformat (SMF 1. 0) Eine S-MIDI-Datei ist eine Folge von 8 -bit Bytes („Bytewurst“) n Jede SMD hat zwei Typen von Chunks: Einen Headerchunk und einen oder mehrere Trackchunks n Der Header hat 14 Bytes und folgenden Aufbau: n <Chunk. Type><Header. Length><Format><Ntrks><Division>
Symbolische Kodierung von Musik SMF 1. 0: Header Chunk Beispiel 4 d 54 68 64 00 00 00 06 00 01 00 02 0 C 00 <Chunk. Type>: MThd (ASCII) n <Header. Length>: 0 x 00000006 = 6 Bytes n <Format>: 0 x 0001 = Format 1 n <Ntrks>: 0 x 0002 = 2 Tracks n <Division>: 0 x 0 C 00 = 3072 ticks per beat n
Symbolische Kodierung von Musik SMF 1. 0: Track Chunk n Track Chunks haben folgenden Aufbau: <Chunk. Type><Track. Length><MTrk Events> n n n <Chunk. Type> immer MTrk, <Track. Length> 4 Bytes (d. h. max. 4 MB pro Track) Drei Sorten von Events: 1. 2. 3. MIDI-Events (vor allem Notenereignisse) Meta-Events (z. B. Taktwechsel, Trackname) System-Exclusive Events (Spezielle Geräte- Kommunikation herstellerabhängig!)
Symbolische Kodierung von Musik SMF 1. 0: Events n Eventformat: <Delta Time><Statusbyte><Datenbytes> n n n Statusbytes haben stets das 8. Bit. (D. h. >127) Oberes Nibble (4 -bit) des Statusbytes identifiziert den Befehl, unteres Nibble gibt den MIDI-Kanal an (16 mögliche Kanäle). Datenbytes haben das 8. Bit nie gesetzt (d. h. Werte <128)
Symbolische Kodierung von Musik SMF 1. 0: Typische MIDI-Nachricht
Symbolische Kodierung von Musik SMF 1. 0: Note Events n Note-Events Format: <Delta. Time><Note. On/Off+Channel><Pitch><Velocity> n n <Delta. Time>: 1 -4 Bytes, die Ticks seit dem letzten Ereignis angeben. Variable Länge um Speicher zu sparen. (7 -bit Stream) <Note. On. Off & Channel>: 1. 2. 3. Note. On (oberes Nibble) = 0 x 9 Note. Off (oberes Nibble) = 0 x 8 Channel (unteres Nibble) = 0 x 0 - 0 x. F
Symbolische Kodierung von Musik SMF 1. 0: Note Events n <Pitch>: 1 Byte, 7 -bits genutzt, d. h. Werte 0127, 0 x 00 -0 x 7 F n n n Das mittlere C (‚c‘, C 4) ist der Zahl 60 zugeordnet. Dann nach oben und unten in (100 Cent)-Halbtönen. Z. B. c‘‘ = 60 +12 = 72 Tiefster Ton: Subsubsubkontra C (=0), Höchster Ton: g‘‘‘‘‘‘ (= 127) <Velocity>: Anschlagstärke, (Werte 0 -127, 0 x 00 -0 x 7 F), 1 = ppp, 64 = mp, 127 = fff, 0 = Note off
Symbolische Kodierung von Musik SMF 1. 0: Track Chunk Beispiel 4 d 54 72 6 B MTrk 00 00 00 44 0 x 000044 = 44 Bytes 00 90 43 50 0 Ticks, Note. On, Pitch 67 (G 4), Vel: 80 8 C 00 43 00 00 45 50 3072 Ticks, Note. On, Pitch 67 (G 4), Vel: 0 0 Ticks, Note. On, Pitch 69 (A 4), Vel: 80 8 C 00 45 00 usw. . . 3072 Ticks, Note. On, Pitch 69 (A 4), Vel: 0
Symbolische Kodierung von Musik Weiterführende Literatur n n n Andre Ruschkowski, „Elektronische Klänge und musikalische Entdeckungen“, Reclam, Stuttgart, 1998 „Beyond MIDI“, E. Selfridge-Field (Hrg. ); The MIT Press, 1997 Martin Supper, „Elektroakustische Musik und Computermusik“, Wissenschaftliche Buchgesellschaft, Darmstadt, 1997 Philipp Ackermann, „Computer und Musik“, Springer Verlag, Wien, 1991 „Tutorial on MIDI and Music Synthesis“: http: //www. harmony-central. com/MIDI/Doc/tutorial. html „MIDIÜbersicht“: http: //home. snafu. de/sicpaul/midiy. htm
- Slides: 24