lilypond-user
[Top][All Lists]
Advanced

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

Re: MIDI tick resolution


From: Gilberto Agostinho
Subject: Re: MIDI tick resolution
Date: Wed, 21 Mar 2018 07:40:21 -0700 (MST)

Hi Karl, thanks for your reply!


Karl Hammar wrote
> The technical limitation of midi file format is that the tick is a
> 15bit quantity, i.e. the maximum value is 2^15-1 = 32767.
> 
> [...]
> 
> So you can't get 128*9*5*7 = 40320, but 64*9*5*7 = 20160 is possible,
> and if you really need 128*9*5*7*11 or whatever, then you either need
> to choose a format other than midi

The only issue of going overboard with that value is that some DAWs might
then complain when opening these files (I never tried importing a .mid file
with larger PPQ than REAPER's default to see what happens though). REAPER's
default of 960 is a quite reasonable value: 3 × 5 × 64. This way, triplets
and quintuplets and all note down to a 64th-note can be exactly represented,
and everything else has a quite fine grid to be adjusted to. I've also read
here that Cubase handles anything from 24 to 960 (source:
https://steinberg.help/cubase_elements_le_ai/v9.5/en/cubase_nuendo/topics/track_handling/track_handling_export_options_for_midi_files_r.html
)
 

Karl Hammar wrote
> Perhaps we should call the value Midi_division or something similar. 

The terminology I find the most is Pulses Per Quarter Note (PPQN),Pulses Per
Quarter (PPQ) and Ticks Per Quarter Note (TPQN). I am surprised this is not
on the official specifications as it's what most DAWs use. 

Cheers,
Gilberto



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html



reply via email to

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