lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond-user Digest, Vol 168, Issue 174


From: Graham Breed
Subject: Re: lilypond-user Digest, Vol 168, Issue 174
Date: Mon, 21 Nov 2016 20:08:33 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0

On 21/11/16 13:51, address@hidden wrote:
Message: 5
Date: Mon, 21 Nov 2016 09:42:33 +0100
From: Urs Liska <address@hidden>
To: lilypond-user <address@hidden>
Subject: Pitch bend output in MIDI
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8

Hi,

I want to use Pitch Bend to detune the output in MIDI files. The NR
states that pitch bend is supported but doesn't give any information how
it is applied.

Apart from that I've only found this LSR snippet
http://lsr.di.unimi.it/LSR/Snippet?id=785 but I must admit I don't
really understand where and how the pitch bend is actually produced.

What I need is to apply it within a music function that returns a note,
and this should apply the detuning.

Any hints appreciated.

The pitch bend bends a pitch from equal temperament to the pitch specified in Lilypond. It adds a pitch bend before the note on, and resets to zero pitch bend after the note off.

There's a script here that convert's the pitch bends into MIDI Tuning Standard messages that work polyphonically with Timidity:

http://x31eq.com/lilypond/addmts.py3

If you want to detune a note, you need to set a pitch that's different to equal temperament. You probably know the Lilypond pitch system, but anyway, it's explained here:

http://x31eq.com/lilypond/


The latest code for just intonation is at https://bitbucket.org/x31eq/microlily


             Graham



reply via email to

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