Pepperheadsnake Posted May 31, 2022 Share Posted May 31, 2022 Hi - I've ran into a corner with my current setup where I'm forced to use a channel redirect plugin (both in Mainstage and Logic). I mean, whatever was the input channel, a script would convert every event to, say, channel 1 or 5 or 10, according to just one slider. The parameter needs to be changed from a song/track to another, and it's a bit meh to have 16 different variations of this where "8" actually could be anything from 1 to 16: function HandleMIDI(e) { e.channel = 8; e.send(); } Yeah, not a big problem, but unfortunately the deadlines won't allow me start learning coding... Quote Link to comment Share on other sites More sharing options...
Solution Pepperheadsnake Posted May 31, 2022 Author Solution Share Posted May 31, 2022 Answering to myself: var PluginParameters = [{name:"Channel", defaultValue:1, minValue:1, maxValue:16, numberOfSteps:15, type:"lin"}]; function HandleMIDI(e) { e.channel = GetParameter("Channel"); e.send(); } 3 Quote Link to comment Share on other sites More sharing options...
David Nahmani Posted May 31, 2022 Share Posted May 31, 2022 Great! Thanks a lot for providing your own answer. Much appreciated. And welcome to Logic Pro Help ! 😀 1 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.