Pages: [1] 2   Go Down
Author Topic: rMp3 player problems SOLVED  (Read 1950 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

plain old headphones should be fine - have you turned the volume up in the example?

Which example have you been using?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ive tried about 3 or 4 examples from this thread:

http://arduino.cc/forum/index.php/topic,7017.0.html

So 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 Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

it runs and continually prints out stopped: vol=16
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

so send 'p' and it should start playing

k is volume++ and i is volume--

The code should tell you the rest
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well it should start playing if you have a song in the root directory called mysong.mp3


change this to your song:
Code:
#define SONG "/mysong.mp3"
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes. I have about 10 files in the sd card....none play, and they are in root....
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sorry, it's not 'p' it's 'f' to start playing
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh and my volume instructions were wrong...

i is volume up, k is volume down - I forgot it's reversed
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I saw that when looking through the code.  But still no sound smiley-sad  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 Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is it playing now? Activity light glowing?
Logged

Pages: [1] 2   Go Up
Jump to: