MetroSonus Posted March 21, 2007 Report Share Posted March 21, 2007 are there any good resources for making keyboard modules? I cant seem to find any.. I want to make a simple one octave controller with simple note on / off and combine with a couple other modules.Thanks! Quote Link to comment Share on other sites More sharing options...
bill Posted March 21, 2007 Report Share Posted March 21, 2007 What kind of keyboard ?For only one octave with no velocity, few DIN's should do the trick ! Quote Link to comment Share on other sites More sharing options...
MetroSonus Posted March 21, 2007 Author Report Share Posted March 21, 2007 Hmm ... I guess my problem is a lack of understanding... What in the DIN module transmits the note values, is it built into the firmware? How would I know which button went to which key? Also is it possible to build a set of octave up / down buttons?Mainly what I want to do is to create a guitar hero like keyboard controller using momentary switches as keys. Mainly it's so I can play synth basslines live and stuff.Most of the midibox stuff seems straightforward when it comes to knobs and sliders.. but the keyboard stuff has me baffled..thanks! Quote Link to comment Share on other sites More sharing options...
bill Posted March 21, 2007 Report Share Posted March 21, 2007 Most of the midibox stuff seems straightforward when it comes to knobs and sliders.. but the keyboard stuff has me baffled..It's because it's very specific to you own needs, you have to learn how to do that with the midibox, but it's pretty easy, thanks to C.http://ucapps.de/mios_c.htmlThe DIN do not transmit note values (but "pin value"), but the core can read it, and send the appropriate value (thanks to your own program) Quote Link to comment Share on other sites More sharing options...
MetroSonus Posted March 21, 2007 Author Report Share Posted March 21, 2007 ok, thanks! I gotta lota reading to do :oTrust me, I'll be back with questions.. lol Quote Link to comment Share on other sites More sharing options...
MetroSonus Posted March 21, 2007 Author Report Share Posted March 21, 2007 So let me see if i have this right .. I create a DIN module that gets connected to the 12 switches I want to use as keys. It connects to the other modules as usual, yet the program is custom written to encode activity from the switches into midi note on and off data? So in theory it should be ok to create a bit of code that would also allow me to change octaves based upon the input of say two particular pins? for up and down?So i dump the custom code via sysex.. hmm so it's the core that recieves the sysex dump? and there I specify that pin on DIN module are for note on and off date?I think I'm getting it... Quote Link to comment Share on other sites More sharing options...
stryd_one Posted March 22, 2007 Report Share Posted March 22, 2007 Bingo! ;)There is a C based programming example for sending note values which should be a good basis. If you've used C before, it could probably be ready in an hour or two :) All you need to do is specify a variable to add to the note number you send, and increment/decrement it in amounts of 12, to get the octave up/down buttons. Quote Link to comment Share on other sites More sharing options...
MetroSonus Posted March 22, 2007 Author Report Share Posted March 22, 2007 Ok more testing my understanding... For my keytar project.. I'll need:1 core module1 LTC1 AIN1 DINI'll only need 12 of the 32 availible controllers on the DIN for my 1 octave, and then 2 for the octave shift keys, leaving 18 to either use or not for various other functions. Then I would simply write a code that will say for buttons # 1-12, which note value to output?The AIN will give me enough pots for cut off / resonance and maybe some effects sends. Question, I dont know if i'll do this or not, but would it be possible to use an analog joystick in place of two pots? then to just run the outputs of each pot from the stick into the AIN?It all seems clear except for the code! that'll take some work. I have a bit of experience, but not much. I'm up for a challenge though! Quote Link to comment Share on other sites More sharing options...
Therezin Posted March 22, 2007 Report Share Posted March 22, 2007 Question, I dont know if i'll do this or not, but would it be possible to use an analog joystick in place of two pots? then to just run the outputs of each pot from the stick into the AIN?Yes, it's entirely possible as long as the pot values in the stick are compatible with MIOS. (100Kohm linear, correct me if i'm wrong) Quote Link to comment Share on other sites More sharing options...
stryd_one Posted March 22, 2007 Report Share Posted March 22, 2007 That's a DINx4 you mean :)You don't need the AINx4 if you use encoders instead of pots, which I almost always do personally. A Joystick is two pots, spot on, and you would need the AIN for that.. Not sure why you have the LTC (LED/Thru/COM) module?You might want an LCD for troubleshooting, and a DOUT if you want any LED's for flashy lights.The code is a snap :) Have you seen the example app yet?Edit: Check this out :the becoming of the midibox axe Quote Link to comment Share on other sites More sharing options...
MetroSonus Posted March 22, 2007 Author Report Share Posted March 22, 2007 does the x4 mean anything different ?I could use rotary encoders to the same effect as pots on the DINx4 (happy? ;D) ? "Not sure why you have the LTC (LED/Thru/COM) module?"Midi in / out.. or is that on the core? from the diagram I thought it was a seperate module.The code *looks* simple, but I allways manage to screw stuff like that up. I took a java class in college and I think we moved way to fast. When I get to that point I'll probabaly need help."You might want an LCD for troubleshooting, and a DOUT if you want any LED's for flashy lights."Good point! and hmm...... Maybbbe. It's for use live, so everything is going to have to be based off of touch. If I had LEDs they'd be for the benifit of the audience. Do you know of a situation in which they would be handy for troubleshooting? Also what's the power on the midibox? can it run off batteries? Quote Link to comment Share on other sites More sharing options...
bill Posted March 22, 2007 Report Share Posted March 22, 2007 Also what's the power on the midibox? can it run off batteries?You can do it. (I do that, using lipo batteries, it work's for hours !!)I dont remember exactly how much current the core need, but it's pretty low, if you dont use a lcd screen !Lcd screens take a lot of power !! (relative to the core) Quote Link to comment Share on other sites More sharing options...
MetroSonus Posted March 22, 2007 Author Report Share Posted March 22, 2007 that's awesome. the screen as noted would be for trouble shooting, but not part of the actual usage. Add a wireless midi connection and im rockin!My goal is to snag one of these off ebay ..embed the whole thing into that and use it as a live synth controller as well as a controller for Ableton Live. I want to embed a matrix of microswitches so that i can trigger things as well as switch patches on my synths within live. 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.