Hey all,
First time post and first time getting involved with any type of project like this. Super excited.
So like a few folks on here, I'm trying to build out an Audio Guest Book from that wonderful YouTube tutorial using the Teensy. I've started from the github repo here at earlier revisions and trying to work my way forward: https://github.com/playfultechnology/audio-guestbook/blob/main/audio-guestbook.ino
My situation:
* I've soldered the Teensy 4.0 to the Audio Shield 4.0. Solder seems good.
* I can play a wav file off of the SD card and it plays through a set of headphones, as well as the phone speaker. I'm using the shield's 3.5mm jack in both scenarios.
* If I patch the input from the phone's microphone to the phone's speaker in the headset, I can hear myself pretty clearly (it's not perfect, but good enough for now)
* When I try to patch the input from the speaker to a queue and write a raw or wav file to the SD card, I can barely hear myself and it's just static/garbled.
I also tried using the phone on an active landline. The phone's mic and speaker work fine in that scenario.
Since the hardware seems fine, a couple tests I wanted to try next are:
* Use a different SD card. Maybe it's not fast enough for writes? That's an easy one I can do tonight and if it yields positive results I'll report back.
* I wanted to try to play a wav file, and patch that to a queue to write the output to the SD card to see if there was something wrong with the capture/saving of the audio, but I haven't been able to get that to work (see writeDirectFromPlay.ino)
Does anyone have any suggestions? Attaching my code for reference as well.
* AudioGuestBook.ino - The actual project
* writeDirectFromPlay.ino - The test project attempting to test writing a file playing to the SD card.
Thanks in advance for any feedback.
First time post and first time getting involved with any type of project like this. Super excited.
So like a few folks on here, I'm trying to build out an Audio Guest Book from that wonderful YouTube tutorial using the Teensy. I've started from the github repo here at earlier revisions and trying to work my way forward: https://github.com/playfultechnology/audio-guestbook/blob/main/audio-guestbook.ino
My situation:
* I've soldered the Teensy 4.0 to the Audio Shield 4.0. Solder seems good.
* I can play a wav file off of the SD card and it plays through a set of headphones, as well as the phone speaker. I'm using the shield's 3.5mm jack in both scenarios.
* If I patch the input from the phone's microphone to the phone's speaker in the headset, I can hear myself pretty clearly (it's not perfect, but good enough for now)
* When I try to patch the input from the speaker to a queue and write a raw or wav file to the SD card, I can barely hear myself and it's just static/garbled.
I also tried using the phone on an active landline. The phone's mic and speaker work fine in that scenario.
Since the hardware seems fine, a couple tests I wanted to try next are:
* Use a different SD card. Maybe it's not fast enough for writes? That's an easy one I can do tonight and if it yields positive results I'll report back.
* I wanted to try to play a wav file, and patch that to a queue to write the output to the SD card to see if there was something wrong with the capture/saving of the audio, but I haven't been able to get that to work (see writeDirectFromPlay.ino)
Does anyone have any suggestions? Attaching my code for reference as well.
* AudioGuestBook.ino - The actual project
* writeDirectFromPlay.ino - The test project attempting to test writing a file playing to the SD card.
Thanks in advance for any feedback.