[En-Nut-Discussion] Medianut playmp3 help required

Harald Kipp harald.kipp at egnite.de
Sun Jun 6 16:44:41 CEST 2004


Hi Gary,

playmp3 is a sample to show how to play locally
stored MP3 files...somehow a "talking Ethernut".
During make the four sound sample files are converted
into C source code and compiled into the application
code running on the Ethernut. In other words they are
included into the Nut/OS UROM file system. There is not
network required here.

So you need to move your MP3 files to
nut/app/playmp3/sounds
and run make. Note, that the memory space is quite
limited, may be 90k or so.

If you want to stream MP3 files over the network,
have a look into nut/app/nutpiper. This is a simple
Internet Radio for Shoutcast servers.

Regards,
Harald


At 14:45 06.06.2004 +0100, you wrote:
>Hi fellow Ethernut users,
>
>I have an Ethernut 2 and Medianut boards.
>In the example programs, there is playmp3.c
>The example works fine to use UROM with the 4 mp3 files provided.
>
>But, when I change the first routine in the for(;;) loop to:
>
>           VsSetVolume(0, 254);
>         PlayMp3File("c:\\temp\\gary.mp3");
>         NutSleep(1000);
>
>I get error 2 "file or directory not found", but the file is there in my
>temp directory!
>
>Can anyone please help and tell me what I'm doing wrong or what else I need
>to do,
>to play my mp3 file?
>
>Many thanks,
>
>Gary...
>
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list