Live data from Hacker News

A Reimplementation of Winamp 2.9 in HTML5 and JavaScript

github.com

91–100 of 212 posts

Re: A Reimplementation of Winamp 2.9 in HTML5 and JavaScript

#91

Author here. I wrote a Twitter thread demonstrating many of its features. You can find it here: https://mobile.twitter.com/captbaritone/status/9612747140133...

This is great and brings back a lot of old memories. Something that would help this spread (perhaps if it was hosted somewhere dedicated to it), is allowing a URL of an MP3 or a list of other audio files to be included in the link so people can share a song "the way it was meant to be played."

Thanks for your hard work and for making sure it wasn't broken in Edge. It was really satisfying to pull it up on my Windows 10 Mobile without issue.

Re: A Reimplementation of Winamp 2.9 in HTML5 and JavaScript

#93

Earlier quoted context omitted.

It theoretically could, but the endpoint would need to serve the assets with permissive CORs headers.

That makes sense, I forgot about the pesky CORS situation. My thinking was maybe the or other subsystem that is capable of loading MP3s remotely (since they are media objects) could do the same for playlist data. Cheers!

Yeah, CORs is a wrench in the works for this stuff. Even our audio source is subject to CORs because we want to be able to do EQ and visualization.

Re: A Reimplementation of Winamp 2.9 in HTML5 and JavaScript

#96

Earlier quoted context omitted.

Unfortunately, you can never fully work. DRM means we can’t get raw access to the audio stream so EQ, visualization, balance, (for example) won’t work.

Pretty sure you can get it for visualization...

If you have an example, send it my way! I believe the Analyser node cannot get output from a tainted source.

Re: A Reimplementation of Winamp 2.9 in HTML5 and JavaScript

#98
post #92

Just says "Loading ..." for me when using SlimJet? Chrome works.

Here is the same thing, the errors are:

TypeError: Object.entries is not a function(…)e.(anonymous function) @ console.js:32

Skin.js:127 Uncaught (in promise) TypeError: Object.entries is not a function(…)

Re: A Reimplementation of Winamp 2.9 in HTML5 and JavaScript

#99

Author here. I wrote a Twitter thread demonstrating many of its features. You can find it here: https://mobile.twitter.com/captbaritone/status/9612747140133...

Does it decode the audio files (mp3, etc.) into the low level PCM audio samples and play those back? Or does it use a higher level browser API that lets you play high level mp3 files directly?

If the latter, how can you still implement the equalizer?

Re: A Reimplementation of Winamp 2.9 in HTML5 and JavaScript

#100

Author here. I wrote a Twitter thread demonstrating many of its features. You can find it here: https://mobile.twitter.com/captbaritone/status/9612747140133...

Does it decode the audio files (mp3, etc.) into the low level PCM audio samples and play those back? Or does it use a higher level browser API that lets you play high level mp3 files directly? If the latter, how can you still implement the equalizer?

Web Audio supports it: https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilte...

See how it's used here: https://github.com/captbaritone/winamp2-js/blob/master/js/me...

Post reply on HN