summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-02-18 02:25:28 +0100
committerRobin Gareus <robin@gareus.org>2017-02-18 02:25:28 +0100
commit0a4090965576fc55ae9d67da3dd93855a0b0134d (patch)
treed0ec47fba18c5ccaf19fb610419fa066f0c5eb95 /scripts
parent2c992c093fd9369d0b3f2ea7c33299152f89115a (diff)
Bundle Audio to MIDI Lua script
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vamp_audio_to_midi.lua (renamed from scripts/_vamp_audio_to_midi.lua)18
1 files changed, 15 insertions, 3 deletions
diff --git a/scripts/_vamp_audio_to_midi.lua b/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