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

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
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?
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.

More formats = more memory/system resources and more time spent on developing something that might otherwise be put to better use.

I would also put a sizeable wager on batch conversion and copying being faster overall by dint of far smaller files (200 songs of 30 something meg FLAC vs near instant/ahead of standard SD write rates conversion to 200 let's say 3 meg MP3s, also saving north of 5 gigs*) on any kind of vaguely modern machine.

*I suppose the switch has no games so you could probably get away with a 16 gig card and have space for videos.
 
  • Like
Reactions: Julie_Pilgrim

DuoForce

Well-Known Member
Member
Joined
Mar 19, 2017
Messages
753
Trophies
0
Age
23
XP
2,056
Country
United States
This is really well made, good job, OP! Nice to have a music player on switch

--------------------- MERGED ---------------------------

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.
You must have extremely small pockets if you could barely fit a DS Lite in them, get bigger pockets, I can walk around public with a lite in my pocket just fine
 
  • Like
Reactions: tallbl0nde

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,293
Trophies
4
Location
Space
XP
13,849
Country
Norway
Yep that's probably my next main focus - incorporating other audio formats!


Yep! If you've used sys-tune before, it functions fairly similar to that.
It looks good :)
When you are implementing other formats, please implement Opus support. There are not enough media players that support Opus natively.
 
  • Like
Reactions: tallbl0nde

GCS

Well-Known Member
Member
Joined
Sep 10, 2020
Messages
525
Trophies
0
XP
967
Country
Turkey
I started trying this, I am using SX OS. At first, I tried putting a few songs into the music folder, it worked pretty well. After that, I copied approx. 120 songs to the music folder and well, the app stuck at "Preparing library". Waited for something like 1 hour and still not opening. Tried restarting the switch and creating sub-folders but none of them worked.

EDIT: Decreasing song number back didn't work.
 
Last edited by GCS,
  • Like
Reactions: Julie_Pilgrim

GCS

Well-Known Member
Member
Joined
Sep 10, 2020
Messages
525
Trophies
0
XP
967
Country
Turkey
Look for special characters. I had the same problem
You were right, thank you. Tried it out with just 1 song and removed the others. But now I need to rename every song
EDIT: Thankfully Linux had an option for multirenaming
 
Last edited by GCS,
  • Like
Reactions: 1basti1

GCS

Well-Known Member
Member
Joined
Sep 10, 2020
Messages
525
Trophies
0
XP
967
Country
Turkey
Hopefully with this homebrew on next update can addapte Spotify Connect client service on switch

Thanks for outstanding job
It would be awesome if Spotify would come out as you said. Additionally, Youtube music would be nice too.
 

nWo

The Game Master
Member
Joined
Oct 20, 2016
Messages
998
Trophies
0
Website
www.facebook.com
XP
2,891
Country
Mexico
Great!! This kind of work is always, always welcome!!! I use the Switch for playing music and video quite a bit, so this is a great addition. Looking forward to any update and congratulations!! I really appreciate your work, as I am sure all of the scene followers do too!!!
 
  • Like
Reactions: tallbl0nde

vaugerbird

Well-Known Member
Newcomer
Joined
Nov 1, 2020
Messages
47
Trophies
1
Location
West Coast
XP
953
Country
United States
Thanks for the release! I was just looking for a better media player than sys-tune yesterday! Also, can confirm problems with special characters as I had a song with the character ø in the file name, and it got stuck on "Preparing your library...".
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
tl;dr: Opus support wen?
When I can find a library for it :P

Nice. but how can we tell which frequencies are what. It is just 1,2,3,4,5 etc.
The equalizer is a part of the mp3 library, I couldn't find any documentation on it but all I know is that obviously the lower bars control lower frequencies.

Could it be possible make a standalone kind of version that can be launched through the .nro without need of sys-module?
Yes, it would require a decent rewrite of the application though so I may consider that once I've got more important things sorted.

It tells me that he is unable to connect to sysmodule
Have you tried rebooting?

Thanks for the release! I was just looking for a better media player than sys-tune yesterday! Also, can confirm problems with special characters as I had a song with the character ø in the file name, and it got stuck on "Preparing your library...".
Yep I've definitely got to fix that when I have that time :P
 
  • Like
Reactions: ErvinGarcia1122

UltimateFight

Mell-Known Member
Member
Joined
Oct 30, 2019
Messages
139
Trophies
0
XP
1,251
Country
China
I noticed there has a Japanese input methods in the homebrew, but no Chinese or Korean input methods. Actually, I can use Chinese and Korean input methods in eshop and Goldleaf's web browser. If you update the support for multilingual characters, will you update their input method?
In sys-tune's overlay, I can press ZL/ZR to fast forward/fast rewind, hope Tirplayer's overlay can have a similar function.
About the equalizer, I think you can pre-set some existing equalizers, such as "pop", "classical", "vocal" or something, just like some music player.

I have to say, what you make is not only a homebrew or sysmoudle, it is also a artwork! The ui design are super nice! Oh god, it has a fade out effect to exit the homebrew! Forgive my poor English, I can't express my compliments very well.:rofl:
 
  • Like
Reactions: tallbl0nde

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Would be awesome to see this support streams (like online radio streams)
I had considered something like that but wasn't sure how to handle it + how resource intensive it would make the sysmodule.

I noticed there has a Japanese input methods in the homebrew, but no Chinese or Korean input methods.
I just checked and it's set to use the "default" switch keyboard, not "all". Should be a simple fix!

About the equalizer, I think you can pre-set some existing equalizers, such as "pop", "classical", "vocal" or something, just like some music player.
Thanks for the kind words! Honestly the equalizer is just an interface for the mp3 library, I'd have to do more research into what each band in the equalizer actually means before I can do something like that :P
 
  • Like
Reactions: UltimateFight

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: (i was allowed to do that)