Browser based YM jukebox

All about chiptunes

Moderators: Mug UK, lotek_style, Moderator Team

User avatar
LynXX
Atari freak
Atari freak
Posts: 50
Joined: Wed Jul 19, 2017 3:15 am
Location: Bern, Switzerland

Browser based YM jukebox

Postby LynXX » Mon Oct 07, 2019 6:10 pm

Hi all,

I've been working on a web-browser based YM jukebox and I finally have a first version available. You can find it here:

https://nguillaumin.github.io/ym-jukebox/

It's pretty basic for now and lacking important features (search for example), but it's a start. At least now you can easily listen to YM tunes on your computer or mobile device! :)

I realize the YM format is kind of obsolete and has been superseded by SNDH, but there's still a huge library of tunes out there, and it was easier to port it to Javascript than a SNDH player, so I went for it.

I put everything on GitHub if you want to contribute, either on the app itself or helping organizing the YM library: https://github.com/nguillaumin/ym-jukebox

To help with library organization I also wrote a little tool to edit YM metadata and various other things: https://github.com/nguillaumin/ymtool It's still in its infancy and only supports the YM5 file format for now. It also doesn't unpack LHA-packed YM files because I couldnt' find a LHA depacker that worked in Go (the language the tool is written in) and I also couldn't find information about the LHA file format to write one myself (if anyone has any technical information about the LHA/LZH format, I'd be interested!).

Feedback is welcome, on this forum or via GitHub issues. I hope you enjoy it!

Thanks!

Nico

User avatar
dma
Atari Super Hero
Atari Super Hero
Posts: 997
Joined: Wed Nov 20, 2002 11:22 pm
Location: France
Contact:

Re: Browser based YM jukebox

Postby dma » Mon Oct 07, 2019 6:50 pm

Hey there,

I think some people did this before, but nice to see another go at it! :)

Other browser based YM players :
- https://github.com/photonstorm/Flod/tree/master/Flym (AS)
- https://github.com/photonstorm/phaser-p ... r/YM/YM.js (CODEF based it seems)
Also some did a SNDH player :
- https://github.com/bobuss/sndh-player
- https://github.com/photonstorm/sc68-2.2.1
(those two are emscripten based, so not "true" JS code one may say ;) )

User avatar
Cyprian
10 GOTO 10
10 GOTO 10
Posts: 1767
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: Browser based YM jukebox

Postby Cyprian » Mon Oct 07, 2019 9:19 pm

great links
thanks both of you


there is something wrong with that player: https://tornil.me/sndh-player/#musics/T ... Intro.sndh
Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.appspot.com/

mlynn1974
Captain Atari
Captain Atari
Posts: 279
Joined: Mon Mar 03, 2008 10:33 pm
Contact:

Re: Browser based YM jukebox

Postby mlynn1974 » Mon Oct 07, 2019 9:40 pm

Nice Player LynXX.

It's a good way to quickly go through lots of YMs which is very useful on a mobile phone. It's fine on Chrome and Firefox but it doesn't seem to work on IE11. It simply displays Loading...

JS error is:
abort(No WebAssembly support found. Build with -s WASM=0 to target JavaScript instead.) at Error: 0 at O
libym.js line 1586
Still got, still working: Atari 4Mb STe, 520STFM, 2.5Mb STF.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).

User avatar
LynXX
Atari freak
Atari freak
Posts: 50
Joined: Wed Jul 19, 2017 3:15 am
Location: Bern, Switzerland

Re: Browser based YM jukebox

Postby LynXX » Tue Oct 08, 2019 1:27 pm

Thanks!

I knew about the Emscripten port of sc68 actually, but I didn't know about the other links, I'll check them out. Mine is also an Emscripten port of the Leonard YM library.

For IE11 I'm not surprised, it's just too old, it would be too much effort to support it. Event Microsoft doesn't want you to use it :) But I will try to at least handle the error more gracefully.

Nico

User avatar
AdamK
Captain Atari
Captain Atari
Posts: 293
Joined: Wed Aug 21, 2013 8:44 am

