0

4x4 Neotrellis arduino USB midi controller
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

4x4 Neotrellis arduino USB midi controller

by LydiaNeko on Thu Nov 07, 2019 5:12 pm

I'm currently racking my brain over how to program a Neotrellis board to output midi to Ableton/Max for live. I'd like to use it as a small Monome but would be happy with basic USB over Midi output at the moment. I'm using an Arduino Uno which might not be ideal and following this guide:

https://www.instructables.com/id/Arduin ... ontroller/

The problem is nothing happens when I press the buttons. I believe this is because its designed for the older Trellis? I've run the basic program for Neotrellis and the buttons and lights all work fine.

Please help

LydiaNeko
 
Posts: 2
Joined: Thu Nov 07, 2019 5:05 pm

Re: 4x4 Neotrellis arduino USB midi controller

by mikeysklar on Thu Nov 07, 2019 10:46 pm

Hi LydiaNeko,

Maybe I should just start with what might be a stupid question for you.

Since you know you want a Trellis based USB midi controller would it make more sense to use the one of our Trellis options that was designed for this?

https://learn.adafruit.com/search?q=trellis%20midis

mikeysklar
 
Posts: 4508
Joined: Mon Aug 01, 2016 8:10 pm

Re: 4x4 Neotrellis arduino USB midi controller

by LydiaNeko on Fri Nov 08, 2019 7:21 am

Thanks for your reply, my aim was to get a 16 button controller working with monome max software then build it into a custom controller. It might be a little bit easier to buy the M4 kit but also limited to button numbers and enclosure shape. I might have to step back and use a trellis instead it seems :(. Disappointing that the neotrellis doesn't accept the same code.

LydiaNeko
 
Posts: 2
Joined: Thu Nov 07, 2019 5:05 pm

Re: 4x4 Neotrellis arduino USB midi controller

by mikeysklar on Fri Nov 08, 2019 4:33 pm

Does the UNTZtrument guide meet your needs? It is a 16 button MIDI / USB ready device based on the trellis.

https://learn.adafruit.com/mini-untztru ... controller

mikeysklar
 
Posts: 4508
Joined: Mon Aug 01, 2016 8:10 pm

Re: 4x4 Neotrellis arduino USB midi controller

by johnpark on Thu Dec 05, 2019 1:17 pm

We have a few guides showing how to do USB MIDI on a NeoTrellis M4, I would definitely check these out:
https://learn.adafruit.com/neotrellis-arpeggiator-synth
https://learn.adafruit.com/trellis-m4-m ... controller
https://learn.adafruit.com/neotrellis-live-launcher

EDIT: I just re-read your post, you're talking about a 4x4 NeoTrellis driver board I think. Which microcontroller are you using?

johnpark
 
Posts: 870
Joined: Wed Mar 25, 2009 2:15 pm

Re: 4x4 Neotrellis arduino USB midi controller

by johnpark on Thu Dec 05, 2019 8:03 pm

Here's an example I made in Arduino using the NeoTrellis 4x4 driver board with a Feather M0 Express (nearly any board that supports TinyUSB should work with my example):
https://github.com/jedgarpark/neotrelli ... SBMIDI.ino

You can rearrange the notes/order of notes in the noteTable[] array to pick which pad calls which note. Hope this is helpful.

johnpark
 
Posts: 870
Joined: Wed Mar 25, 2009 2:15 pm

Re: 4x4 Neotrellis arduino USB midi controller

by marccobe on Wed Apr 21, 2021 6:27 am

johnpark wrote:Here's an example I made in Arduino using the NeoTrellis 4x4 driver board with a Feather M0 Express (nearly any board that supports TinyUSB should work with my example):
https://github.com/jedgarpark/neotrelli ... SBMIDI.ino

You can rearrange the notes/order of notes in the noteTable[] array to pick which pad calls which note. Hope this is helpful.



Hi John, I have been using the miniuntz for a while (sending midi notes and program controls messages) and would like to update my setup with the NeoTrellis 4x4 so that it can be a more colourful approach. Will this code work for sending program control messages instead of notes?
Is there a way to use the miniuntz code + neopixel?
Thanks a lot for helping!

marccobe
 
Posts: 8
Joined: Thu Dec 06, 2018 7:49 pm

Re: 4x4 Neotrellis arduino USB midi controller

by johnpark on Wed Apr 21, 2021 3:16 pm

Hi, yes, you can send Program Change using the NeoTrellis (or pretty much anything that uses the MIDI library) and also do RGB colors with the NeoPixels.

You should be able to use the existing code as a starting point and then swap it over to the neotrellis library and functions.

johnpark
 
Posts: 870
Joined: Wed Mar 25, 2009 2:15 pm

Re: 4x4 Neotrellis arduino USB midi controller

by marccobe on Mon May 24, 2021 7:06 am

Hi John, I have been using the Neotrellis 4x4 as a midi device, but so far there's a problem with simultaneous presses which I described here:
viewtopic.php?f=8&t=179577&p=873973#p873973
you could see the video here as well:
https://youtu.be/8xlwP9pF2gI

Is there a way I could use the M0 express to send midi notes without this multiple press problem? Maybe using circuitpython similar to this sketch of yours?
https://github.com/jedgarpark/JEP_NeoTr ... riggers.py

I tried to use it but it's doing nothing. I don't know if it's because it's not compatible with the Feather M0 or because something else.
Hope you can send me some light.
Thanks a lot!
Marc

marccobe
 
Posts: 8
Joined: Thu Dec 06, 2018 7:49 pm

Please be positive and constructive with your questions and comments.