Hi, how can i convert bpm events into time values? i need to fill a table with time values from a specific bpm
any idea how to achieve this?
cheers
R.
On 19/09/12 01:43, ronni montoya wrote:
Hi, how can i convert bpm events into time values? i need to fill a table with time values from a specific bpm
any idea how to achieve this?
BPM is beats per minute, so for example:
60 bpm means 60 beats in 1 minute, 1 beat per second
120 bpm is 120 beats in a minute, 2 per second, or better one every 0.5 seconds
Generalising:
seconds = 60 / bpm
Or also (probably more useful in Pd related stuff)
milliseconds = 60000 / bpm
Lorenzo. PS: see attached patch for a simple implementation I've often used ;)
cheers
R.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Is your question about how to convert from BPM to time between beats?
The formula is this:
period = 1 / frequency
In Pd, you probably want to have the period to be in ms (milliseconds). So the formula is this:
time_between_beats = 60000 / BPM | 1 minute in ms
In Pd, this would look like this:
[120 \ <- numberbox | [60000 $1( | [/ ] | [500 \ <- numberbox
Roman
On Wed, 2012-09-19 at 02:43 +0200, ronni montoya wrote:
Hi, how can i convert bpm events into time values? i need to fill a table with time values from a specific bpm
any idea how to achieve this?
cheers
R.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list