Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/14/2013 in all areas

  1. Hi, I am new to this forum and this is my first posting. I am not sure what each of the MIDIBOX boards do, and would like your suggestions on what I need to order. I have a 13 Bass Pedal set which was removed from a Hammond Spinet organ. The only "electronics" that came with the pedals, was the set of leaf spring like switches for each pedal. From what I read MIDIBOX is a modular sytem and I need some type of encoder board, and then a CPU board that processes the data. So what boards should I order?? I only have dial up internet so viewing most DIY videos is out of the question unless they are very small. I can handle soldering the various parts together, but I don't have any programming tools for PIC etc. All I'm looking to do is wire the pedals to the MIDIbox and its boards, and end up with a standard 5 PIN DIN MIDI out that I can plug into a sound module. Any comments are welcome. Thanks. gary kg4jpp
    1 point
  2. Hello Ilmenator, I did something comparable (I guess) in C for converting between u16s and u32s in mem and u8s or u7s for sysexes. Maybe the code snippet below is of some use to you. I'm not familiar with the NG, so maybe not... ////////////////////////////////////////////////////////////////////////////////////////// // conversion functions between MIOS32 types u32 u16 and Midi MSB LSB // Address Hi Mid Lo ////////////////////////////////////////////////////////////////////////////////////////// u8 MSB(u16 data){return ((data & 0x7f00) >> 8);} u8 LSB(u16 data){return (data & 0x007f);} u16 To16Bit(u8 MSB, u8 LSB){return (( (MSB&0x7f)<<8)|(LSB&0x7f));} u8 AddressHi(u32 address){return ((address & 0x7f0000)>>16);} u8 AddressMid(u32 address){return ((address &0x7f00)>>8);} u8 AddressLo(u32 address){return (address&0x7f);} u32 AddressFull(u8 Hi, u8 Mid, u8 Lo){return (((Hi&0x7f)<<16)|((Mid&0x7f)<<8)|(Lo&0x7f));}
    1 point
×
×
  • Create New...