spent countless hours trying to figure this out to no avail.
Praying someone here can help…
I have 60 mp3 files on my SD card.
they’re named:
001.mp3
002.mp3
003.mp3
…and so on….
If i connect TRIG1 to GND and power it up, it plays 001.mp3 upon booting. works fine. no problems.
However, I want to auto shuffle my tracks so upon booting, a random mp3 out of my 60 mp3 files plays. I have asked AI (chatgpt, gemini, etc) and they say put a MP3TRIGR.INI file in there with the following in the file:
#VOLM 20 #RAND 0 #TRIG 18, 2, 0
And connect TRIG18 to GND and boot up.
But this just plays track 18 every time upon booting.
AI also said create MP3TRIG.TXT and put the following in the file:
/A 1 /R
And not to connect anything.
But this doesnt play anything upon booting.
Every time i tell AI that they’re solution doesnt work, it offers a variation of what ive mentioned above. I’ve tried about 50 variations of different config file names, config/text file content, mp3 name formats. Nothing works.
Is what I want even possible?
If yes, please tell me how.
It’s been a while since I played with the MP3 trigger but I think the way the random function works you will always get the same first track but everything after that should be random.
The WAV trigger is totally random if I recall correctly. If you ever need a new sound player I recommend it over the MP3 trigger as it is way more configurable and flexible than the MP3 trigger.
Spent over a $100 to buy the mp3 trigger and have it FedEx’ed half way around the world and pay import tax under the pretence that it could boot random.
I see you found another solution. However, you could have made that first audio file a very short, silent one. Then the first file that you actually hear would be a random one.