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

Thread: Bit-bang multiple I2S inputs simultaneously

  1. #26
    Junior Member
    Join Date
    Jul 2014
    Posts
    4
    Paul, first of all I want to thank you for your awesome job on the audio library and teensy development. I was wondering if you were able to get tdm input working and/or if it's in your development road map.

  2. #27
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,845
    Quote Originally Posted by dro View Post
    I was wondering if you were able to get tdm input working and/or if it's in your development road map.
    I have never tried TDM, and it's not on my todo list at this time.

  3. #28
    Junior Member
    Join Date
    Jul 2014
    Posts
    4
    Thanks Paul

  4. #29
    Senior Member
    Join Date
    Jun 2013
    Location
    Montréal
    Posts
    467
    Paul,
    I checked the quad output example and was wondering, does the 10ms delay to parse the header cause the files to be slightly out of sync ? If so, would there be a way to get them to sync ?

  5. #30
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,845
    Quote Originally Posted by nlecaude View Post
    does the 10ms delay to parse the header cause the files to be slightly out of sync ?
    No. It only prevents the rest of the sketch from running. The file begins playing with the next audio update, which happens on the next 128 sample timing frame.

  6. #31
    Junior Member
    Join Date
    Mar 2017
    Posts
    1
    Hey there,
    Thank you for all the support on this thread, I've really learned a lot here, starting with the great tutorials! I am working on a project that requires a 4.1 channel output of audio. I was successfully in getting 4 channels to work with the Quad audio shield and a teensy 3.2. I was wondering if the dac can be used as the extra 5th channel, and if so, what would be the right way to approach this. All my attempts have created all sorts of little bugs in playback.
    Cheers,

  7. #32
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,845
    Yes, just use the quad I2S output and DAC output.

    If you're having trouble, we can try to help, but you've got to post a complete program that demonstrates the problem.

  8. #33
    hi, did u manage to implement sound localization on teensy?

    What was the accuracy? what localization method did you use and how did you go along with it?

  9. #34
    Junior Member
    Join Date
    Feb 2018
    Posts
    16
    Quote Originally Posted by PaulStoffregen View Post
    Ok, here is it, with a boring passthrough example!

    https://github.com/PaulStoffregen/Au...hroughQuad.ino

    The design tool has been updated too.

    http://www.pjrc.com/teensy/gui/?info=AudioInputI2SQuad

    Go forth and process 4 channel sound. And if you do anything interesting, please contribute a less boring example sketch!
    Hi,

    I just want to record through 4 i2s input with teensy 3.2 and save the data to pc. Currently, I am able to record through 1 mic using the usb output in the audio design tool. Can I expand this to 4 mics? Or must I implement the AudioInputi2sQuad? If I were to do so, which output do I connect the quad audio input to such that I can save the audio data to pc (like recording it through audacity) ? Thanks!

  10. #35
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,845
    The USB output (to send to your PC) currently only supports stereo.

  11. #36
    Junior Member
    Join Date
    Feb 2018
    Posts
    16
    Quote Originally Posted by PaulStoffregen View Post
    The USB output (to send to your PC) currently only supports stereo.
    Thanks for the reply! Hmm.. so if I were to connect the quad input to quad output am I able to save it to pc? How can I do that?

  12. #37
    Junior Member
    Join Date
    Jun 2019
    Posts
    4
    Hello! Does the quad channel solution works with the new teensy 4.0 and with TEENSY4_AUDIO shield?

Posting Permissions

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