midiman Posted January 24, 2006 Report Share Posted January 24, 2006 Hi, i have a problem in midibox 64I need program a button for up/down bank action.i see the table of http://www.ucapps.de/midibox/midibox64_sfb_table.txt and I believe that the solution is FF 04 10 and FF 04 12. But, where I must change that part of code?.I can do it with meta event? like? single they arrive at the value 7F, that happens? I belive: 16!MetaEvt FF0410Excuse for my bad english.Thank Quote Link to comment Share on other sites More sharing options...
TK. Posted January 25, 2006 Report Share Posted January 25, 2006 Hi,you don't need to program this in assembler, you only need to assign the appr. event to the pot entry, e.g. within a .ini file (-> see mk_syx script), or with Serge's MB64 editor (-> http://miostools.midibox.org))Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
midiman Posted January 25, 2006 Author Report Share Posted January 25, 2006 Thank ! Quote Link to comment Share on other sites More sharing options...
illogik Posted April 17, 2006 Report Share Posted April 17, 2006 Hey;For a streat theater act www.mechamicri.nl i’m building a small midicontroller for operating a micromodular. It has 2 pots and two buttons; pots for cc’s and buttons for selecting presets.Everything works exept for the buttons; they should send program change up/down, which i think requires a Meta event. This is the piece i underestimated…I’ve searched the forum and come up with some stuff, like the code in this topic (for old mbplus) but i still don’t understand..http://www.midibox.org/forum/index.php?topic=427.0See if i at least get the basics right; you can assign a meta event to a button (easiest way Vmidibox64), meta event number can be 0 to 127.In my case i need to make 2 meta events (program change down and program change up): this is where i get lost….Is the mb64_meta.inc file the only file that needs to be modified? (i don’t understand how things are done in this file, so i wouldn’t even be surprised if it were there allready ;) ) Some tips anyone? (or is this just way out of my league if i don’t understand allready? :-\ ) Cheers, marcel Quote Link to comment Share on other sites More sharing options...
TK. Posted April 17, 2006 Report Share Posted April 17, 2006 Hi Marcel,in app_defnes.inc, you need to define a new variable, and you have to locate it to a free memory location. Now you are able to increment this variable within the meta handler, and to send the appr. program change command.Especially the memory location is very error prone in assembler, it's easier in C. So, Why not programming this with the C wrapper? Examples for pot and button control are already availableBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
illogik Posted April 19, 2006 Report Share Posted April 19, 2006 hey thorsten thanx, but this is a bit too much for me right now, my understanding of the software here is scattered at the least, will look in to it later to see if i can start to understand the structure/connections of the code. for now (have to finish project before friday, got a performance then), i'll just make it with 4 buttons to choose the presets directly.cheers, marcel Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 19, 2006 Report Share Posted April 19, 2006 Hi Marcel,I think the thing you're missing is that there is no prgram change up and program change down midi command... There's only Program change #, where # is the number of the program you want to change to. This means that sending program change is not just a matter of an up button that sends an up command and a down button that sends a down command - you have to have a variable in the application that saves the program number. The up and down buttons then change that number, and then send the number in a program change command.Hope this helps! 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.