[linux-audio-user] various questions (long)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> For example, say I have a loop of some recorded drums at 120 BPM.  I would 
> like to know exactly how long the audio sample must be to match 120BPM, 
> rather then trial and error.

this is really easy. i would not even call this math ;-)

with samplerate R, 1 sec = R samples
at x BPM, 1 min = 60 sec = x beats. so the duration of 1 beat = 60/x sec

combined: 1 beat = R*60/x samples.

so at 120 BPM, 44100 Hz, 1 beat == 22050 samples. but you probably want your
loops to be 4 beats, so 88200 samples.

maarten


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux