clear regions from "other" playlist type in auditioner when starting a new audition
[ardour.git] / scripts / synth1.lua
index 9d04e29ec12216dff5d2a229faaba5667ca535af..2a8288ba52282ff7e8149440117522dab73a5aaa 100644 (file)
@@ -3,29 +3,22 @@ ardour {
        name        = "Simple Synth",
        category    = "Instrument",
        license     = "MIT",
-       author      = "Robin Gareus",
-       email       = "robin@gareus.org",
-       site        = "http://gareus.org",
-       description = [[An Example Synth for prototyping.]]
+       author      = "Ardour Lua Task Force",
+       description = [[An Example Synth for Prototyping.]]
 }
 
 function dsp_ioconfig ()
        return
        {
-       --      { audio_in = 0, audio_out = -1}, -- any number of channels
-       --      { audio_in = 0, audio_out =  1}, -- values >  0, precisely N channels
-               { audio_in = 0, audio_out =  2}, -- values >  0, precisely N channels
-               { audio_in = 0, audio_out =  4}, -- values >  0, precisely N channels
-               { audio_in = 0, audio_out =  8}, -- values >  0, precisely N channels
-       --      { audio_in = 0, audio_out = -6}, -- values < -2, up to -N channels, here 1,..,6
+       --      { midi_in = 1, audio_in = 0, audio_out = -1}, -- any number of channels
+       --      { midi_in = 1, audio_in = 0, audio_out =  1}, -- values >  0, precisely N channels
+               { midi_in = 1, audio_in = 0, audio_out =  2}, -- values >  0, precisely N channels
+               { midi_in = 1, audio_in = 0, audio_out =  4}, -- values >  0, precisely N channels
+               { midi_in = 1, audio_in = 0, audio_out =  8}, -- values >  0, precisely N channels
+       --      { midi_in = 1, audio_in = 0, audio_out = -6}, -- values < -2, up to -N channels, here 1,..,6
        }
 end
 
-function dsp_has_midi_input ()
-       return true
-end
-
-
 local note_table = {}
 local active_notes = {}
 local phases = {}