On 21/11/16 13:51, lilypond-user-requ...@gnu.org wrote:
Message: 5
Date: Mon, 21 Nov 2016 09:42:33 +0100
From: Urs Liska <u...@openlilylib.org>
To: lilypond-user <lilypond-user@gnu.org>
Subject: Pitch bend output in MIDI
Message-ID: <eb9a0759-f7e4-ea5e-9515-80609f3b7...@openlilylib.org>
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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to