Author Topic: how to get midi working  (Read 777 times)

how to get midi working

« on: March 19, 2016, 08:46:13 PM »
Open quickbuttons

klaus

Posts: 3

Offline
  • *
  • Newbie
    • View Profile
Hi, I am new to arduino and the miniAtmegatron.
While I succeeded to assemble the board - even the LEDs - and implemented the midi hack, I am not able to get my macbook and the miniAtmegatron to exchange midi signals. The MB sees the midi over USB connected arduino as MIDI/MOCO for LUFA but there is no exchange of notes. I use MidiPipe to test it.

Have I forgotten to initialize anything?

Thanks,
Klaus

Re: how to get midi working

« Reply #1 on: March 21, 2016, 12:50:20 PM »
Open quickbuttons

paulsoulsby

Posts: 158

Offline
  • Administrator
  • *****
  • Full Member
    • View Profile
This has got me a bit stumped to be honest! You've set midi channel in DAW = 1?  Can I confirm that you're hearing sound from the built-in pattern player.  You're def using an Arduino with a 16U2 USB controller chip (this is the tiny black square chip near the USB connector)?
It sounds like you've set it up correctly to me.

Re: how to get midi working

« Reply #2 on: March 22, 2016, 02:18:37 PM »
Open quickbuttons

klaus

Posts: 3

Offline
  • *
  • Newbie
    • View Profile
Yes DAW is at channel 1. I use the original Arduino Uno and the MacBookPro recognizes the midi device (MIDI/MOCO for LUFA) but there is no traffic either way. I also checked it on another Mac and with another cable with no success.
And yes, it works great through the internal audio out connected to my amp.
Maybe I should try to redo the Midi Hack. I'm a bit lost now...

Re: how to get midi working

« Reply #3 on: March 22, 2016, 09:24:14 PM »
Open quickbuttons

paulsoulsby

Posts: 158

Offline
  • Administrator
  • *****
  • Full Member
    • View Profile
Yes I'm not really sure what to suggest either! It sounds like it should work fine.
Def try uploading the MOCO firmware again.
Make sure the connection on pins D0 and D1 is clean.  If they have a dodgy solder joint (eg going to 0V or 5V), they will block all data coming through the USB.  You could even chop those pins off to be safe.
Can I confirm the jumper is off of the ISP connector (for MIDI mode).  You put it on for Arduino mode.
I assume you've loaded all the miniAtmegatron libraries and sketch from here:  http://soulsbysynths.com/miniatmegatron-downloads/  (not the Atmegatron page)?
Umm... I'm not sure I can think of any other suggestions at the moment.

If you want to prove that the serial is working, you could try uploading the SerialCallResponse example sketch in Arduino.  (make sure the shield is off when doing this)

Re: how to get midi working

« Reply #4 on: March 26, 2016, 06:22:16 PM »
Open quickbuttons

klaus

Posts: 3

Offline
  • *
  • Newbie
    • View Profile
IT WORKS!
What I did:
1. cut the connections of Tx and Rx
2. went back to original firmware
3. tested midi via Tx and Rx (serial) > worked
4. reinstalled moco firmware
5. reinstalled miniAtmegatron firmware
6. tested it with Tracktion 6 > it works!

Maybe the solution was to not connect the UNO with the miniAtmegatron board thru Tx and RX.

Re: how to get midi working

« Reply #5 on: March 28, 2016, 09:23:46 AM »
Open quickbuttons

paulsoulsby

Posts: 158

Offline
  • Administrator
  • *****
  • Full Member
    • View Profile
Great news! Yes, if there's any connection to D0 and D1, it'll block the USB from working.  In theory the pins on the shield don't go anywhere, so won't normally effect it.  Glad you got it working though!