summaryrefslogtreecommitdiff
path: root/scripts/synth1.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/synth1.lua')
-rw-r--r--scripts/synth1.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/synth1.lua b/scripts/synth1.lua
index 99a5e4d6c8..9d04e29ec1 100644
--- a/scripts/synth1.lua
+++ b/scripts/synth1.lua
@@ -21,7 +21,7 @@ function dsp_ioconfig ()
}
end
-function dsp_midi_input ()
+function dsp_has_midi_input ()
return true
end
@@ -70,8 +70,8 @@ function dsp_run (ins, outs, n_samples)
local tme = 1
-- parse midi messages
- assert (type(mididata) == "table") -- global table of midi events (for now)
- for _,b in pairs (mididata) do
+ assert (type(midiin) == "table") -- global table of midi events (for now)
+ for _,b in pairs (midiin) do
local t = b["time"] -- t = [ 1 .. n_samples ]
-- synth sound until event