Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Connecting audio/midi interface

  1. #1
    Junior Member
    Join Date
    Nov 2020
    Posts
    2

    Connecting audio/midi interface

    Hello! I know that Teensyduino implements a "class compliant" MIDI device, which can work with the built-in drivers on all major operating systems.

    Can I connect TeensyLE to an audio/midi interface Focusrite iTrack Dock through MIDI USB port?

    Thanks.

    Click image for larger version. 

Name:	111.jpg 
Views:	12 
Size:	36.5 KB 
ID:	22348

  2. #2
    Senior Member houtson's Avatar
    Join Date
    Aug 2015
    Location
    Scotland
    Posts
    141
    Hi dim3740, I don't have and iTrack but looking at their website it is expecting a class compliant device so should be fine with teensy acting as a midi device.

    It doesn't support usb hubs so you will need to connect it directly to the teensy (with a normal usb cable)


    cheers Paul

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,375
    It really depends on how class compliant that Focusrite product is. We've heard reports that Teensy does work with many products, but not all. Some apparently aren't quite as class compliant as they claim to be.

    Teensy also implements a HID interface alongside the class compliant MIDI interface. Or it can implement a composite device of MIDI together with Serial and Audio. Some products expecting a class compliant MIDI USB device seem to be unable to ignore the extra non-MIDI interfaces. If you run into this, first try the various options in Tools > USB Type, since that is just an easy matter of clicking options in Arduino and uploading your program again.

    If Focusrite iTrack Dock turns out to want a USB device having only a single MIDI interface and no other USB interfaces, you can achieve that with Teensy, but it does require editing usb_desc.h to get rid of the extra HID or Serial interface. Normally you would want those while developing your code, so Serial.print() can send to the Arduino Serial Monitor even while you're communicating MIDI messages with your PC.

  4. #4
    Junior Member
    Join Date
    Nov 2020
    Posts
    2
    Thanks for the quick answers! I think I will solve these problems successfully. I understand your idea.

Posting Permissions

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