## tempo to samples conversion?

Nov 8, 2010 at 11:49pm

# tempo to samples conversion?

I’m using Max as a host and REAPER as a slave right now, and I’m trying use a “position \$1″ message to set the start position in REAPER, but I dont know a proper tempo to samples conversion method.
As an example, if I have REAPER’s tempo set to 60, and I have a song thats 4 beats long and I want to set the song to start on beat 3, what conversion method would I use?

Thanks.

#53209
Nov 9, 2010 at 12:58am

The duration of 1 beat is 60/BPM seconds.
The number of samples per second is defined by the sample rate SR.
So the number of samples per beat is (60/BPM)*SR.

Example: BPM=120, SR=44100.

(60/120)*44100 = 22050 samples per beat.

#191216
Nov 9, 2010 at 12:29pm

Note however that translate doesn’t calculate the samples.
But you can translate beat to ms and then multiply with sample rate (in kHz).

#191218
Nov 9, 2010 at 7:40pm

Oops, my bad! Thanks for clarifying.

#191220

You must be logged in to reply to this topic.