Welcome to %s forums

BrainModular Users Forum

Login Register

Teensy/Arduino input

I need help on a Patch
Post Reply
CREDO
Member
Posts: 39
Contact:

Unread post by CREDO » 17 May 2014, 19:25

I'm racking my brain trying to wrap my head around the Teensy/Arduino coding to processing analog inputs etc., and before investing in the wrong method (as usual...), I was wondering if anyone knows the most efficient way (between Serial, HID, or Midi) to get multiple 7-8 bit or fp values into Usine? I notice the serial example seems to need more modules than midi probably would, but I'm sure there's many factors here I don't understand...

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 26 May 2014, 11:10

Can you precise your goal here..?

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 26 May 2014, 14:28

Use midi USB with the teensy.
Only drawback is you can use only one instance of teensy midi on one computer
otherwise it is very stable.
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

CREDO
Member
Posts: 39
Contact:

Unread post by CREDO » 26 May 2014, 21:23

Thanks oli_lab, that's been my impression so far too. I just wasn't sure if serial or HID might not be a more efficient/direct way to transfer raw values back and forth...

My goal is sending a combination of digital and analog values between teensy and Usine (mostly to Usine). In my workspace they need to be converted to floating point and go to an array bus used to distribute modulation values. (I need a dynamic remote environment that can be rerouted for each preset, and an fp array seemed more efficient and flexible than midi - but someone please correct me if I'm wrong!)

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 26 May 2014, 23:59

for sure, midi is only 7bit (except for pitch bender wich is 14 bit)
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests