Self build Midi Controller
Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1
    Tech Convert
    Join Date
    Mar 2011
    Posts
    12

    Default Self build Midi Controller

    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.

  2. #2
    Tech Mentor
    Join Date
    Feb 2011
    Location
    Southern Ontario, Canada
    Posts
    244

    Default

    What AVR/mcu are you using?

    How many buttons do you want?

    How are they connected (matrix/direct/through a shift register)?

  3. #3
    Tech Convert
    Join Date
    Mar 2011
    Posts
    12

    Default

    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.

  4. #4
    Tech Guru Steve Zorilow's Avatar
    Join Date
    Apr 2010
    Location
    Montréal, Québec, Canada
    Posts
    1,233

    Default

    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

  5. #5
    Tech Convert
    Join Date
    Mar 2011
    Posts
    12

    Default

    I don't know where to find it

  6. #6
    Tech Mentor
    Join Date
    Feb 2011
    Location
    Southern Ontario, Canada
    Posts
    244

    Default

    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

  7. #7
    Tech Mentor
    Join Date
    Feb 2011
    Location
    Southern Ontario, Canada
    Posts
    244

    Default

    Quote Originally Posted by DANrulz81 View Post
    I don't know where to find it
    Here ya go!

    http://sourceforge.net/projects/midi...hter-20110204/

    Download the zip file, not the compiled hex file...

  8. #8
    Tech Convert
    Join Date
    Mar 2011
    Posts
    12

    Default

    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.

  9. #9
    Tech Mentor
    Join Date
    Feb 2011
    Location
    Southern Ontario, Canada
    Posts
    244

    Default

    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)

  10. #10
    Tech Convert
    Join Date
    Mar 2011
    Posts
    12

    Default

    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.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •