Re: How to implement BPM in a sequencer?
Re: How to implement BPM in a sequencer?
- Subject: Re: How to implement BPM in a sequencer?
- From: Bill Stewart <email@hidden>
- Date: Thu, 13 Feb 2003 23:45:27 -0800
Peter,
The answer I posted below describes the basic theory of how the player
works - but this is a general description of how this stuff in general
works. It isn't a simple matter to explain or to implement for that
matter.
Bill
On Thursday, February 13, 2003, at 11:30 PM, Vigour Vigour wrote:
I do not want to use MusicPlayer at this moment. I just wants to know
how I implement a BPM function (so I can change the tempo from 1-300)
in my Sequencer. There is a theory behind it but I don't get it so I'm
asking for help to explain this theory in a simple way.
Example: I have a sequence recorded and I want to play it back in
another tempo. What calculating of the timestamp is needed to do that?
Or is this maybe the wrong way of doing it?
Best regards Peter
From: Bill Stewart <email@hidden>
To: Vigour Vigour <email@hidden>
CC: email@hidden
Subject: Re: How to implement BPM in a sequencer?
Date: Thu, 13 Feb 2003 12:27:35 -0800
On Thursday, February 13, 2003, at 01:48 AM, Vigour Vigour wrote:
I have looked at the MusicPlayer to figure out how it uses BPM but I
don't get it.
How do I implement a BPM function (without the use of Apple
MusicPlayer) in my MIDI sequencer? I have a EditText box in my
window and I want to have BPM from 1-300, with 120 as defalt.
Use the MusicPlayer:)...
I'm not sure what the question is - BPM is a function of the Tempo
map - and the current tempo determines how many beats per minute a
series of events are being timed at - this in turn (in the case of
the Music Player for instance) determines how the sample based
timeline of the audio device we output to, is translated into a
position in time map (ie. for this sample number, how many seconds
should I be through the sequence, and then what beat does that
translate to - both of those values are determined by what tempo
events you have in the seqeuence) - this is what the music player
and sequence handle for you.
Bill
Best regards Peter
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
-- mailto:email@hidden
tel: +1 408 974 4056
______________________________________________________________________
__ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
______________________________________________________________________
__ __
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.