Homebrew NXMilk a trivial audio player for switch

  • Thread starter Thread starter proconsule54
  • Start date Start date
  • Views Views 12,288
  • Replies Replies 70
  • Likes Likes 25
Ported libiconv 1.8, libcdio (for the libiso9660) and libarchive to 3.8.0) , now i am polishing code.

expect a new release this weekend!

enjoy!
Post automatically merged:


Thanks, i will add to BUT_Y feature.

Is useful for you to add just like i added to nxmp a argv start option for playback file?
Oh yes please, that would be great!
 
  • Like
Reactions: proconsule54
This is what will be supported in next version:

  • Network support fot ssh/sftp nsf smb
  • Archive support with libarchive (many)
  • Cue/bin support (for audio cd) will work also with mixed mode images (data/audio) ot just “omit” the data track
  • Iso9660 support (for iso disk image)
  • arg support ( @TotalJustice this is for you and your great project Sphaira
  • Fast inmemory seek for audio file inside archive (for audio file < 100MB)

I will support any other format/protocol if needed just le me know.

Enjoy!
 
Homebrew can't run when the console is asleep, but I think it's possible to for a homebrew to turn the screen off without entering actual sleep mode.
yes but the button pressing will still be active, i know there is an alarm feature in some games that activates sound when locked
 
Hmm, there's probably another way to do it. They have this disabled backlight in the mario 3d collection when you play the album songs.

Do you set the applet media playback to true? Maybe that effects it?

Edit: maybe this one works? https://github.com/switchbrew/libnx...9178/nx/include/switch/services/applet.h#L496
I will try it now
Post automatically merged:

@TotalJustice with appletSetLcdBacklightOffEnabled app freeze.
lblSwitchBacklightOff is more promising since didn't crash anything
 
Last edited by proconsule54,
I will try it now
Post automatically merged:

@TotalJustice with appletSetLcdBacklightOffEnabled app freeze.
lblSwitchBacklightOff is more promising since didn't crash anything
Ah that's a shame. I've not messed with the backlight so I can't really help much. Although I guess disabling the backlight isn't super important if we can't it working :)
 
  • Like
Reactions: proconsule54
Milkdrop, the great vis for winamp
Post automatically merged:

@TotalJustice i found a workaround for the backlight.

the lblSwitchBacklightOff works, i mapped it to plus button. it works ONLY if pressed and also the touchscreen is pressed (once), than it turns on/off without stopping audio.

Very very strange
 
Last edited by proconsule54,
Milkdrop, the great vis for winamp
Post automatically merged:

@TotalJustice i found a workaround for the backlight.

the lblSwitchBacklightOff works, i mapped it to plus button. it works ONLY if pressed and also the touchscreen is pressed (once), than it turns on/off without stopping audio.

Very very strange
i hope this can get fixed, looking foward to next update
 
  • Like
Reactions: proconsule54
I changed also the vis presets

New version will arrive soon :D

Enjoy!


Post automatically merged:

New release out

https://github.com/proconsule/NXMilk/releases/tag/v0.2.0

Added​

  • Network support (SSH/SMB/NFS)
  • CUE/BIN support (AUDIO CD Image playback) support also mixed mode image (data+audio)
  • ISO9660 support (CD/DVD image)
  • Archive support (RAR/ZIP/TAR.GZ) audio file inside an archive (fast inmemory seek for file < 100MB)
  • Added argv file playback for sphaira file assocation
  • Backlight On/Off for minimize power consumption

Changes​

  • Changed milk builtin presets



Enjoy!
 
Last edited by proconsule54,
Some screenshot of testing.

Lib Test program:
2024041721161500.jpg

NXMilk using the library:

2024041417435400.jpg
2024041417440400.jpg
2024041417442000.jpg


AudioCD Playback working, now i am working on iso9660 and udf support (for future DVD playback)
Post automatically merged:

Read speed is 2.4 MB/s peak (sequential reading)
I will try more drive to ensure it works well.
This will be a lib for usb-dvd intended to support as many reader/fs type as possible.
The first version will support only audiocd (mounted as acd0:/) showing each audio track as a wav file (autogenerating the wav header) so dumping a track will be just a copy operation.

Can be paired with ffmpeg to dump/convert on the fly just like a normal readonly filesystem.

I will support iso9660 also but i want to do it without using libiso9660 (that i already ported) but creating a new one from scratch so it will take some time.

Hope you all enjoy this “maybe” out of time support of dvd drives on switch
 
Last edited by proconsule54,
Things moving fast, i implemented iso9660 with joliet support (Rock Ridge will arrive also). it works very well.
Hope to release this soon!
Post automatically merged:

All stuff are custom made (no external lib used) so don't expect perfection at first try :D

Also if someone want to test dvd support (it can help me fixing stuff i didn't found out) PM me
 
Last edited by proconsule54,
Basic rockridge support, works well.
Timestamp also are ok, md5sum test passed on file copy.
next one will be udf for dvd support.

Probably noone will care about cd/dvd support on switch…. But it was cool doing it
 

Site & Scene News

Popular threads in this forum