"clics" when playing from SD card

Status
Not open for further replies.

emmanuel63

Well-known member
Hello,

I have made a simple samples player. The samples are stored on a Teensy3.5 built-in SD card. Samples are not longer than 2 or 3 seconds. They are mono, 44 khz, 16 bits.
I have 8 AudioPlaySdWav objects. Response is fast and there is no problem to play up to 8 samples at the same time. The problem is that there is a small artefacts when a sample is triggered. There is a short clic at the very beginning of the sample. I can't get rid of these noises.

I tried to add delays and envelopes with short attack. It doesn't work.
I tried to read from the audioshield SD card slot. Surprise : no more clics! But data access from this slot is much slower and I have polyphony problems.
I tried to play with audioInterrupts with no success.

Even with basic codes with noting fancy, I have theses clics.

Any Idea ?
Emmanuel
 
Clicks normally indicate the idle-mode output sample is not zero. But as you haven't followed the forum rule, who knows?
 
Status
Not open for further replies.
Back
Top