TriPlayer - A feature-rich audio player for Nintendo Switch

wd7qBy2.png


Hey everyone! I'd like to introduce a little something I've been working on since February. After 9 months I believe it's at a state where it's ready for a public release!

Let me introduce TriPlayer, my project that came to be due to the lack of a "proper" audio player for the Nintendo Switch. TriPlayer automatically scans and organizes any audio files you have in the /music folder on the root of your SD card. As pictures speak a thousand words, I'll let the following screenshot help describe it:

ci80MLQ.jpg

As you can see, it handles the metadata embedded within audio files in order to create a complete music library. The music will keep playing while you're playing a game or using another application. Playback can be controlled via the provided Tesla overlay or by pressing button combinations on the controller.

Requirements:
  • A recent version of Atmosphere (0.10.0+)
    • TriPlayer may work on other CFWs, however this is untested
    • The sysmodule requires ~3MB of free memory, so this may clash with other sysmodules
  • A recent firmware version
    • Once again this hasn't been tested, but some code relies on newer firmwares so I suggest 10.0.0+
  • Some music!
    • FLAC, MP3 and WAV are supported at this time
Installation:

1. Download the latest release as a .zip from here
2. Extract the contents to the root of your SD card
3. Place some music in /music
4. Launch the application and wait for the initial scan to complete

GitHub:

A lot more information and usage is covered on my GitHub repo. See the readme for a brief introduction and link to the wiki where everything is covered in detail.
https://github.com/tallbl0nde/TriPlayer

Final Notes:

I hope TriPlayer is useful to many of you who have been wanting a music player on the Switch. As it's quite complex, there's a good chance I've missed some major bugs. Please report these as issues on GitHub. Note that should the sysmodule crash, it will crash the entire OS. While I personally haven't had any crashes while both listening and not listening to music, I recommend stopping the sysmodule (either via the app or overlay) when you're not using it if you want to be extra safe.

Enjoy! :)
 
Last edited by tallbl0nde, , Reason: Update supported formats

UltimateFight

Mell-Known Member
Member
Joined
Oct 30, 2019
Messages
139
Trophies
0
XP
1,251
Country
China
This will work to stop the sysmodule, but you'll probably find next time you go to start it it won't work. I'm not sure why, but if the process isn't safely shut down it isn't able to reuse the IPC name for communication unless the Switch is rebooted. Because of this I recommend using the "Stop Sysmodule" button in TriPlayer's overlay instead.
I think you can add the json file and type "requires_reboot": true in it, then users can't use sysmodule-overlay to enable or disable TriPlayer but they can choose whether or not to start the TriPlayer at boot. (ok I notice there has a same settings in the homebrew:rofl2:but why not have more choose?)
 
Last edited by UltimateFight,

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
I could never use any console as a audio player, they are so clunky and its a process.
Smartphones are the best way to play music like ever!
 

UltimateFight

Mell-Known Member
Member
Joined
Oct 30, 2019
Messages
139
Trophies
0
XP
1,251
Country
China
bug report
Chinese and Japanese characters are missing, looks like a familiar bug.:rofl:
1.png 12.png
2.png 22.png
This one, the artist's name overlaps with the music title.
3.png 32.png
Finally, why it doesn't show the album's pictures?:unsure:
 
  • Like
Reactions: Deleted User

hamohamo

Well-Known Member
Member
Joined
Jan 16, 2017
Messages
400
Trophies
0
Age
27
XP
2,126
Country
This looks very very cool. But of course flac, ogg and wav are needed. Reminds me of the days when I used my DSi XL as a music and anime watching machine even more than playing videogames
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
Re FLAC support
Are that many people in a hurry to waste their storage space? Can you actually hear a difference at the best of times? Is the Switch's DAC and audio setup even vaguely near "best of times"?

As an archival format then yeah sure FLAC is as good as any other lossless format but as a day to day playback... why?
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
bug report
Chinese and Japanese characters are missing, looks like a familiar bug.:rofl:
View attachment 232248 View attachment 232249
View attachment 232250 View attachment 232251
This one, the artist's name overlaps with the music title.
View attachment 232252 View attachment 232253
Finally, why it doesn't show the album's pictures?:unsure:
Dang it, I knew I forgot something. Unfortunately that'll mean I need to find a new font that supports all those characters, or perhaps use the default switch one.

I'm not sure about the pictures though, maybe the characters are causing it to not find an image? What happens if you go to the album, then open the context menu (three dots), press view information and try to set the image from the file there?
 
  • Like
Reactions: Deleted User

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
I click the "repalce from audio file"and choose the same mp3 file, then it says "No ablum art was found in the selected file."
I try to"repalce from SDcard" and choose my jpg file, then it works.
View attachment 232258
Hmm that's a pain, I'm using the mpg123 library to extract the images so I may have to write my own code instead :/
Does it happen with all of your files or only certain ones?
 

UltimateFight

Mell-Known Member
Member
Joined
Oct 30, 2019
Messages
139
Trophies
0
XP
1,251
Country
China
All of them.:rofl:
I upload some MP3s here, maybe it'll be easier for you to research them.
I'm not sure if this is a violation of community rules:unsure:, if so, please tell me I'll delete them.
 

Attachments

  • OCTOPATH TRAVELER - Main Theme.zip
    6.1 MB · Views: 271
  • Dazzling Smile.zip
    4.3 MB · Views: 222
  • Dance!.zip
    8.2 MB · Views: 191

SeongGino

The Average One
Member
Joined
May 20, 2015
Messages
939
Trophies
0
Age
25
Location
Jersey, Jersey
Website
www.twitter.com
XP
1,932
Country
United States
Re FLAC support
Are that many people in a hurry to waste their storage space? Can you actually hear a difference at the best of times? Is the Switch's DAC and audio setup even vaguely near "best of times"?

As an archival format then yeah sure FLAC is as good as any other lossless format but as a day to day playback... why?
FLAC aside, it's people's choice of format so why judge them? If it's what they have, they'd rather use what they have rather than go through a conversion process - especially if it's already in some form of compressed format (.ogg, etc.)

My music library's currently encoded entirely in `.opus` format (for best compression:quality ratio), and obviously going to MP3 is just wasting even more space, plus creating second-generation copies is even less desirable.

tl;dr: Opus support wen?
 
  • Like
Reactions: Julie_Pilgrim

lemonmaster

Well-Known Member
Member
Joined
Mar 29, 2020
Messages
123
Trophies
0
XP
1,403
Country
United States
Re FLAC support
Are that many people in a hurry to waste their storage space? Can you actually hear a difference at the best of times? Is the Switch's DAC and audio setup even vaguely near "best of times"?

As an archival format then yeah sure FLAC is as good as any other lossless format but as a day to day playback... why?
Some people want the best quality possible, even if it means barely any difference and lots of space wasted. I consider them one of myself. Not to mention if perhaps flac and etc formats never got supported for this in the near future, I would have to go through the pain of converting tons of my playlists to mp3s just to use them on this app.
 
  • Like
Reactions: Julie_Pilgrim

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,372
Trophies
1
Age
41
XP
4,583
Country
Argentina
Unfortunately the Switch is a tad too big for a portable music player. Even the lite is still too big. Heck only my DS lite was small enough while folded.
 
  • Like
Reactions: Julie_Pilgrim

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @salazarcosplay, Good.