busker99 Posted March 1, 2008 Report Share Posted March 1, 2008 This is my first post , so if it's in the wrong place etc... I hope you will all forgive. I am building a small pipe organ, (demonstration can be seen on http://mechorgbuild.blogspot.com/) . To control this, I have built the pic burner, core module and a two Dout 32 modules with Uln driver chips to control the solenoids below the pipes. This works quite successfully and the notes have been assigned to the pins using mplab and the preset inc.file. The problem now is to assign different channels to some pins. I don't have much experience in programming and I can't find the way to do this. Can anybody help me please? Quote Link to comment Share on other sites More sharing options...
TK. Posted March 1, 2008 Report Share Posted March 1, 2008 The MIDI channel is combined with the MIDI event type. We are using 0x90 for Note Events over MIDI channel #1To change the channel, use:0x91 for MIDI Channel #20x92 for MIDI Channel #30x93 for MIDI Channel #40x94 for MIDI Channel #50x95 for MIDI Channel #60x96 for MIDI Channel #70x97 for MIDI Channel #80x98 for MIDI Channel #90x99 for MIDI Channel #100x9a for MIDI Channel #110x9b for MIDI Channel #120x9c for MIDI Channel #130x9d for MIDI Channel #140x9e for MIDI Channel #150x9f for MIDI Channel #16Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
busker99 Posted March 1, 2008 Author Report Share Posted March 1, 2008 Many thanks for your help, aspecially for the lightning response. Will now go and give it a try Quote Link to comment Share on other sites More sharing options...
audiocommander Posted March 2, 2008 Report Share Posted March 2, 2008 Hi,we also have a quite nice reference about the MIDI protocol in the wiki:http://www.midibox.org/dokuwiki/midi_specificationBest,Michael Quote Link to comment Share on other sites More sharing options...
busker99 Posted March 3, 2008 Author Report Share Posted March 3, 2008 Thank you for the link Michael, I'll go and have a look. Following Thorsten's advice, I now have the Dout module working well on any notes and channels I choose. Tonight, I've just finished making the 32 note Din module. (More ferric chloride stains everywhere !!). It works fine but I get some odd results when I try to show the input to the core on the Dout module. Time for bed now so it will have to wait until later today.Thanks again 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.