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

Thread: Teensy as outboard effects processor

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    19

    Teensy as outboard effects processor

    So while I'm waiting for my new Teensy 3.6 and Audio Shield to arrive, I decided to try to use my Teensy 3.1 as outboard effects processor.

    Attempting to loop audio from Logic Pro X into Teensy and back. I left the effect out of the loop for now.

    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <SerialFlash.h>

    void setup() {
    // put your setup code here, to run once:

    // GUItool: begin automatically generated code
    AudioInputUSB usb1; //xy=308,364
    AudioOutputUSB usb2; //xy=674,366
    AudioConnection patchCord1(usb1, 0, usb2, 0);
    AudioConnection patchCord2(usb1, 1, usb2, 1);
    // GUItool: end automatically generated code
    }

    void loop() {
    // put your main code here, to run repeatedly:

    }


    Screen shot of Logic:
    Click image for larger version. 

Name:	Screen Shot 2017-12-13 at 10.19.24 PM.jpg 
Views:	14 
Size:	106.7 KB 
ID:	12275

    I expect that if I play the drum track into Teensy it will loop back to the mac so it can can be recorded.

    Doesn't work....

    Why?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    17,624
    Quote Originally Posted by jmercer View Post
    Why?
    At least one non-USB input or output is required to make the audio library run.

    For details, scroll down to the "Notes" section of the documentation.

    https://www.pjrc.com/teensy/gui/?info=AudioInputUSB

  3. #3
    Junior Member
    Join Date
    Mar 2014
    Posts
    19
    Ok, missed that. :-)

    I'll try again with the board installed.

Posting Permissions

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