Re: Browser based YM jukebox

Postby AdamK » Tue Oct 08, 2019 6:29 pm

You could use my recordings at http://sndhrecord.atari.org/ (all recorded from real STE)
Atari: FireBee, Falcon030 + CT60e + SuperVidel + SvEthlana, TT, 520ST + 4MB ST RAM + 8MB TT RAM + CosmosEx + SC1435, 1040STFM + UltraSatan + SM124, 1040STE 4MB ST RAM + 8MB TT RAM + CosmosEx + NetUSBee + SM144 + SC1224, 65XE + U1MB + VBXE + SIDE2, Jaguar, Lynx II, 2 x Portfolio (HPC-006)

Adam Klobukowski [adamklobukowski@gmail.com]

User avatar
LaurentS
Captain Atari
Captain Atari
Posts: 284
Joined: Mon Jan 05, 2009 5:41 pm

Re: Browser based YM jukebox

Postby LaurentS » Tue Oct 08, 2019 8:20 pm

Hi Adam,

I've searched a site like yours for ages without success.
That's exactly what I was looking for.
Thanks a lot.
Couldn't you let me know before ? :lol:

Thanks also to DMA and Lynxx for the online players. :cheers:

Regards
Thadoss

User avatar
ST Graveyard
Obsessed with homicide
Obsessed with homicide
Posts: 2161
Joined: Fri Apr 26, 2002 11:53 pm
Location: Belgium
Contact:

Re: Browser based YM jukebox

Postby ST Graveyard » Sun Oct 13, 2019 12:01 pm

Awesome work Nico. This is do much fun to use on my phone. Thanks for this!
We are Atari Legend.

Visit us at : http://www.atarilegend.com

Youtube
Facebook
Twitter

Sister site :
Stonish.net

User avatar
LaurentS
Captain Atari
Captain Atari
Posts: 284
Joined: Mon Jan 05, 2009 5:41 pm

Re: Browser based YM jukebox

Postby LaurentS » Sun Oct 20, 2019 9:33 pm

I really enjoy the tool. That's so nice.
Would it be possible to add a random play option, so that I could listen to music for hours without having to click to the next one ?

Regards
Thadoss

User avatar
LynXX
Atari freak
Atari freak
Posts: 50
Joined: Wed Jul 19, 2017 3:15 am
Location: Bern, Switzerland

Re: Browser based YM jukebox

Postby LynXX » Mon Oct 21, 2019 8:56 pm

Great idea! I'll look into it, shouldn't be too hard...

User avatar
npomarede
Atari God
Atari God
Posts: 1311
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: Browser based YM jukebox

Postby npomarede » Mon Oct 21, 2019 9:23 pm

Hi

Nice interface for music ; but while listening to some of them, I noticed that the speed is not correct, it plays too fast, as if played at 60 Hz instead of 50 Hz.
For example, listen to "Beatnick" by Mad Max : it really plays too fast and the digidrums are really wrong.
"Wings Of Death 0 - loading" is also too fast, but "WingsLoading" (which should be the same) plays insanely too fast :)

Maybe it's a bug in your player or maybe it depends on the browser, I'm using linux + firefox, but it should be possible to get a correct 1/50 sec between each YM frames (most of he songs should be played at 50 Hz, songs that were composed to be played at 60 Hz are rare)

Nicolas

User avatar
LynXX
Atari freak
Atari freak
Posts: 50
Joined: Wed Jul 19, 2017 3:15 am
Location: Bern, Switzerland

Re: Browser based YM jukebox

Postby LynXX » Tue Oct 22, 2019 8:25 pm

I added a button in the playlist screen to enqueue 100 random songs (can be clicked multiple times). The random selection is pretty naive and may yield duplicates for now.

And yeah there's something wrong with the playback. I don't think it's faster, but the pitch is different and there's something wrong with the digidrums indeed. Thanks for providing that example. At a glance I couldn't find the reason but I'll investigate...


Social Media

     

Return to “Ym rockin'”

Who is online

Users browsing this forum: No registered users and 2 guests