Homebrew [Download] OGG Vorbis Player (WIP)

machinamentum

Well-Known Member
OP
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
527
Country
United States
This is a simple OGG player. Doesn't feature any fancy play/pause/fast-forward/rewind functions (yet!).

Feature list:
  • Barebones
  • Quick and dirty file browser
  • Bugs
  • FLAC
  • OGG Vorbis
Version 0.2:
  • Play/Pause
  • Loop toggle
  • More verbose menu
Version 0.3:
  • Added simple touch UI for Play/Pause and Loop
Version 0.4:
  • Battery indicator (red = low, green = mid - high, blue = charging)
Version 0.5:
  • FLAC support
Version 0.6:
  • Fixed FLAC endless loop bug
Version 0.7:
  • Fixed .3dsx having /3ds/music_player as default directory.
  • Added random0.ogg for your listening pleasure!
Version 0.8:
  • Performance improvement (Caelina hardware-accelerated renderer backend implemented)
Version 0.9:
  • Menus are now drawn by GPU
  • Aesthetic changes.
Uses stb_vorbis for OGG decoding.
Latest version: 0.9
Source: here
Download: here
Download includes .3dsx and .cia
 

Attachments

  • mp_libs.zip
    414.6 KB · Views: 390
Last edited by machinamentum,

OctopusRift

GBATemp's Local Octopus, Open 9am-2am. "Not Yet"
Member
Joined
Nov 19, 2014
Messages
1,460
Trophies
0
XP
927
Country
Saint Kitts and Nevis
This is a simple OGG player. Doesn't feature any fancy play/pause/fast-forward/rewind functions (yet!).

Feature list:
  • Barebones
  • Quick and dirty file browser
  • Bugs
Version 0.2:
  • Play/Pause
  • Loop toggle
  • More verbose menu
Uses stb_vorbis for OGG decoding.
Icon: http://opengameart.org/content/play-pause-mute-and-unmute-buttons
Banner: http://opengameart.org/content/pd-glossy-icon-buttons

Download includes .3dsx and .cia
... I support you... but there are a million OGG players...
 

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,664
Country
Italy

machinamentum

Well-Known Member
OP
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
527
Country
United States
Thanks a lot. Any chance adding flac?
I like FLAC's license, so I'll definitely look into it.
So... any plans for an Audio Spectrum?
I'd be hyped for that.
Consider it planned.
Sorry, noob question. I have videos in .ogm format, will this be able to play them? Or is this only for audio files?
This is only for audio right now. I want to make a good music player before I make a good multi-media player.
 
  • Like
Reactions: TheGrayShow1467

machinamentum

Well-Known Member
OP
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
527
Country
United States
any plans to release the source? I am curious how you are handling the decode/playback synchronization.
Source: https://github.com/machinamentum/music_player
My method is hacky at best, I let stb_vorbis decode ~1 second chunks every 50 frames then alternate between channel 8 and channel 6 to cut down on choppiness.
Note: the rending is done using a software renderer I wrote that has an OpenGL front-end (not included) so it can't be built in its current state (I plan to switch to a GPU renderer in the future.)
 

Cid2mizard

Well-Known Member
Member
Joined
Aug 16, 2007
Messages
392
Trophies
0
Age
41
Location
Maubeuge
XP
1,644
Country
France
It's a shame to have to put our files only in the / music_player. Can provide you with free samples of ogg & flac files because mine are not read by your player ? ogg files spit my 3DS...
 
Last edited by Cid2mizard,

machinamentum

Well-Known Member
OP
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
527
Country
United States
It's a shame to have to put our files only in the / music_player. Can provide you with free samples of ogg & flac files because mine are not read by your player ? ogg files spit my 3DS...
I wasn't aware that homebrew menu makes the app directory be the default directory. Fixed in 0.7, you should now be able to navigate the entire SD card. I've also included an ogg encoded score (created by me using lmms years ago :D)
Also, FLAC files need to be encoded with 16-bit depth, anything else may just produce noise...
EDIT:since the archive is now too large for gbatemp, the downloads have been moved to github (link in OP)
 
Last edited by machinamentum,
  • Like
Reactions: Cid2mizard
General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Furry Friendly Recipes or How to Cook With your Friend!