Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 04-29-2021, 01:14 AM   #1
SteveK_Germany
Human being with feelings
 
Join Date: Dec 2019
Posts: 28
Default How does Reaper recognize the speed (BPM) of an audio file when importing?

I wonder how Reaper recognizes BPM of a WAV file when you import it on a track? I really love this feature, that it asks for adapting the speed to your song. This is sooo helpful!

This works fine for sample libraries I bought. However, when I try to import some of my own WAV files it seems like Reaper does not recognice any BPM. I typically use the bpm in the filename.

i.e.:
'athmosound 120 BPM Gmin.wav'

I tried different writings, i.e. 120bpm 120 bpm 120BPM - but it seems like Reaper does not read this. In some cases it works but I did not get the logic behind that. For the thirdparty library files - they sometimes only tag '_140' in the filename and then Reaper recocnizes the speed. So I asume its a kind of internal tagging in the WAV file.

So what kind of editor should I use for that? What is recognized by Reaper?
SteveK_Germany is offline   Reply With Quote
Old 04-29-2021, 03:15 AM   #2
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,205
Default

In the Instant Traks script there is a function that reads the filename then sets the bpm of the item, you could modify it to read whatever format you like.

Reaper should read the bpm in the name, see pic below file naming:



Import Settings:



Manually set item tempo:




There is also an Acidizer here https://forum.cockos.com/showthread.php?t=245940
to set the tempo of samples without bmp info.




..
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com

Last edited by MusoBob; 04-29-2021 at 03:23 AM.
MusoBob is offline   Reply With Quote
Old 05-04-2021, 02:51 AM   #3
SteveK_Germany
Human being with feelings
 
Join Date: Dec 2019
Posts: 28
Default Setting BPM in a WAV file

Maybe my first post was misleading. I do not want to change the tempo of an item in Reaper (I know this feature by pressing F2).

I want to understand how Reaper reads the tempo from external WAV files.
When I import a WAV file, Reaper prompts: "Ignore tempo used by media?"

So my question is: how does reaper know the BPM of this WAV file? In the Option settings it states "Media with embedded tempo". So I asume there must be some embedded BPM (Exif?) info in the WAV file. When I just write "120 BPM" in the filename then Reaper does not recognize this info.

To state it clearly: Just renaming the WAV file to "MyLoop 120bpm.wav" does not work!!!
So my question is: what kind of embedded info is Reaper reading and what tool do I need to write this info to a WAV file.

- On the other hand I have WAV files that seem to have no metadata included (at least Wavelab does not show them) but still Reaper recognizes the correct BPM and asks to adapt the speed to my song. So this is very strange.

Can some Reaper programmer explain the magic behind that?

Last edited by SteveK_Germany; 05-04-2021 at 02:56 AM.
SteveK_Germany is offline   Reply With Quote
Old 05-04-2021, 03:09 AM   #4
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,205
Default

There are 3 ways that I know of
Set it manually
Reaper will read the embedded tempo (ACID)
Reaper will read it from the filename
Piano, Upright, Melody Rhythm Pop 01 Ev 4-4 80bpm A#-Gm.wav

If there is other embedded tempo in a file other that the acid byte I don't know about that


This is how it works for me:
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com

Last edited by MusoBob; 05-04-2021 at 03:18 AM.
MusoBob is offline   Reply With Quote
Old 05-04-2021, 03:27 AM   #5
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,205
Default

This is what I get if I take the 80bpm out of the filename:

__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
MusoBob is offline   Reply With Quote
Old 05-04-2021, 02:57 PM   #6
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,205
Default

Here's some more info
https://forums.cockos.com/showthread.php?t=228619
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
MusoBob is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.