Re: [Alsa-devel] Easy question: ppq and tempo

2002-05-31 Thread Gerald Grabner
Hi, last week I asked about the meaning of ppq - thanks a lot so far for all the answers! Now I have a related question, namely about tempo: If I set ppq to 1, then tempo should be the duration of a quarter note in microseconds, right? But there seems to be a factor of about 100 between this and

Re: [Alsa-devel] Easy question: ppq and tempo

2002-05-24 Thread Frank van de Pol
I don't want to spoil the party, but PPQ is indeed parts per quarter note and is used to specify the desired resoluting for the sequencer timing grid. Let me explain: If the sequencer is set to eg. 4 PPQ this means that a quarter note devided in 4 parts, actually being 16th notes in 4/4 meter.

Re: [Alsa-devel] Easy question: ppq and tempo

2002-05-24 Thread Richard Bown
Paul Davis wrote: > "ppq" stands for "parts per quarter". Rather boringly I was under the impression it was "pulses per quarter note" and that's why you sometimes see it as PPQN as well as PPQ. Sorry. R -- http://www.all-day-breakfast.com/rosegarden http://www.bownie.com _

Re: [Alsa-devel] Easy question: ppq and tempo

2002-05-24 Thread Paul Davis
>>"ppq" stands for "parts per quarter". as the header file suggests >>without much explanation, its length of a quarter note expressed in >>clock ticks. if the meter is 4/4 and the tempo is 120bpm, then a >>quarter note lasts 0.5 seconds. if the clock used for timing ticks 100 >>times per second,

Re: [Alsa-devel] Easy question: ppq and tempo

2002-05-24 Thread Paul Davis
>>I'm just starting to write my first alsa-lib midi applications. I'm >>wondering what the acronym ppq stands for and what it means (especially >>in relation to tempo). Unfortunately, I didn't find any docu on the >>topic of tempo. > int ppq; /* time resolution, ticks/quarter */ [ ...

Re: [Alsa-devel] Easy question: ppq and tempo

2002-05-24 Thread Tim Goetze
Paul Davis wrote: >>>I'm just starting to write my first alsa-lib midi applications. I'm >>>wondering what the acronym ppq stands for and what it means (especially >>>in relation to tempo). Unfortunately, I didn't find any docu on the >>>topic of tempo. > >> int ppq; /* time resolution,

Re: [Alsa-devel] Easy question: ppq and tempo

2002-05-24 Thread Tim Goetze
Gerald Grabner wrote: >Hi, > >I'm just starting to write my first alsa-lib midi applications. I'm >wondering what the acronym ppq stands for and what it means (especially >in relation to tempo). Unfortunately, I didn't find any docu on the >topic of tempo. from : /* queue tempo */ struct snd

[Alsa-devel] Easy question: ppq and tempo

2002-05-24 Thread Gerald Grabner
Hi, I'm just starting to write my first alsa-lib midi applications. I'm wondering what the acronym ppq stands for and what it means (especially in relation to tempo). Unfortunately, I didn't find any docu on the topic of tempo. Thanks for your help, Gerald __