I have a very basic question. I want to start by taking audio input and simply directing it to the audio output. I'm going to do more with it later but that's my starting point. I know that the output works. I have my speaker connected to pin 10 on the Teensy 4.1 and I am using this sample program to generate tonesweeps, etc: https://github.com/TeensyUser/doc/wiki/Audio-Example-using-MQS-on-Teensy-4.0-or-4.1
What I did was to define adc1 on https://www.pjrc.com/teensy/gui/index.html and then attach a patch cord to the mixer and the mixer is defined and connected to the output in the same way as the first example. Then I added that code to the first example, renumbering things to avoid duplications and to make sure it compiles.
My problem is that:
1. I don't know which pin to use for the audio input
2. If I connect adc1 directly to print, nothing happens (shouldn't that give me some serial output, even if nothing is connected to adc1 and the input is all zeros?).
I have searched online for the Teensy 4.1 pinout and I get all sorts of conflicting information.
My questions are:
Can someone please tell me which pin on the Teensy 4.1 to use for audio input?
Is it possible for anyone to provide a very simple example of audio input combined with print or any of the other tools in the "analyse" section (none of them seem to work for me)?
Please assume that I am new to this and I don't know anything about the Teensy (though I am somewhat experienced with coding in C and in real time programming), so no big words or complicated theory, please. Just an example or two to get me started would be super helpful, and please tell me which pin I can use for the audio input.
Thanks.
What I did was to define adc1 on https://www.pjrc.com/teensy/gui/index.html and then attach a patch cord to the mixer and the mixer is defined and connected to the output in the same way as the first example. Then I added that code to the first example, renumbering things to avoid duplications and to make sure it compiles.
My problem is that:
1. I don't know which pin to use for the audio input
2. If I connect adc1 directly to print, nothing happens (shouldn't that give me some serial output, even if nothing is connected to adc1 and the input is all zeros?).
I have searched online for the Teensy 4.1 pinout and I get all sorts of conflicting information.
My questions are:
Can someone please tell me which pin on the Teensy 4.1 to use for audio input?
Is it possible for anyone to provide a very simple example of audio input combined with print or any of the other tools in the "analyse" section (none of them seem to work for me)?
Please assume that I am new to this and I don't know anything about the Teensy (though I am somewhat experienced with coding in C and in real time programming), so no big words or complicated theory, please. Just an example or two to get me started would be super helpful, and please tell me which pin I can use for the audio input.
Thanks.