Quantization....Basically your PPQN (Pulse Per Quarter Note) plays a role
here.
imagine this timeline:
!---!---!---!---!---!---!---!---!---!---!---!---!---!---!
For the sake of this example, the ! are the Pulse per quarter notes. say
you have a note that falls here:
!---!---!-*-!---!---!---!---!---!---!---!---!---!---!---!
Basically, you couldn't play that note at that time because it's between
your PPQN resolution. It would bring it either
!---!---*---!---!---!---!---!---!---!---!---!---!---!---!
or
!---!---!---*---!---!---!---!---!---!---!---!---!---!---!
Depending on the deltatime (rounding so to speak to define it it should go
on the PPQN before or after the location of the note.
This basically depends on the PPQN of the software you're making, and also
the PPQN of the MIDI gear you'd play it on...until recently (say before 4
years ago or so), most hardware sequencers did a good job at 96 PPQN. But
with the more demanding music complexity, that PPQN became unreliable. SO
they upped it. for a sound card, doesn't really make a difference...but if
the user of your program has a hardware sequencer, it will be a good idea to
set the software's PPQN to match the resolution of that sequencer so you're
playing with the same resolution.
HOpe this clarifies :-).
----- Original Message -----
From: "Maarten de Vries" <[EMAIL PROTECTED]>
To: "REALbasic NUG" <[email protected]>
Sent: Friday, August 11, 2006 10:30 AM
Subject: Re: MIDI type 1
Ok, I get the division and the tempo event now.. partially... The division
is just the amount of delta time in one quarter note. Then, with the tempo
event you know how long a quarter note should be. The standerd appears to
be
0,5 seconds. But what if the last bit of the division is set. Then it's
suddenly "frames" per second and "subframes". What do they mean?
Thanks,
Maarten
On 10/08/06, Maarten de Vries <[EMAIL PROTECTED]> wrote:
I'll read it.. Thanks
Maarten
On 10/08/06, stephane richard <[EMAIL PROTECTED]> wrote:
>
> I think you'll find your answer in the "timing and formulas" section of
> my
> article:
> http://www.petesqbsite.com/sections/express/issue20/#midiprogramming3
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.9/416 - Release Date: 8/10/2006
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>