On Mon, Feb 20, 2006 at 09:33:56AM +0000, Pooly wrote: > But can I generate a midi file with it ? (I don't want to print it, > just listen to it )
Yes, here's an example: (try to get a 2.6 version, I am on Debian testing. I am not sure about chords, or complex stuff) \version "2.6.3" \header { composer = "" piece = "Raspberry Jam" dedication = "For Molly Daly" } melody = \relative c' { \clef treble \key g \major \time 6/8 \repeat volta 2 { %TUNE_START b'8 d8 d8 d8 b8 d8 \bar "|" e8 fis8 g8 d8 b8 g8 \bar "|" c8 b8 a8 b8 a8 g8 \bar "|" a8 g8 e8 g8 e8 d8 \bar "|" g8 d'8 d8 d8 b8 d8 \bar "|" e8 fis8 g8 d8 b8 g8 \bar "|" c8 b8 a8 b8 a8 g8 \bar "|" d8 g8 fis8 g4. \bar "|" } \repeat volta 2 { d'8 e8 fis8 g8 d8 b8 \bar "|" g'8 d8 b8 g'8 d8 b8 \bar "|" d8 e8 fis8 g8 d8 b8 \bar "|" c8 a8 a8 a4. \bar "|" g8 d'8 d8 d8 b8 d8 \bar "|" e8 fis8 g8 d8 b8 g8 \bar "|" c8 b8 a8 b8 a8 g8 \bar "|" d8 g8 fis8 g4. } % TUNE_END } \score { \new Staff \melody \layout { } \midi { \tempo 4=60 } %%%%%%%%%%%%% MIDI FILE %%%%%%%%%%%%% } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]