lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating midi file that is not empty


From: Hwaen Ch'uqi
Subject: Re: Creating midi file that is not empty
Date: Fri, 7 Aug 2020 21:03:45 -0400

Greetings Claire,

Puzzling. I just tried your code, and it worked just fine for me. The
terminal output was:

Playing Claire.midi
MIDI file: Claire.midi
Format: 1  Tracks: 2  Divisions: 384
Sequence:
Text: creator:
Text: GNU LilyPond 2.20.0
Track name: \new:
Playing time: ~5 seconds
Notes cut: 0
Notes lost totally: 0

And, indeed, three quarter note C's were played. It makes me wonder if
the issue hasn't something to do with your midi configuration itself?
Just a thought. I am using timidity for midi playback with the
freepats sound fonts.

Hwaen Ch'uqi


On 8/7/20, Claire Meyer <claire.meyer.bourhis.lilypond@gmail.com> wrote:
> Hi everyone,
>
> I have read the documentation and have gone through the archives of the
> mailing list, and don't understand what I've got wrong. The midi file I
> generate is empty and doesn't contain music. My .ly file is as follows :
>
> \score {
>      {c''4 c'' c''}
>      \layout {}
>      \midi {\context {
>          \Score tempoWholesPerMinute = #(ly:make-moment 120 4)
>          }
>      }
> }
>
> The terminal doesn't give any errors at compilation, and says that :
>
> Requested buffer size 32768, fragment size 8192
> ALSA pcm 'default' set buffer size 32768, period size 8192 bytes
> Playing pianoClarinetUriTzion.midi
> MIDI file: pianoClarinetUriTzion.midi
> Format: 1  Tracks: 2  Divisions: 384
> Sequence:
> Text: creator:
> Text: GNU LilyPond 2.20.0
> Track name: \new:
> No instrument mapped to tone bank 0, program 0 - this instrument will not
> be heard
> No pre-resampling cache hit
> Last 1 MIDI events are ignored
> Playing time: ~4 seconds
> Notes cut: 0
> Notes lost totally: 0
>
> When I try to read my midi file. Can someone help me ?
>
> Thanks in advance,
> Claire
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]