Live data from Hacker News

I Built My Own Audio Player

nexo.sh

71–80 of 209 posts

Re: I Built My Own Audio Player

#71
> Initially, I avoided Swift because of my previous experience with it […] without native async/await at that time, writing concurrent code compared to Go or JS/TS felt clunky and boilerplate-heavy.

I have to disagree. Async may makes concurrent code easier to write, but also less simple to reason about as it grows. In a complex async codebase, I find it harder to reason about code flow and concurrency.

If the goal is to reduce the cost of executing threaded code, we have a solution in green light weight threads.

If we aim to reduce the cost of maintaining threaded code, I expect async to end up costing more effort in the long run.

Re: I Built My Own Audio Player

#72

I built my own audio player too. https://github.com/nzoschke/jukelab It's a web app with the Spotify Web Playback SDK or a good old MP3 HTTP server and API like Internet Archive. It works crazy well on a ChromeBook, and reasonably well on an iPhone, iPad or Android both through a native app with a webview component or the browser. I have a theory the pendulum is swinging back and there is a demand for controlling our…

Yes web player usually requires 206 support on http or you can chop up the audio file to a m3u format.

Or else a large audio file will be halted on the clientside till it is fully downloaded.

Re: I Built My Own Audio Player

#73
post #6

I wonder if one could build this in HTML, so there is no need to install anything. On both iOS and Android, HTML can play videos and mp3s while the screen is turned off. So maybe it is possible?

I use an app in NextCloud called Music. I can use this from all my devices.

Re: I Built My Own Audio Player

#76

Managing local music with Music.app and syncing with Finder iPhone sync still works good for me, but Music.app does seem unmaintained for a couple years now with some annoying bugs since the terrible Big Sur rewrite. Despite the flaws this combination is still the best music library management + mobile sync solution I've seen (plz recommend!), but I feel eventually will have to write a system myself since the softwar…

The built in Finder sync is still very broken on my 5th Gen Video iPod. The most annoying breakage was trying to sync podcasts - it worked fine back when iTunes was the program to do that with, but when using the Finder sync on Big Sur it's buggy and does not remember your place in the podcast if you move to another track / podcast and back, which functionally makes podcasts longer than a few minutes unusable on the device.

Re: I Built My Own Audio Player

#78
I come from the times where winamp was the go-to music player. Today, even in the age of streaming services I still keep a local music library organized in folders. So, just as others here in the comments I built myself an old-school music player as a hobby project to listen to my music offline. It's a 1 page html/js app, has full keyboard controls and also features a simple queue mechanism functionality Check it out: https://nobsutils.com/mp

Re: I Built My Own Audio Player

#80
Man, this is awesome. It's sad that this is a rarity now a days... I have a hard time playing my own music on the iPhone as well. I'm pretty sure the first mp3 I played was in DOS BBS days and you spent a good 20 minutes downloading a single song and then fired up a fraunhoffer DOS CLI player. S3M/XM/IT players were much more advanced interfaces at the time....
Post reply on HN