From alsa-devel-owner@alsa.jcu.cz  Mon May 11 23:32:13 1998
Received: from altrade.nijmegen.inter.nl.net (altrade.nijmegen.inter.nl.net [193.67.237.6])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id XAA06530
	for <alsa-devel@jcu.cz>; Mon, 11 May 1998 23:32:07 +0200
Received: from obelix.fvdpol.inter.nl.net by altrade.nijmegen.inter.nl.net
	via bd99-17.Breda.NL.net [193.79.246.242] with ESMTP for <alsa-devel@jcu.cz>
	id XAA05317 (8.8.8/3.27); Mon, 11 May 1998 23:32:05 +0200 (MET DST)
Received: (from frank@localhost) by obelix.fvdpol.inter.nl.net (8.8.7/8.7.3) id VAA23878 for alsa-devel@jcu.cz; Mon, 11 May 1998 21:07:53 +0200
From: Frank van de Pol <F.K.W.van.de.Pol@inter.nl.net>
Message-Id: <199805111907.VAA23878@obelix.fvdpol.inter.nl.net>
Subject: Re: New Sequencer core
To: alsa-devel@jcu.cz
Date: Mon, 11 May 1998 21:07:53 +0200 (MET DST)
In-Reply-To: <3.0.3.32.19980510085807.007f9040@mail.vt.edu> from "Alan Robinson" at May 10, 98 08:58:07 am
Content-Type: text
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Alan Robinson wrote:
> 
> >In fact, you are right that there are not many difference between using
> >one or other unit (and we all be probably using ticks finally), but as I
> >said in another posting, ms. is a more general time unit that can be used
> >to synchronize many things that don't have a 'tempo' (like animations, or
> >audio output). Anyway we can always convert one unit to another, but
> >why using a conversion when we can always use the same unit ?
> 
> I think tics are better, for the reasons already explained on this list by

I don't think either is one types is 'best'. It just depends of the use. For
time stamping event with a tempo, the ticks are best, for the 'clock'
related events (in sync with audio/video etc.) the us/ms are best.

> others.  I would like to point out that as long as the length of time of a
> tic is some rational multiplier of a ms. (ie, 1/6), we can very easily
> convert between the two, with no error.  So perhaps the library routines
> should offer an interface for ms and tics, while the driver works with tics
> exclusively.
> 

This will only work fora certain (constant) tempo. The essence of a tick is
that it is a multiple of a beat. With changing tempos the number of beats
per second will change. 

Best is to have the driver support both types. 


Regards,
Frank.

========================---------------->
#define NAME    "Frank van de Pol"     
#define ADDRESS "mgr. Nelislaan 10"  
#define CITY    "4741 AB Hoeven"    
#define COUNTRY "The Netherlands"  
#define EMAIL   "F.K.W.van.de.Pol@inter.NL.net     -o)
                                                   /\\
Linux - Why use Windows, since there is a door?   _\_v

