PDA

View Full Version : SMPlayer - The simple music player for the N64



wraggster
August 22nd, 2010, 14:23
ChillyWilly posted an entry into the Neoflash Coding Contest:

Heres the details:

http://img823.imageshack.us/img823/6107/browsing.th.jpg

Nickname: Chilly Willy
Project name: Simple Music Player
From: USA
Division: Retro APP
Platform: N64
Original enter: YES
In last NEO Compo this project have won in the top 10: NO

Project description: Plays Ogg-Vorbis, MP3, and MIDI files from the rom or from SD card.

How to use: Copy the v64 file to an SD card and load from the menu (v1.6+). It runs as Myth-aware homebrew, simultaneously accessing the rom and SD card. SMP shows the contents of the rom on startup. Press START to switch to the SD card. Directories are shown in brackets. Press A to enter a directory. When in a directory with media files, press A to start playing from a specific file; when it's done, the rest of the files in sequence will be played. Press B to play all the files in random order. While a song is playing, press A to pause/resume, and B to stop.

Notes: There are still some bugs to work out. I was rather rushed for time, so it's not up to my usual standards. Ogg-Vorbis seem fine, but MP3 files may hang on embedded tags... I'm still working on the code to skip tags automatically (why the heck doesn't libmad do that automatically? ). The MIDI player seems to have a dangling pointer problem, so it often hangs when it moves from one MIDI file to the next. The project is partly an example of how to do Myth-aware homebrew on the N64, and comes with all the source, including all the libraries used. One could easily use the ogg playing code in a game or other project. The MP3 player is also fine for game since folks usually strip the tags from MP3s for games to save space. SMP comes with two MP3s in the rom, along with two ogg files, and a bunch of Doom MIDI files. This is a pretty big download - 27 MB 7zipped. It's a 16MB N64 rom with all the code and resources, so it's big. Sorry.

http://www.neoflash.com/forum/index.php/topic,6311.0.html

JLF65
August 23rd, 2010, 23:28
There's an update to this (not part of the competition, which is closed now) here:
http://www.neoflash.com/forum/index.php/topic,6323.0.html

The update fixes the issue playing mp3 files, and adds flac and m4a files to the list of formats supported.