lilypond-user
[Top][All Lists]
Advanced

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

Re: Exporting quarter tones to midi?


From: David Kastrup
Subject: Re: Exporting quarter tones to midi?
Date: Fri, 03 Jul 2015 16:02:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Avner Dorman <address@hidden> writes:

> Hi Everyone,
>
> Is there a way to export quarter tone information to midi?

Uh, just do it?

\score {
  { c4 cih cis cisih d1 }
  \midi { }
}
produces

Attachment: quart.midi
Description: MIDI audio

here.  Which sounds just like I'd expect.

lilymidi --pretty outputs
Filename:     quart.midi
MIDI format:  1 (one or more simultaneous tracks)
Divisions:    1536 per whole note
#Tracks:      2

Track 1:
    Time 0:
        Track name: control track
        Text:       creator: 
        Text:       GNU LilyPond 2.19.22          
        Time signature: 4/4, metronome 3/16
        Tempo:      1000000 msec/quarter
        End of Track

Track 2:
    Time 0:
        Track name: \new:
        Control mode change: 0, 7100
        Note on: Channel 0, C3(48)
    Time 384: 
        Note off: Channel 0, C3(48)
        Unrecognized MIDI event: (224, 0, 80)
        Note on: Channel 0, C3(48)
    Time 768: 
        Note off: Channel 0, C3(48)
        Unrecognized MIDI event: (224, 0, 64)
        Note on: Channel 0, Cis3(49)
    Time 1152: 
        Note off: Channel 0, Cis3(49)
        Unrecognized MIDI event: (224, 0, 48)
        Note on: Channel 0, D3(50)
    Time 1536: 
        Note off: Channel 0, D3(50)
        Unrecognized MIDI event: (224, 0, 64)
        Note on: Channel 0, D3(50)
    Time 3072: 
        Note off: Channel 0, D3(50)
        End of Track

And I would assume that the "Unrecognized MIDI event" messages are
tuning events.  64 would tune to point, 80 would tune 1/4 sharp, 48
would tune 1/4 flat.

-- 
David Kastrup

reply via email to

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