[WIP] ctrmus - Another 3DS Music Player

Discussion in '3DS - Homebrew Development and Emulators' started by MaK11-12, Dec 28, 2016.

  1. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,232
    2,870
    Jul 23, 2012
    United States
    Octo Canyon
    Thank you so much for your hard work sir, I REALLY appreciate this! :)
     
    elBenyo and MaK11-12 like this.
  2. Platinum Lucario

    Platinum Lucario GBAtemp Advanced Fan

    Member
    520
    234
    May 17, 2014
    Australia
    Warrnambool, Victoria, Australia
    Looks very interesting. I have a question, do you plan on adding support for CTRM/BCSTMs with loop-flag support? The Nintendo 3DS can natively run binary CSTMs, and it's also possible for the 3DS to run audio sample rate of up to 44100Hz too (unlike Nintendo 3DS Sound, which only plays at a very low sample-rate when playing audio files).
     
  3. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    234
    125
    Jul 26, 2009
    Namek
    I don't plan on adding support for those file formats at this time. I don't believe there is a use case for it, as I don't think users would be deliberately encoding their music collection to something proprietary like CSTM. I'd like to support whatever file formats other common music players use.
     
  4. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,232
    2,870
    Jul 23, 2012
    United States
    Octo Canyon
    If you setup a donation button, I'll donate to this project every couple of weeks. I enjoy having a stable music player that's easy to use.
     
  5. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    234
    125
    Jul 26, 2009
    Namek
    Thanks for your support. :) I don't think I'll accept donations though. This project isn't just for the benefit of the community, but also to better my programming skills. In addition there are no expenses such as server costs that are required to keep this project running.
     
    death360 and Jayro like this.
  6. UltraHurricane

    UltraHurricane GBAtemp Regular

    Member
    194
    114
    Feb 18, 2013
    United States
    awesome! i've been looking forward to an alternative to 3DS Sound

    btw, do you think it would be possible to add support for native video game sound formats like NFS/SPC/PSF/ect?
     
  7. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    234
    125
    Jul 26, 2009
    Namek
    I don't currently have plans to support those formats unless they're already in ffmpeg. I may add it in the future, but I can't imagine too many people wanting to play those formats directly on the 3DS.
     
  8. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,232
    2,870
    Jul 23, 2012
    United States
    Octo Canyon
    FFMPEG has .OGG, yes? That one is going to be very-much requested I believe. FLAC is my poison of choice, and playback has been flawless so far.
     
    MaK11-12 likes this.
  9. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    234
    125
    Jul 26, 2009
    Namek
    I'm only adding ffmpeg because of it's free as in freedom AAC decoder. A number of people were requesting AAC, so now I'm replacing all decoders with ffmpeg. It's a pain but at least it'll open a lot of other codecs. It could also be possible to have video playback support way in the future. ;) Although ctrmus on the ffmpeg can currently open video files, but only play the audio track.

    Adding OGG on its own could have been easy using libvorbisfile, but at least ffmpeg will add OGG support to ctrmus soon.
     
  10. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    234
    125
    Jul 26, 2009
    Namek
    New minor release, updated 28-01-2017 (0.4.8):
    • Music now pauses instantly.
    • CIA uses new Homebrew intro animation.

    Still working on that ffmpeg support;).
     
    julialy, elBenyo, hippy dave and 3 others like this.
  11. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    234
    125
    Jul 26, 2009
    Namek
    New release updated 15-02-2017 (0.4.9):
    • Changed button mappings to resemble Moonshell DS. Press L+Left to see button mappings.
    • Browse files whilst music is playing.
    • Use left and right buttons to browse 13 files at a time.
    • Fixed an issue whereby the user was unable to suspend ctrmus (CIA only).
    • Changed banner and banner music (CIA only).
    • Back-end changes to reduce compile warnings.
     
    Last edited by MaK11-12, Feb 15, 2017
    Cid2mizard, GalladeGuy and BORTZ like this.
  12. Magical Sheep

    Magical Sheep The Super Stylish Black Cat

    Member
    285
    132
    Jan 22, 2016
    United States
    The Metaverse
    I can't believe I didn't come across this sooner. Thanks for making this! It's going to be extremely useful for me. :D
     
    MaK11-12 likes this.
  13. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    234
    125
    Jul 26, 2009
    Namek
    You're very welcome dude. Let me know if you encounter any issues.
     
    Magical Sheep likes this.
  14. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,232
    2,870
    Jul 23, 2012
    United States
    Octo Canyon
    Yay! I love updates!
     
    MaK11-12 likes this.
  15. destinedjagold

    destinedjagold Member

    Newcomer
    13
    1
    Jan 30, 2016
    Hello.

    I'm having an Error 1000: NDSP Initialisation failed when I try to play an .mp3 song. I downloaded this homebrew via FBI QR scan, by the way.

    Thanks.
     
  16. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,232
    2,870
    Jul 23, 2012
    United States
    Octo Canyon
    You have to run DSP Dumper from the homebrew channel first, but you only need to do it once. Then everything will work fine.
     
    MaK11-12 likes this.
  17. Cmdutka

    Cmdutka Newbie

    Newcomer
    1
    2
    Feb 19, 2017
    Had the opportunity to test this out on a long train journey yesterday and it totally held up.

    Besides having to select every track to play everything worked as it should .

    Once the option to play an entire folder is implemented it would mean I can fully ditch the PSP.

    Thank you
     
    Jayro and MaK11-12 like this.
  18. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    234
    125
    Jul 26, 2009
    Namek
    As Jayro says, you have to use DspDump before ctrmus and other homebrew that use audio can work. :)

    Thanks! :)
     
  19. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,232
    2,870
    Jul 23, 2012
    United States
    Octo Canyon
    Hey @MaK11-12 , do you think you could enable double buffering on the bottom screen, so when you're scrolling the text won't flicker? Unless that's not how you fix it... Just curious if the flickering text was fixable.
     
  20. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    234
    125
    Jul 26, 2009
    Namek
    According to ctrulib documentation here, double buffering is used by default. The only way this can be fixed is by creating a proper graphics accelerated GUI. :)