New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SD Playback Is Buzzy/Static #37
Comments
Approach:
|
If anyone wants to volunteer to chase this down, I'm happy to make someone else the assignee! |
Just for clarity, are you saying that:
? I would love to help but I don't know anything about how to read WAV files. Is there a sample number associated with the data? Does it need to be graphed? |
Sorry for confusion. USB has nothing to do with the problem; the problem is SD out to the headphone jack. I'm presuming that I will also see the bad audio via USB Audio output, but the bad audio is not caused by USB audio output. In truth, I don't think I that I will lean much from my proposed step 1. I think that I'm going to have to simply blindly re-port the SD code from Teensy form into Tympan form. |
I think that i've now fixed this problem. I can also now record and play at the same time. I need to create an example for the library. |
Example created! https://github.com/Tympan/Tympan_Library/tree/main/examples/02-Utility/SD_Card/SdPlay_and_SDWrite I think that this problem is now solved. |
The example sketch SDWavPlayer generates lots of buzz and static. While the system functions, the audio is so bad that it is unusable.
This was first reported on the forum: https://forum.tympan.org/t/sd-wav-file-playback/300/4.
In the forum post, I show a sketch that relies primarily on the Teensy audio library for SD operations (not the Tympan audio library). I have confirmed that on my RevD this code produces clean audio. I have confirmed that switching over to the Tympan library (in my case, the develop branch using the beta #5 teensyduino) results in the audio exhibiting all the buzz/static.
Since it occurs when using the Tympan_Library and not when using just the Teensy Audio library, the problem must be in our code.
The text was updated successfully, but these errors were encountered: