Homebrew [Download] OGG Vorbis Player (WIP)

machinamentum

Well-Known Member
OP
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
549
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: 452
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
947
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,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy

machinamentum

Well-Known Member
OP
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
549
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: pastaconsumer

machinamentum

Well-Known Member
OP
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
549
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
401
Trophies
1
Age
43
Location
Maubeuge
XP
2,447
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
549
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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Slower speeds for gen4
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=1hp24nDVKvY