Music Maker Shield trouble

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
pqtech01
 
Posts: 3
Joined: Fri Apr 29, 2022 11:47 am

Music Maker Shield trouble

Post by pqtech01 »

Hello. I'm working on a project with the Adafruit Music Maker (https://www.adafruit.com/product/1788) and an Arduino Uno. The intended goal is to utilize 11 sensors (These sensors specifically: https://www.automationdirect.com/adc/sh ... /fb6-ln-0e). I want 6 sensors play a particular audio file, 4 sensors play a different audio file, and the last 1 plays a separate audio file as well when one of those sensors are triggered.
The Music Maker shield was working well when I was first using it, however, now it only partially works. I have 3 audio files on the micro SD card and 2 of them work as intended, though for whatever reason the Music Maker shield does not like the other audio file. I've been troubleshooting for a couple days now and have yet to understand why it doesn't like to play that one file properly.
I tried to retrace my steps with the project, and loaded up the player_simple example sketch, but that specific audio file doesn't sound good at all. The audio file is MUCH quieter than the other (working) files. It also has some popping and clipping. I've tried to understand why this is happening, but I am at a complete loss. I have a feeling it has something to do with the hardware rather than the software, but I'm still learning the ins and outs of electronics, so my knowledge and understanding is limited.
If someone would be able to assist me soon, I'd be very grateful. Thank you!
1.jpg
1.jpg (740.11 KiB) Viewed 306 times
2.jpg
2.jpg (884.52 KiB) Viewed 306 times

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Music Maker Shield trouble

Post by mikeysklar »

The soldering on this could be better. You have cold joints with solder blobs and some PCB scaring.

What file format are you playing and encoding (sample rate and bit depth)?

Have you adjusted the software volume?

Code: Select all

musicPlayer.setVolume(.001,.001);

User avatar
pqtech01
 
Posts: 3
Joined: Fri Apr 29, 2022 11:47 am

Re: Music Maker Shield trouble

Post by pqtech01 »

mikeysklar wrote:The soldering on this could be better. You have cold joints with solder blobs and some PCB scaring.

What file format are you playing and encoding (sample rate and bit depth)?

Have you adjusted the software volume?

Code: Select all

musicPlayer.setVolume(.001,.001);
I'm using mp3 files. I unfortunately don't know what sample rate or bit depth my audio files have or where to find that info. Any suggestions?

User avatar
marshaj847
 
Posts: 46
Joined: Wed Jul 31, 2013 6:12 pm

Re: Music Maker Shield trouble

Post by marshaj847 »

I would suggest getting a free audio editing file such as Audacity https://www.audacityteam.org/
This program will display info of your files such as bitrate and depth... it will also let you save it at a different setting.

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Music Maker Shield trouble

Post by mikeysklar »

MP3 files have id3 tags which many MP3 players and OS level utilities can read to give you the details of the file format.

If you are on a Mac you can just right click on the file name. Otherwise you will need to download an MP3 player, id3 tag reader, or audio editor as suggested by @marshaj847.

User avatar
pqtech01
 
Posts: 3
Joined: Fri Apr 29, 2022 11:47 am

Re: Music Maker Shield trouble

Post by pqtech01 »

When I load the file into Audacity, it shows me that it is Stereo, 44100Hz, 32-bit float. Though I don't know if any of those values are relevant to my issue.

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Music Maker Shield trouble

Post by mikeysklar »

Looking at the VS1053 datasheet it appears MP3 is well supported at all sample and bitrates.

https://cdn-shop.adafruit.com/datasheets/vs1053.pdf
Screen Shot 2022-05-04 at 12.44.24 PM.png
Screen Shot 2022-05-04 at 12.44.24 PM.png (53 KiB) Viewed 249 times
Since you have been getting low volume you can try the volume change I suggested earlier in this thread or increasing the volume from within Audacity.

https://www.youtube.com/watch?v=7T-FSS1RR-M

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”