[WIP] ctrmus - Another 3DS Music Player

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

Dec 28, 2016
  1. Jayro

    Member Jayro MediCat DVD Developer

    Joined:
    Jul 23, 2012
    Messages:
    4,065
    Location:
    Octovalley
    Country:
    United States
    Thank you so much for your hard work sir, I REALLY appreciate this! :)
     
    elBenyo and MaK11-12 like this.


  2. Platinum Lucario

    Member Platinum Lucario GBAtemp Regular

    Joined:
    May 17, 2014
    Messages:
    288
    Country:
    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

    Member MaK11-12 GBAtemp Regular

    Joined:
    Jul 26, 2009
    Messages:
    219
    Location:
    Namek
    Country:
    United Kingdom
    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

    Member Jayro MediCat DVD Developer

    Joined:
    Jul 23, 2012
    Messages:
    4,065
    Location:
    Octovalley
    Country:
    United States
    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

    Member MaK11-12 GBAtemp Regular

    Joined:
    Jul 26, 2009
    Messages:
    219
    Location:
    Namek
    Country:
    United Kingdom
    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.
     
    Jayro likes this.
  6. UltraHurricane

    Member UltraHurricane GBAtemp Regular

    Joined:
    Feb 18, 2013
    Messages:
    178
    Country:
    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

    Member MaK11-12 GBAtemp Regular

    Joined:
    Jul 26, 2009
    Messages:
    219
    Location:
    Namek
    Country:
    United Kingdom
    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

    Member Jayro MediCat DVD Developer

    Joined:
    Jul 23, 2012
    Messages:
    4,065
    Location:
    Octovalley
    Country:
    United States
    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

    Member MaK11-12 GBAtemp Regular

    Joined:
    Jul 26, 2009
    Messages:
    219
    Location:
    Namek
    Country:
    United Kingdom
    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

    Member MaK11-12 GBAtemp Regular

    Joined:
    Jul 26, 2009
    Messages:
    219
    Location:
    Namek
    Country:
    United Kingdom
    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

    Member MaK11-12 GBAtemp Regular

    Joined:
    Jul 26, 2009
    Messages:
    219
    Location:
    Namek
    Country:
    United Kingdom
    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

    Member Magical Sheep The Time Traveling Space Cat

    Joined:
    Jan 22, 2016
    Messages:
    190
    Location:
    In a nearby trashcan
    Country:
    United States
    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

    Member MaK11-12 GBAtemp Regular

    Joined:
    Jul 26, 2009
    Messages:
    219
    Location:
    Namek
    Country:
    United Kingdom
    You're very welcome dude. Let me know if you encounter any issues.
     
    Magical Sheep likes this.
  14. Jayro

    Member Jayro MediCat DVD Developer

    Joined:
    Jul 23, 2012
    Messages:
    4,065
    Location:
    Octovalley
    Country:
    United States
    Yay! I love updates!
     
    MaK11-12 likes this.
  15. destinedjagold

    Newcomer destinedjagold Newbie

    Joined:
    Jan 30, 2016
    Messages:
    9
    Country:
    Philippines
    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

    Member Jayro MediCat DVD Developer

    Joined:
    Jul 23, 2012
    Messages:
    4,065
    Location:
    Octovalley
    Country:
    United States
    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

    Newcomer Cmdutka Newbie

    Joined:
    Feb 19, 2017
    Messages:
    1
    Country:
    United Kingdom
    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

    Member MaK11-12 GBAtemp Regular

    Joined:
    Jul 26, 2009
    Messages:
    219
    Location:
    Namek
    Country:
    United Kingdom
    As Jayro says, you have to use DspDump before ctrmus and other homebrew that use audio can work. :)

    Thanks! :)
     
  19. Jayro

    Member Jayro MediCat DVD Developer

    Joined:
    Jul 23, 2012
    Messages:
    4,065
    Location:
    Octovalley
    Country:
    United States
    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

    Member MaK11-12 GBAtemp Regular

    Joined:
    Jul 26, 2009
    Messages:
    219
    Location:
    Namek
    Country:
    United Kingdom
    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. :)
     

Share This Page