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

Thread: virtual sound driver

  1. #1
    Junior Member
    Join Date
    Jul 2018

    virtual sound driver

    on the tweensy is there a way to take in audio and pipe it out over usb as a virual audio device ?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Yes. In Arduino, click Tools > USB Type and select "Audio". Teensy 3.2, 3.5 and 3.6 support this. It's not supported on LC, 2.0 or 2.0++. You need 3.2 or higher.

    Then in the design tool, put the USB output object on your design and connect the 2 signals you want sent to your PC. After you upload, you should see "Teensy Audio" appear as one of the sound devices in your PC's sound control panel. You need to select it as your input source, as you'd do for microphone or any thing else connected to your PC, so your operating system will use it for incoming sound. Then you can use any software on your PC which processes sound. I personally use Audacity.

    Pay attention to the notes at the end of the right-panel documentation. You must have at least one other non-USB input or output in your design. The USB in/out aren't capable of causing the audio library to update. At least 1 real hardware in or out is needed, even if you don't actually use it.

Posting Permissions

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