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 <sound/asequencer.h>:

/* queue tempo */
struct sndrv_seq_queue_tempo {
  int queue;      /* sequencer queue */
  unsigned int tempo;   /* current tempo, us/tick */
  int ppq;      /* time resolution, ticks/quarter */
  unsigned int skew_value;  /* queue skew */
  unsigned int skew_base;   /* queue skew base */
  char reserved[24];    /* for the future */
};

the value is usually synonymous to the 'division' of a standard midi
file. 

tim


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to