Hi Guys,
I'm about building a Midicontroller. I programmed my AVR to send Midinotes. But I'm still wondering how to programm the microcontroller to send a Midinote by pressing a button a send one if I release it, such as a Cue - Button.
Hi Guys,
I'm about building a Midicontroller. I programmed my AVR to send Midinotes. But I'm still wondering how to programm the microcontroller to send a Midinote by pressing a button a send one if I release it, such as a Cue - Button.
What AVR/mcu are you using?
How many buttons do you want?
How are they connected (matrix/direct/through a shift register)?
Hi Necro. Iam using a Atmega8 but I'm planing to use a 32, because I want to use the A&H 4 way eq, and the Atmega32 has 8 ADC's for my potentiometers.
I would love all the buttons that are used in tractor, connected to the controller. Also the rotary controlls.
But for the first time, it would be nice to use the 4 way eq.
MidiFighter use Atmel and it's open source. The source code is also really well documented. That should be more than enough to keep yourself busy for few hours![]()
I don't know where to find it![]()
Yep... the MF source is AMAZINGLY well commented... I've hacked it apart for one of my own projects that incorporates a custom MF layout... The only thing is that it uses quite a bit of bitmath (and's/or's/not's/xor's etc), so it can be a little tough to understand if you arent well versed in boolean logic
You won't be able to replicate all the buttons in traktor with only an atmega8 (or even a 32). As there aren't enough inputs. There are many ways of multiplexing button inputs, shift registers (cd4021be) and matrices are the most common.
Feel free to post your ongoing questions, there's plenty of hardcore mod'ers and hackers around here to help![]()
Here ya go!
http://sourceforge.net/projects/midi...hter-20110204/
Download the zip file, not the compiled hex file...
Hi Necro,
I've already simulated the play button via switch and the high eq via poti. I've problems with my cue button. I would like to use a 1 µC for the eq, one for the FX and so on...
I also get problems with the sourcecode: I don't know C.
Last edited by DANrulz81; 03-27-2011 at 02:17 PM.
what do you mean? electrically there is no difference between a play or a cue button... they're both just buttons..
The difference comes inside traktor (or whatever midi software you're using)...
Could you post a schematic (even if crudely drawn)? What exactly is or is not happening?
My edit to your edit: You should be able to get away with a single mcu for the whole thing... I am running a 30+ controls off a single atmega328 (that includes midi thru for 2 other controllers)
When I hit the Play button, it toggles the value. When I hit the cue button, it toggles then value also. Cue stays highlighted until i press the button again.
|
Bookmarks