DockTuner - Dockable Tuner UI
- Floating or Dockable window
- Fixed reference frequency of A=440
- Infinitely scalable UI, from big blocky boi to sliver of light and still readable
- UI automatically connects to first detected and active DockTuner JSFX instance
DockTuner is a JSFX plugin that detects frequency and a Lua script that draws the dockable UI. The UI docks at the top of the screen by default.
The UI script was written almost entirely from scratch with the exception of the code for right click context menu which was borrowed from the Track FFT script by Heda
here
The JSFX frequency detector is the old JS: Meters Tuner plugin from
this thread
The tuner is quite usable on guitars but there is some jitter. Maybe the reaper devs can give us an API call for the frequency detection that ReaTune uses ;-D
Typical Usage:- Put DockTuner JSFX on your guitar track and run the DockTuner lua script
Fancy Usage:
Let's assume we are going to record some guitars through hardware input 4
- Create a new track and label it "TUNER"
- Right click the record arm button and set the input to Input 4
- Right click the record arm button and select "Record: disable (input monitoring only)
- Open the routing options for the track and uncheck "Master Send", we don't need to hear this track
- Add the DockTuner JSFX plugin to the track and run the DockTuner lua script
- Arm the track
TODO:- Add variable reference pitch
- Sweet talk the REAPER devs into giving us an API call to the algorithm that ReaTune uses
- Improve or rewrite the frequency detector to smooth output
- Option to put the UI to sleep during playback/recording/low input levels
Installation:
Do
Options > Show REAPER resource path in explorer/finder... to open the REAPER resource folder
DockTuner UI lua script - Put this file in the scripts folder
https://stash.reaper.fm/v/43892/DockTuner.lua
DockTuner JSFX frequency detector - Put this file somewhere in the Effects folder or one of its subfolders
https://stash.reaper.fm/v/43891/DockTuner
BugFixes:
- 2022-02-24 - Removed a call to reaper.ShowConsoleMsg() that was being used for debugging right click menu.
- 2022-02-24 - Fix error on load if track count is zero