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
401
Trophies
0
Age
27
XP
2,132
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,375
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: 273
  • Dazzling Smile.zip
    4.3 MB · Views: 223
  • Dance!.zip
    8.2 MB · Views: 192

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,414
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,416
Trophies
1
Age
41
XP
4,623
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
  • Psionic Roshambo @ Psionic Roshambo:
    Lol that reminds me I am like 60% sure my step daughter is dead...
  • Psionic Roshambo @ Psionic Roshambo:
    Meth addicts don't move out of a house they are trying to sell and the boyfriend says she moved and does not know where lol
  • K3Nv2 @ K3Nv2:
    I was about to be like can't wait for gta6 so @Psionic Roshambo can tell me places to go then you drop that
    +3
  • BigOnYa @ BigOnYa:
    But gta6 will be in Psi hometown, and all cars will have a women on the roof, booty shaking.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    That was a thing here in Florida for a minute
  • Psionic Roshambo @ Psionic Roshambo:
    Like cars with the booty shaking lol I seen it once in person was like smiling lol
    +1
  • K3Nv2 @ K3Nv2:
    Nah I'm talking about visiting areas he hides his bodies at
  • Psionic Roshambo @ Psionic Roshambo:
    Vice City kind of feels like Miami lol
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, it's a parody iirc
  • BigOnYa @ BigOnYa:
    Yea think that's where it was supposed to be, Miami
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Having been to Miami hmmm probably a hundred times lol
  • Psionic Roshambo @ Psionic Roshambo:
    Back in my days as a delivery driver for a cartel well driver slash guy they would send if a payment was forgotten lol
  • Psionic Roshambo @ Psionic Roshambo:
    you know to help them find their checkbook lol
  • BigOnYa @ BigOnYa:
    Gta4 was NewYork or Chicago, gta5 is California
  • K3Nv2 @ K3Nv2:
    Damn camera phones catching crimes
  • Psionic Roshambo @ Psionic Roshambo:
    Always some women screaming... You break a few thousand dollars worth of crap in someone's living room and they scream lol
  • Psionic Roshambo @ Psionic Roshambo:
    lol Ken yeah the things I did as a kid I am soooo glad those didn't exist
  • K3Nv2 @ K3Nv2:
    If someone breaks my $20 TV stand their nose is getting broke
  • Psionic Roshambo @ Psionic Roshambo:
    Psi would be doing like 300-3,000 years in prison lol
  • K3Nv2 @ K3Nv2:
    Have some in closet allegations?
  • Psionic Roshambo @ Psionic Roshambo:
    Someone tried to pull a gun on me once, they reached into the couch thinking I wouldn't notice, quick kick to the arm snapping it between the wrist and elbow broke like a swing lol I reached into the couch to see what was in there, cool a free .380 lol had to hit him with it a few times to remind him not to do it again lol
  • Psionic Roshambo @ Psionic Roshambo:
    He had the 20K he owed the very next day it was a miracle lol
  • Psionic Roshambo @ Psionic Roshambo:
    Psi was a bad bad man at one point lol
  • BigOnYa @ BigOnYa:
    We need a GTA based on your life
    BigOnYa @ BigOnYa: We need a GTA based on your life