Offline
Newbie
Karma: 0
Posts: 16
|
 |
« on: June 02, 2011, 04:58:29 pm » |
I cant seem to find any support threads on rMp3 shields, other than the old read only forum... I am hoping someone can help me out... I seem to be able to communicate with rmp3, it can find the file names of my mp3s and output them in the serial monitor, so I assume communications is ok... but when I try to play them, I never hear any sound... I am usin plain old headphones to test it out, are amplified speakers required? thanks in advance, and if a thead already exists on this, just point me to it...
wes
|
|
|
|
« Last Edit: June 06, 2011, 09:39:52 pm by wthierry »
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #1 on: June 03, 2011, 04:18:24 am » |
plain old headphones should be fine - have you turned the volume up in the example?
Which example have you been using?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 16
|
 |
« Reply #2 on: June 03, 2011, 08:46:25 am » |
Ive tried about 3 or 4 examples from this thread: http://arduino.cc/forum/index.php/topic,7017.0.htmlSo I do have communications, since I can see files, Is there any certain behavior the LED's should be doing while accessing the board? Mine seems to blink a few times on start up, but then nothing.
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #3 on: June 03, 2011, 09:39:45 am » |
On startup a few blinks is normal.
When playing, the activity LED will be on/changing slightly if it's a VBR song.
If there are no lights then nothing is playing.
Try the RogueMP3 Playback example (included with the RogueMP3 library) and then report back if there is no sound when it's playing. The serial monitor will display 'playing' with a time etc.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 16
|
 |
« Reply #4 on: June 03, 2011, 09:48:04 am » |
it runs and continually prints out stopped: vol=16
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #5 on: June 03, 2011, 09:50:04 am » |
so send 'p' and it should start playing
k is volume++ and i is volume--
The code should tell you the rest
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 16
|
 |
« Reply #6 on: June 03, 2011, 09:50:54 am » |
I can increase and decrease the volume, but nothing ever plays...when I tell it to play, it still prints stopped.....
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #7 on: June 03, 2011, 09:51:09 am » |
Well it should start playing if you have a song in the root directory called mysong.mp3 change this to your song: #define SONG "/mysong.mp3"
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 16
|
 |
« Reply #8 on: June 03, 2011, 09:52:24 am » |
thats why im confused.... nothing ever plays... I have the correct filename for the song, but nothing.....p doesnt toggle anything, like the function fails silently
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #9 on: June 03, 2011, 09:56:00 am » |
Ok how is your SD card looking.
There should be a single .mp3 song in the root directory of the card (no folders), this should match the name of the song as defined in the top of the sketch. Make sure this song works on the computer. I presume your SD card doesn't have weird formatting - how is it formatted?
Just loading stuff up myself to test.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 16
|
 |
« Reply #10 on: June 03, 2011, 09:58:33 am » |
yes. I have about 10 files in the sd card....none play, and they are in root....
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #11 on: June 03, 2011, 09:59:36 am » |
sorry, it's not 'p' it's 'f' to start playing
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #12 on: June 03, 2011, 10:04:14 am » |
Oh and my volume instructions were wrong...
i is volume up, k is volume down - I forgot it's reversed
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 16
|
 |
« Reply #13 on: June 03, 2011, 11:15:00 am » |
I saw that when looking through the code. But still no sound  really weird since I can use the SD library to obtain the filenames on the disk, but just not play them.
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #14 on: June 03, 2011, 11:15:55 am » |
Is it playing now? Activity light glowing?
|
|
|
|
|
Logged
|
|
|
|
|
|