[WIP] ctrmus - Another 3DS Music Player

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

  1. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    This is a music player for the 3DS. It plays PCM WAV, AIFF, FLAC, OPUS, Vorbis and MP3.
    Music continues to play through headphones whilst the 3DS is closed.

    Follow issues and feature progress here.

    A 3DSX, CIA and 3DS binary is available.
    Use the d-pad to select a file and press A. Press L+Left to see button mappings.
    Extended instructions, controls, and additional information is available here.

    ctrmus is also on titledb! So you should be able to find it within FBI.
    QR code for latest release (0.4.12):
    Updated 2017-07-08, Version 0.4.12:
    • Add OGG Vorbis file support.
    • Update Opus and mpg123 libraries to their latest version.
    • Further improvements to overall system stability and other minor adjustments have been made to enhance the user experience
    Note:
    Due to limitations in ctrulib, only ASCII characters are displayed correctly. Other characters will appear garbled, but functionality is not affected.
    Ctrulibの制約でアスキー文字のみ正しく表示されます。それ以外の文字エンコードの場合文字化けはしますが、機能自体に影響はありません。

    Thanks. :)
     
    Last edited by MaK11-12, Jul 8, 2017 - Reason: New release


  2. Giodude

    Giodude Ruler of Italy

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

    Our Patreon
    3,931
    1,167
    May 17, 2015
    United States
    New York
    this actually might be increasingly more useful since soon 3ds sound will be nothing more than a homebrew entrypoint, though like always people will only begin to gravitate towards it when a cia build is released.
     
  3. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    In that case I'll look in to making a cia build immediately.
     
    Tutimane likes this.
  4. Giodude

    Giodude Ruler of Italy

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

    Our Patreon
    3,931
    1,167
    May 17, 2015
    United States
    New York
    also, does it support closing the console?
     
  5. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    It sure does! :)
     
    BORTZ and ManuelKoegler like this.
  6. NANASHI89

    NANASHI89 GBAtemp Maniac

    Member
    1,103
    121
    May 3, 2012
    United States
    Can you notify me when a CIA version is made?


    Sent from my iPad using Tapatalk
     
  7. x149te

    x149te Member

    Newcomer
    14
    0
    Feb 25, 2010
    Serbia, Republic of
    Can homebrew change music in closed mode by clicking L and R?
     
  8. xtheman

    xtheman GBAtemp Guru

    Member
    5,847
    5,275
    Jan 28, 2016
    United States
    It plays while the console is in sleep mode?
     
  9. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    Yes. Well technically, sleep mode is disabled so that music continues playing through the connected headphones when the 3DS is closed. The internal speaker and the display is turned off still.

    You can pause and play with R currently. Changing music with L and R hasn't been implemented yet. I will be doing that after playlist support. If you create an issue on github about this, I can keep update you there when it gets done.
     
    8BitWonder and elBenyo like this.
  10. GalladeGuy

    GalladeGuy Freeze Kirby :3

    Member
    2,582
    2,641
    Oct 28, 2015
    United States
    Probably an unreasonable request, but it would be amazing if you could read the music from the SD Card on a DS flashcard.
     
  11. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    I've made a test cia, but ndsp does not initialise. I'm not sure what the solution to this is yet.

    Follow this issue if you want updates when a working cia build will be available. I'll message you if I remember. :)

    Edit: A CIA build is now available.
     
    Last edited by MaK11-12, Dec 29, 2016
  12. Jixun.Moe

    Jixun.Moe Member

    Newcomer
    35
    9
    Jan 11, 2016
    York
    How about support for SoundHax maybe?
    /s
     
    pillows2 and tunip3 like this.
  13. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    I've released version 0.4.2.
    Changes:
    • CIAs are now created on build.
    • CIA icon fixed.
     
    hippy dave likes this.
  14. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    Updated 2016-12-30 (0.4.3):
    • Fixed a serious bug where files may randomly not open.
    I don't mean to have a new release every day, but I thought it was necessary this time. In the meantime, I'm busy adding directory browsing and playlist support.
     
    hippy dave likes this.
  15. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    Updated 2016-01-05 (0.4.4):
    • Add directory browsing. Directories are coloured blue.
    • Add MP3 file support.
    Adding the file browser took a while! Surprisingly, mp3 support wasn't difficult though. Enjoy! :)
    If you find any issues, please report it here.
     
    hippy dave and darkvam like this.
  16. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    Updated 2016-01-12 (0.4.5):
    • Fixed an issue where exiting the CIA build was unstable.
    • Major backend refactor to make decoders more modular and reduce duplicated code.
    • Further improvements to overall system stability and other minor adjustments have been made to enhance the user experience.
    Note:
    Due to limitations in ctrulib, only ASCII characters are displayed correctly. Other characters will appear garbled, but functionality is not affected.
    Ctrulibの制約でアスキー文字のみ正しく表示されます。それ以外の文字エンコードの場合文字化けはしますが、機能自体に影響はありません。
     
    hippy dave and GalladeGuy like this.
  17. Jixun.Moe

    Jixun.Moe Member

    Newcomer
    35
    9
    Jan 11, 2016
    York
    Maybe dig and see freeShop's code? I know that app can display Japanese characters properly, and data were fetched remotely.
     
  18. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    That's because FBI is using the 2D graphics library whereas I'm using the plain old console mode of writing text on the screen. This will be fixed once I design and implement a proper GUI for ctrmus. :)
     
    Quantumcat likes this.
  19. RacsoSakuraba

    RacsoSakuraba GBAtemp Regular

    Member
    157
    23
    Mar 13, 2016
    Venezuela
    Why no use github? no is better? Thanks for the app

    EDIT: Forget what I said, I'm blind lol
     
    Last edited by RacsoSakuraba, Jan 12, 2017
  20. MaK11-12
    OP

    MaK11-12 GBAtemp Regular

    Member
    232
    123
    Jul 26, 2009
    Namek
    You're welcome dude. My code is hosted on github here.