View Single Post
Old 12-06-2019, 02:15 PM   #12
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,031
Default

Another additional technique could be using analysis tools which can detect measures, thus the tempo on that level. Check Sonic Visualiser with its vamp plugins, or its command line brother Sonic Annotator. And this command line brother you could trigger via python actions, after you found the working command. Reaper is perfectly designed for any command line use case, as action.

One quick example for linux, for chord detection not tempo detection, for win and mac, it should work similarly:
PHP Code:
sonic-annotator -d vamp:nnls-chroma:chordino:simplechord -w csv song.mp3 
... and you get a csv file which looks something like:
PHP Code:
0.000000000,"N"
0.046439909,"E"
1.068117914,"Cmaj7"
1.718276644,"B"
2.368435374,"C"
3.018594104,"Em"
6.594467120,"C"
7.105306122,"Em"
10.727619048,"C"
11.331337868,"Em"
... 
For automatic midi tempo mapping via command line there is another much better tool, working perfectly, Midi Optimizer, written in java.

Summary:
There are already perfect tools available for both audio and midi, via command line. And Reapers perfect design allows converting those into Reaper actions, e.g. as python actions.
TonE is offline   Reply With Quote