diff --git a/scripts/_vamp_audio_to_midi.lua b/scripts/vamp_audio_to_midi.lua similarity index 76% rename from scripts/_vamp_audio_to_midi.lua rename to scripts/vamp_audio_to_midi.lua index f2395eb40c..79fc32ac83 100644 --- a/scripts/_vamp_audio_to_midi.lua +++ b/scripts/vamp_audio_to_midi.lua @@ -1,5 +1,17 @@ -ardour { ["type"] = "EditorAction", name = "Vamp Audio to MIDI", -description = "analyze audio from selected audio region to selected midi region" } +ardour { + ["type"] = "EditorAction", + name = "Polyphonic Audio to MIDI", + license = "MIT", + author = "Ardour Team", +description = [[ +Analyze audio from the selected audio region to a selected MIDI region. + +A MIDI region on the target track will have to be created first (use the pen tool). + +This script uses the Polyphonic Transcription VAMP plugin from Queen Mary Univ, London. +The plugin works best at 44.1KHz input sample rate, and is tuned for piano and guitar music. Velocity is not estimated. +]] +} function factory () return function () local sel = Editor:get_selection () @@ -21,7 +33,7 @@ function factory () return function () if et > end_time then end_time = et end - table.insert(audio_regions, r) + table.insert(audio_regions, r) else midi_region = r:to_midiregion() end