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

Thread: Audio board for RPG

  1. #1
    Junior Member
    Join Date
    Sep 2020

    Audio board for RPG

    Hi there,

    I'm working on an audio board to bring ambiance and sound effects for my role playing games.
    After some initial success, I'm reaching a point where I am concerned with the capacity of the Teensy to deal with two I2S inputs at the same time.
    It is not very clear to me how Master/Slave modes have to be handled. Here is the overall sketch:
    Click image for larger version. 

Name:	audio.jpg 
Views:	11 
Size:	44.0 KB 
ID:	21949

    The Music/Sound effects are played on the Pi, transferred to the Teensy via I2S, and captured on a PC using the USB audio interface.
    This (the red block) works fine, provided that the Pi is Master and the Teensy is Slave (I tried the other way, but it didn't work).

    Now, I would like to use the Teensy Audio Shield to capture voice through a microphone, possibly adding real-time effets (reverb, etc.) and mix it with the music.
    I can forsee several issues with this, and I don't have a clear idea how to proceed, nor if it's possible at all!

    • The Teensy becomes slaved by 2 masters (I read that the Audio shield acts as Master), which doesn't look good...
    • I think I should rather have 1 Master and 2 Slaves, but I'm not sure if the Master should be the Teensy or the Audio Shield...

    Any advice on how to proceed?
    Last edited by faboo; 10-02-2020 at 12:55 PM.

Posting Permissions

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