filmcomposer Posted November 29, 2006 Report Share Posted November 29, 2006 hello everyone of this community, could someone help me with programming my midibox. i was wondering how to program one of the pot to be able to switch midi note in only one channel. for example pot number one: i trigger a note with one of the buttons and change the note using that 500k pot for example from 0 to 10k could be c, 10 to 20k csharp, 20 to 30 d, etc (without pitchbend, just note select)while i keep the button pushed. initial note could be programmed to c0 or d2 etc. please, my programming skill are not as good as yours. could you help me? i built the burner and the midibox 64 and both function. thanks. Quote Link to comment Share on other sites More sharing options...
audiocommander Posted November 29, 2006 Report Share Posted November 29, 2006 Hi filmcomposer,the midibox64 is written is ASM, you might want to ask your question rather there than in the C-thread.If you want to write your own application in C, you can take a look at the bottom of the C-Page at ucApps.de, there are some C-code snippets that show you how to achieve this:http://www.ucapps.de/mios_c.htmlesp. this document "how to send Midi Events on Pot Movements":http://www.ucapps.de/mios_c_send_ain.htmlYou can also download some C-based projects from the download-site and peek into the code.And (most important) take a look at the Midi-Section in the Wiki. It is explained in depth there how the Midi-Messages work and how you can work with channels:http://www.midibox.org/dokuwiki/doku.php?id=midi_specificationhope this helps,best regards,Michael Quote Link to comment Share on other sites More sharing options...
stryd_one Posted November 30, 2006 Report Share Posted November 30, 2006 Just quickly, I wouldn't use the 500K pot, shoot much closer to 10K :) Quote Link to comment Share on other sites More sharing options...
filmcomposer Posted November 30, 2006 Author Report Share Posted November 30, 2006 thanks very much to both of you for your knowledge and experience. i'll have a look at the links and follow your advices to learn a little more about this fantastic midibox. Quote Link to comment Share on other sites More sharing options...
henrygr Posted January 9, 2007 Report Share Posted January 9, 2007 filmcomposer, here is a link that, at this stage, I have memorised,http://www.cprogramming.com/tutorial.htmlI am possibly the worst at CCode around here, but manage to get by. :o 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.