MIDI output: Possible to change PPQ?

2013-12-21 Thread James Harkins
I was just searching, without success, for a way to change the number of 
pulses-per-quarter in MIDI output. The default, 384, handles double 
divisions and triplets, but quintuplets are inexact. I would rather use 480 
for this particular file.


The section in the notation reference on the \midi mentions that it may 
include a \tempo statement, and \context blocks. Web searching wasn't 
helpful either, so I suppose I'm stuck with 384.


How hard would it be to add something like \midipulses 4 = 480? (Is it 
something I could figure out by poking around in the source code?)


hjh

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


Re: MIDI output: Possible to change PPQ?

2013-12-21 Thread Carl Peterson
On Sun, Dec 22, 2013 at 12:47 AM, James Harkins jamshar...@gmail.com wrote:
 I was just searching, without success, for a way to change the number of
 pulses-per-quarter in MIDI output. The default, 384, handles double
 divisions and triplets, but quintuplets are inexact. I would rather use 480
 for this particular file.

Am I missing something, since 384 / 4 = 96?

Carl P.

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


Re: MIDI output: Possible to change PPQ?

2013-12-21 Thread Carl Peterson
On Sun, Dec 22, 2013 at 12:58 AM, Carl Peterson carlopeter...@gmail.com wrote:
 On Sun, Dec 22, 2013 at 12:47 AM, James Harkins jamshar...@gmail.com wrote:
 I was just searching, without success, for a way to change the number of
 pulses-per-quarter in MIDI output. The default, 384, handles double
 divisions and triplets, but quintuplets are inexact. I would rather use 480
 for this particular file.

 Am I missing something, since 384 / 4 = 96?

 Carl P.

Apparently I am, since quint = 1/5. Ignore my ramblings. It's 1AM here.

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