[Download] OGG Vorbis Player (WIP)

Discussion in '3DS - Homebrew Development and Emulators' started by machinamentum, Jul 5, 2015.

  1. machinamentum
    OP

    machinamentum GBAtemp Regular

    Member
    163
    450
    Jul 5, 2015
    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
    Change log
    Uses stb_vorbis for OGG decoding.
    Latest version: 0.9
    Source: here
    Download: here
    Download includes .3dsx and .cia
     

    Attached Files:

    Last edited by machinamentum, Jul 15, 2015
    Peanut42, WhoAmI?, Cid2mizard and 4 others like this.
  2. OctopusRift

    OctopusRift GBATemp's Local Octopus, Open 9am-2am. "Not Yet"

    Member
    1,460
    832
    Nov 19, 2014
    Saint Kitts and Nevis
    ... I support you... but there are a million OGG players...
     
  3. dubbz82

    dubbz82 GBAtemp Advanced Maniac

    Member
    1,512
    815
    Feb 2, 2014
    United States

    Not for the 3ds, there isn't. By that logic, people oughtta stop development of nearly all homebrew for the 3ds.
     
    Idaho and SLiV3R like this.
  4. OctopusRift

    OctopusRift GBATemp's Local Octopus, Open 9am-2am. "Not Yet"

    Member
    1,460
    832
    Nov 19, 2014
    Saint Kitts and Nevis
    Well... Rinnamente wrote a 3DS ogg player... :P
     
  5. reprep

    reprep GBAtemp Advanced Fan

    Member
    936
    305
    Jul 5, 2012
    Thanks a lot. Any chance adding flac?
     
  6. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
  7. dubbz82

    dubbz82 GBAtemp Advanced Maniac

    Member
    1,512
    815
    Feb 2, 2014
    United States

    One good working one is hardly "a million".
     
    OctopusRift likes this.
  8. TheGrayShow1467

    TheGrayShow1467 屈折

    Member
    935
    1,204
    Oct 12, 2014
    United States
    So... any plans for an Audio Spectrum?
    I'd be hyped for that.
     
  9. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Yeah, infact it's good to see some alternatives :D
     
  10. OctopusRift

    OctopusRift GBATemp's Local Octopus, Open 9am-2am. "Not Yet"

    Member
    1,460
    832
    Nov 19, 2014
    Saint Kitts and Nevis
    Alright... maybe I was a little too cynical, sorry @dubbz82
     
  11. duffmmann

    duffmmann GBAtemp Psycho!

    Member
    3,813
    1,579
    Mar 11, 2009
    United States
    Sorry, noob question. I have videos in .ogm format, will this be able to play them? Or is this only for audio files?
     
  12. dubbz82

    dubbz82 GBAtemp Advanced Maniac

    Member
    1,512
    815
    Feb 2, 2014
    United States
    being that the archive is titled music player.....safe to presume this is audio only at this point.
     
  13. machinamentum
    OP

    machinamentum GBAtemp Regular

    Member
    163
    450
    Jul 5, 2015
    United States
    I like FLAC's license, so I'll definitely look into it.
    Consider it planned.
    This is only for audio right now. I want to make a good music player before I make a good multi-media player.
     
    TheGrayShow1467 likes this.
  14. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    807
    296
    Jul 28, 2008
    United States
    any plans to release the source? I am curious how you are handling the decode/playback synchronization.
     
  15. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    You can see it also on lpp-3ds src. I posted a link few posts ago.
     
  16. machinamentum
    OP

    machinamentum GBAtemp Regular

    Member
    163
    450
    Jul 5, 2015
    United States
    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.)
     
  17. dubbz82

    dubbz82 GBAtemp Advanced Maniac

    Member
    1,512
    815
    Feb 2, 2014
    United States
    What's your thought on opus support eventually?
     
  18. machinamentum
    OP

    machinamentum GBAtemp Regular

    Member
    163
    450
    Jul 5, 2015
    United States
    Accepted. Added in 0.5 (check OP).
    I'll look into it.
     
    Last edited by machinamentum, Jul 8, 2015
    dubbz82 likes this.
  19. Cid2mizard

    Cid2mizard GBAtemp Fan

    Member
    364
    210
    Aug 16, 2007
    France
    Maubeuge
    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, Jul 8, 2015
  20. machinamentum
    OP

    machinamentum GBAtemp Regular

    Member
    163
    450
    Jul 5, 2015
    United States
    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, Jul 8, 2015
    Cid2mizard likes this.