Hi, for a past project I used a Tsunami WAV trigger QWIIC in pair with an ESP32Thing plus QWIIC to play a looped sound. I had no problem making the pair work, the problem came a bit later. This project use a ~2h sound file. After a while (3~5 days after setuping everything) the sound get all distorded and I have to format and rewrite the SD cards. That appends on multiple boards (10 units) and with different types of SD card. This project can stay running for days at a time, could that be a cause of the problem?
From what I can see, the “corrupted” sound file is still readable, but it is super amplified. Here you can see at the top a “corrupted” file and at the botom, the same, original file. Is there a way to fix this or something I may be doing wrong?
Any help would be appreciated. (English isn’t my first language please excuse any errors I made)
How is it being powered, specifically? What method are you using to format the cards? Is anything else connected to the setup?
Share photos of the soldering/wiring
What loop/input settings have you changed, if any? The pattern looks strange…the additional waveforms are thicker/more common toward the first half, and become thinnner/less common toward the end
What kind of speaker is it hooked up to?
Hi, unfortunately I don’t have the project with me at the mment so I can’t share more pictures or verify some of the information, but the Power Source is a (i think 20W) Mean well 5V PSU. In this system is also a prox sensenr hooked-up to a voltage converter (5V to 3.3V) to protect the ESP’s pin. The ESP is on a DMX shield to sent data to a spotlight.
For the formatting I used Windows format in files explorer and used the settings in the Tsunami’s manual.
For audio Wiring the Aux outup is wired to a compact Amp (Pyle PLMRMP1A) witch drives two 100W Speakers (this setup I used often and never had problems)
I am confident in my soldering as it is my job to solder this kind of equipement often.
these are the only calls I make to the Tsunami and it is during the setup
tsunami.stopAllTracks();
delay(1000);
tsunami.trackLoop(1, true); //set the loop feature on
tsunami.trackLoad(1, 0, false); // track # on output 0 (aka “1L”), Lock = false (voice stealing active)
tsunami.trackLoad(1, 1, false); // track # on output 1 (aka “1R”), Lock = false (voice stealing active)
tsunami.trackGain(1, 10); //set the gain so we can hear
tsunami.resumeAllInSync(); //start all loaded tracks
Do you have another SD card or tsunami you can swap in its place to test?
As said previously, that problem happens on multiple Tsunami board, with different SD cards. I tried recreating the bug, but wasn’t successfull. Here is what I tried to do to recreate that glitch:
-Play with the same conditions, wait for 5 mins, then make a hard reset (with a relay) in a loop (a few days)
-Play with the same conditions, randomly disconect the QWIIC cable, reset and repeat
After testing that, I put that TSUNAMI board inside the project and it failed after a while. I am at a complete loss…
The pattern of additional sounds is what I’m most perplexed by…disable any gain/inputs if there are any set
Is it only on this particular track?
I don’t have a problem with a particular track. Almost audio gets modified after a little while. I could try to remove the Gain command and let it run for a few days.
It is a really weird proble…
You could also inspect tha capacitors on the board to see if any look funky/swollen/leaky/stained/etc…the type of distortion sure looks like backfed power from somewhere to me (or some weird looping glitch, but I think that is less likely)
I don’t think the Tsunami has the ability to write data back to a SD card, only read data from it. Could something else be corrupting your cards? Bad power?