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

Reply
 
Thread Tools Display Modes
Old 05-16-2019, 06:12 PM   #1
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default Video: Extract Chords from Audio to Reaper

Here's a video on extracting chords from audio
using Sonic Visualiser with Chordino vamp plugin Win/Mac/Lin and importing chords to Reaper.
Use with ReaTrak or script only,
here's some updated scripts if you use txt export/import,
as txt uses tab as separator and and csv uses a comma.
right click Save Link/Target As
ReaTrak chordino chords csv txt to regions.lua

Thanks to X-Raym for original script import regions from tab delimited csv
and lachinhan for the idea.


Sonic Visualiser File > Export Annotation Layer
https://www.sonicvisualiser.org/

Chordino Vamp Plugin
http://www.isophonics.net/nnls-chroma


https://youtu.be/PorPuqkpO_w
MusoBob is offline   Reply With Quote
Old 05-17-2019, 01:47 PM   #2
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

nice Bob,

but questions:

seems like the main exe comes in 64 and 32 bit but the plugins come in only 32 bit... or do I not see this correctly?

so a little more plz about getting install correct... thank you
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 05-17-2019, 02:08 PM   #3
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Have a look at these videos
https://www.youtube.com/watch?v=bQrleXXQmWY




https://www.youtube.com/watch?v=ojtkaoV0N48

MusoBob is offline   Reply With Quote
Old 05-17-2019, 02:53 PM   #4
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

Thanks Bob... helpful....

I got it working OK with 32 bit versions but will try to go to 64

EDIT: Ok kids to save you some time maybe....
Sonic Vis. exe comes in a 32 and a 64 bit version
BUT... [big BUT] the Vamp plugins only come in 32 bit for windows... bummer

so be warned... install the 32 bit Sonic Vis. and not the 64
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva

Last edited by hopi; 05-17-2019 at 03:22 PM.
hopi is offline   Reply With Quote
Old 05-18-2019, 03:21 PM   #5
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

I had a look at mine and I was using 32bit Sonic Visualiser I installed the 64bit and it works using Chordino in C:\Program Files (x86)\Vamp Plugins


MusoBob is offline   Reply With Quote
Old 05-19-2019, 07:12 PM   #6
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

strange... I tried the 64 bit Sonic V with the Chordino plugins in the Vamp folder and it said it did not like them.... that they were 32 bit plugins...
I'm on Win7 Pro 64 bit....

I'd rather use the 64 bit Sonic V
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 05-21-2019, 02:38 PM   #7
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Quote:
Originally Posted by MusoBob View Post
...
here's some updated scripts if you use txt export/import,
as txt uses tab as separator and and csv uses a comma.
right click Save Link/Target As
ReaTrak chordino chords csv txt to regions.lua
If you download the above it has now been updated to use csv as default and it leaves out any "N" markers, let me know if it works ok.

I just change the default on the end "txt or csv", "csv") see below
Code:
retval_split,input_choose  = reaper.GetUserInputs("Choose File Type", 1, "txt or csv", "txt")
Code:
retval_split,input_choose  = reaper.GetUserInputs("Choose File Type", 1, "txt or csv", "csv")
for Biab tracks with 2 bar count-in you can set File > Project Settings > Project start measure -1
you can highlight 3 bars and click the "Insert bars" button

Also...
Biab has already got the chords that can be imported into Reaper by:
1. Exporting to MusicXML > ReaTrak "MusicXML Chords"
2. Saving as SGU then in MuseScore save SGU as MusicXML
3. In Biab Options > Prefs > OutputChords >
check "Output Chords ?"
Chord Type "Complex"
# ticks before chord change "0"
check Write track to MIDI file
save song as MIDI file > ReaTrak "Chords from MIDI Item"
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak

Last edited by MusoBob; 05-21-2019 at 02:45 PM.
MusoBob is offline   Reply With Quote
Old 05-21-2019, 04:48 PM   #8
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

thanks yet again Bob... much nicer to have csv as the default
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 05-23-2019, 09:21 AM   #9
lachinhan
Human being with feelings
 
lachinhan's Avatar
 
Join Date: Nov 2014
Location: Can Tho - Viet Nam
Posts: 305
Default

I am very happy and grateful that you have developed this idea. It is very necessary and useful for me. Thank you so much @MusoBob
__________________
NK Recording Studio
Email: lachinhan@gmail.com or admin@thuamninhkieu.com
Website:nkpro.top and ntmusicpro.com
lachinhan is offline   Reply With Quote
Old 05-29-2019, 12:49 AM   #10
lachinhan
Human being with feelings
 
lachinhan's Avatar
 
Join Date: Nov 2014
Location: Can Tho - Viet Nam
Posts: 305
Default

Dear Bob

Do You have a script that automatically completes a region-based chord available ? Thank
__________________
NK Recording Studio
Email: lachinhan@gmail.com or admin@thuamninhkieu.com
Website:nkpro.top and ntmusicpro.com
lachinhan is offline   Reply With Quote
Old 05-29-2019, 12:55 AM   #11
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

Not sure what you mean exactly, there's "MIDI Chord Track" that will fill the chord regions with midi chords.
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
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 05:41 AM.


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