mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
prototype lua midi generators & filters and port event-rewrite
This commit is contained in:
parent
60200bf923
commit
39e818a03a
6 changed files with 218 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue