Newsgroups: gmane.linux.debian.user Date: Mon, 20 Feb 2006 08:36:51 +0000
> > I'm trying to create some midi file. I'm using etch. [snip] > > If anyone has suggestion, they warmly welcome ! > Hi, > I'd second rosegarden
Nah, after years of struggling with NWC, abc, Noteedit, Rosegarden etc, I gave up and swung over to Lilypond. It does things the Linux way. Super.
Joe
> 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 %%%%%%%%%%%%% } }
Joe