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,643
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
STASH Downloads https://stash.reaper.fm/u/ReaTrak

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,643
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
STASH Downloads https://stash.reaper.fm/u/ReaTrak

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,643
Default

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

__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
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,643
Default

Here's some more info
https://forums.cockos.com/showthread.php?t=228619
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob is offline   Reply With Quote
Old 09-27-2022, 01:39 AM   #7
ARPsyn
Human being with feelings
 
Join Date: Jul 2021
Posts: 3
Default

In Logic (ver 10.4.7) I can write the tempo changes from the tempo track into a .wav file. (Right click on the audio file then select TEMPO -> WRITE PROJECT TEMPO TO AUDIO FILE). This increases the size of the audio file and the timestamp is updated.

When I use the Reaper (ver 6.36) pulldown menu INSERT -> MEDIA FILE... to import that .wav file with tempo information from Logic, I see Reaper displays dotted lines where tempo changes occur in the file waveform overview (see screenshot). I compared the Reaper file overview with the tempo track in the Logic project and all the tempo changes are visible in the Reaper file overview.

But I don't see a way to get Reaper to automatically use the tempo information in the .wav file to update the tempo of the Reaper project. Please let me know if I am missing something.

BTW - Also tried importing the .wav file into Cubase Pro 12, and it looks like Cubase does not read or display the .wav file tempo data. Neither did tempo detection work in Cubase. (The tempo changes are not on any specific beat or predictable time division).
Attached Images
File Type: jpg reaper_tempo_changes_in_wav_file.jpg (186.8 KB, 36 views)

Last edited by ARPsyn; 09-27-2022 at 02:00 AM. Reason: re-try screenshot upload
ARPsyn 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 12:35 AM.


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