Skip to content

z-hunter/reaper_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My scripts and effects plugins for Cockos REAPER DAW

-> Extract Chords from Selected Audio Item (Chordino)

ExtractChordsFromAudio.lua

What is this?

This ReaScript automatically extracts chords from a selected audio item (e.g., guitar, keyboard, or even full mix) and creates a dedicated track with chord names as text items.
It leverages Sonic Annotator and the Chordino VAMP plugin.


Requirements


Installation & Setup

1. Install Sonic Annotator

2. Install Chordino VAMP Plugin

  • Download from the official site or VAMP Plugins Pack.
  • Install all files (including qm-vamp-plugins.dll) into your C:\Program Files\Vamp Plugins directory
    (or any other VAMP plugin directory on your system).

3. Configure the Script

  • Open the script in REAPER (via Actions list > ReaScript).
  • Edit this line at the top:
    local SONIC_ANNOTATOR_EXE = [[D:\Sound.dir\sonic-annotator\sonic-annotator.exe]]
    
    

4. Save Your REAPER Project

The script requires your project to be saved on disk before it can run (it needs a valid project folder for temp files).

Usage

Select any audio item (guitar, piano, mix, etc).

Run the script (from Actions list, toolbar, or via hotkey).

The script will process the audio and add a “Chords (Extracted)” track with text items indicating detected chords, each at the correct position.

Troubleshooting

If you see errors about "Sonic Annotator not launched", check the path and ensure Sonic Annotator is installed.
If you see "CSV file was not created", verify that Chordino is properly installed and visible to Sonic Annotator.
For best results, use relatively isolated guitar or keyboard parts; dense mixes or noisy sources may reduce accuracy.

The script does not alter your original audio.

-> Compensator

A universal JSFX gain compensator for Reaper.

Compensator-Receiver.jsfx receives a reference signal on the sidechain (e.g., channels 2/3) and dynamically adjusts the levels of the input signal (1/2) to match the reference. Loudness detection by RMS, Peaks, LUFS-M, LUFS-S is supported. There are numerous tuning parameters that allow you to tailor the Compensator's behavior to different material. All controls are provided with tooltips that appear at the bottom of the window when you touch the corresponding slider/switch.

There's also a reference signal monitoring option for quick A/B comparisons (e.g., signal before a VST chain VS processed and gain matched signal). You can use several Compensators in sequence, for example, using the "main" LUFS-M first, followed by the "fast and rough" RMS with a short detector window and a high activation threshold (Return-to-Zero parameter), so that it only suppresses sudden volume changes to which the first Compensator doesn't have time to react quickly.

The auxiliary Compensator-Sender.jsfx allows you to quickly create a route to sidechain channels. Put Sender before your VST chain, Receiver after it, and set the same “Reference channels”.

Installation & Setup

Put following files

  • Compensator - Sender.jsfx

  • Compensator - Receiver.jsfx

    into your reaper\effects folder.

About

my scripts for Cockos Reaper DAW

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages