Digispunk Posted June 1, 2006 Report Share Posted June 1, 2006 I was wondering how to implement custom MIDI CC values for the 'off' value of a button, with serge's virtual midibox app,at the moment i can only see a way for programming midi CC values the 'on' state, as the 'off' value defualts to 0 and there doesnt seem to be an obvious way to change this to another valueideally i would like to be able to program two values for each button, and each button could have a different pair of values.here's an example - using the toggle function i would like to jump between two distinctive filter cutoff values - 'on' = 99 and 'off' = '23'can this be done in vmidibox.exe ? or do i have to go another route?cheersD Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 1, 2006 Report Share Posted June 1, 2006 Which app? I'll take a look at the source... Quote Link to comment Share on other sites More sharing options...
Digispunk Posted June 1, 2006 Author Report Share Posted June 1, 2006 midibox64.exe - that would be Serge's editor, otherwise would we have to get into hacking the MIOS version dierctly? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 2, 2006 Report Share Posted June 2, 2006 I mean which MIOS App... I'm not sure if the app supports it, so I was going to look at the source... Quote Link to comment Share on other sites More sharing options...
audiocommander Posted June 2, 2006 Report Share Posted June 2, 2006 just to prevent misunderstandings: ;) Quote Link to comment Share on other sites More sharing options...
Digispunk Posted June 2, 2006 Author Report Share Posted June 2, 2006 midibox64 = mios application = ;D Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 2, 2006 Report Share Posted June 2, 2006 Okey Doke I'm gonna go play "figure out what TK did in here"...Lord knows why I felt like doing this for my own entertainment! ;D Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 2, 2006 Report Share Posted June 2, 2006 Short answer no goLong answer you'd have to implement the minimum feature, currently it toggles between your value and zero... It'd be a global change unless you made changes to the DB, which wouldnt be too mega hard, but not so easy either. But it occurred to me, why not set the minimum on the synth? For eg:'on' = 99 and 'off' = '23'increase cutoff on the synth to 23 and use:'on' = 76 and 'off' = '0' ;)Edit: I never looked at the MB64(e) and I've gotta say I'm very impressed! I had no idea it had so many cool features :)Edit2: oh yeh...interesting bits (I looked these up, forgot to post them, then closed them, doh)mb64_midi.inc line 337mb64_buttons line 246Another way you could do it is set the value to match the value of a certain pot, so for example:Button1=120Button2=70Button3=90Button4=20You could make it so that they all reference Button1 as a minimum (instead of zero) so the max of each button is as you set it, but the min is always whatever you set button 1 to... or you could have many minimums by using neighbouring buttons values eg:Button1 On=120Button1 Off=70Button2 On=70Button2 Off=90Button3 On=90Button3 Off=20and so on....You could do this by jumping through the table and getting the value of the next button and setting that instead of 0... Quote Link to comment Share on other sites More sharing options...
TK. Posted June 3, 2006 Report Share Posted June 3, 2006 You can implement different button values with meta events (-> mb64_meta.inc, mb64e_meta.inc)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 3, 2006 Report Share Posted June 3, 2006 Well shut my mouth! Sorry for the bad info! Quote Link to comment Share on other sites More sharing options...
Digispunk Posted June 3, 2006 Author Report Share Posted June 3, 2006 :) great - as soon as i get the OS up and running i will experiment with it and report back!thanks guys. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 3, 2006 Report Share Posted June 3, 2006 Ah I see now... I ignored the branches to SFB and meta handlers because I thought that they were internal functions only, which goes to show that it's a good idea to actually use a device before you try and figure out what it's sourcecode does (I've never even seen an MB64 heh)...and it also proves once again that assumption is the mother of all f*ckups ;DEdit:Check out mb64_meta.inc, look for MB64_META_Handler_DoubleNote for an example of how to handle different events for button in and out :) 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.