[gmpi] Re: New Reqs 3.8 - Events

  • From: "Michael Gogins" <gogins@xxxxxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Sat, 20 Dec 2003 09:59:28 -0500

I was assuming some sort of song related time, because I use this in
CsoundVST. I was assuming time in sample frames from when the player pushes
the play button, measured from the beginning of the song as 0.

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
CsoundVST, an extended version of Csound for programming music and sound
Available at http://sourceforge.net/projects/csound/
============================================


----- Original Message ----- 
From: "David Olofson" <david@xxxxxxxxxxx>
To: <gmpi@xxxxxxxxxxxxx>
Sent: Friday, December 19, 2003 2:30 PM
Subject: [gmpi] Re: New Reqs 3.8 - Events


> On Friday 19 December 2003 03.34, Michael Gogins wrote:
> > I think the host would need to know, and the plugins would like to
> > know, the sample frame counting from 0 as start of performance to
> > the first sample frame of the current buffer. Then it would make
> > sense for events to be timestamped as an offset from that value.
> > Adding the two would give the exact time in sample frames of the
> > event counting from start of performance.
>
> Note that you won't be able to count on 0 meaning anything more than
> "the start of something". Hosts that keep audio running at all time
> will simply start counting when you first start the host, and won't
> stop or reset until you restart the host, reinit the audio subsystem
> or something.
>
> Indeed, it doesn't *have* to work like this (a host could use song
> related audio time), but if it doesn't, plugins will have serious
> trouble figuring out correct timestamps for events while the host
> messes with the timestamp counter.
>
>
> //David Olofson - Programmer, Composer, Open Source Advocate
>
> .- Audiality -----------------------------------------------.
> |  Free/Open Source audio engine for games and multimedia.  |
> | MIDI, modular synthesis, real time effects, scripting,... |
> `-----------------------------------> http://audiality.org -'
>    --- http://olofson.net --- http://www.reologica.se ---
>
>
> ----------------------------------------------------------------------
> Generalized Music Plugin Interface (GMPI) public discussion list
> Participation in this list is contingent upon your abiding by the
> following rules:  Please stay on topic.  You are responsible for your own
> words.  Please respect your fellow subscribers.  Please do not
> redistribute anyone else's words without their permission.
>
> Archive: //www.freelists.org/archives/gmpi
> Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe
>


----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: