Jump to content

mrfinest

Member
  • Posts

    7
  • Joined

  • Last visited

mrfinest's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. OK, i tried this to change 23 to 53 AND 24 to 55 (both values random), the other CCs should go through: function HandleMIDI(event) { if(event instanceof ControlChange && event.number == 23) { event.number = 53 ; if(event instanceof ControlChange && event.number == 24) { event.number = 55 ; } event.send(); }
  2. HI fuzzfilth, I never go to Starbucks Sorry, this topic is SO complicated as a script doesn't work if only one digit is wrong. So I really try to explain what I want, to change several CCs within one script. Why, it is to use several libraries with one controller and without changing/resaving all the libraries´ instruments. I think this should be interesting to many users... Until now I used transformers and Midi-Cables, this was easy and I understood it But it has disadvantages, so I now try to find some scripts for the scripter. I got some really helpful scripts from David (THANKS again!) and tried to combine them - but I failed, I can only use five scripted-plugs in one channel... That´s my situation, sorry. I spent several days with this but it is like learning a new , foreign language without being allowed to make mistakes... All the best, Markus
  3. OK, i was not precisely: lets say change controllers 24 to 30 AND 25to 41 AND so on. So it is not regularly +/-, it is like in your first script function HandleMIDI(event) { if(event instanceof ControlChange && event.number == 23) { event.number = 53 ; } event.send(); } but transformation with more than one cc.
  4. David, this is so helpful, thank you! You can use a switch/case operator... see my answers in that thread: Force DRUMMER to use sidestick? [sOLVED] This doesn't work here with controllers, I think I make something wrong changing the values... So what I want to do: cc23->43; cc24->44 and so on, all in one script. That would make me really happy )
  5. You can do that with the following script: function HandleMIDI(event) { if(event instanceof ControlChange && event.number == 23) { event.number = 53 ; } event.send(); } Wow, so simply and works perfectly -thanks, David! I Trend to duplicate the text in the scripter to change more than one cc´s, but this didn't work. How would this script look like if we changed lets say three cc-numbers (23->53, 24-A54; ...), ? And who could I simply add / sub some values (for ex. cc 23 minus 3 = 20) Thanks again Markus
  6. Hi Guys, I'm looking for a "transformer"-script which can transform controllers like a transformer can. For ex. cc 23 to 53, 24 to 64 and so on; more than one cc should be possible. Also channel shift and invert (value 1 -> 127; 2 -> 126 an so on) would be great. For sure this is easy to do if someone knows how to... Request for new default-scripts: the tasks the transformer can do in the environment should be also possible in MIDI-FX scripture. That would be great! Thanks for help!! Markus
×
×
  • Create New...