minig Posted May 21, 2016 Share Posted May 21, 2016 Hello, i have a script but hi's dont work !!! waht make i false? // Multi Midi Channel Output the esempel of 3 dont work!!! // Parameter is Midi input var PluginParameters = [ { name:"ch.out 1", type:'menu', minValue:0, maxValue:4, numberOfSteps:4, defaultValue:0,valueStrings:["0","1","2","3","4"], unit: " ch.in "}, { name:"ch.out 2", type:'menu', minValue:0, maxValue:4, numberOfSteps:4, defaultValue:0,valueStrings:["0","1","2","3","4"], unit: " ch.in "}, { name:"ch.out 3", type:'menu', minValue:0, maxValue:4, numberOfSteps:4, defaultValue:0, valueStrings:["0","1","2","3","4"], unit: " ch.in "}, ]; function HandleMIDI(event){ if ( event.channel == GetParameter ("ch.out 1")) { event.channel = 1 event.send(); } if ( event.channel == GetParameter ("ch.out 2")) { event.channel = 2 event.send(); } if ( event.channel == GetParameter ("ch.out 3")) { event.channel = 3 event.send(); } } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.