Live data from Hacker News

Show HN: Musikcube, a terminal-based music player, library, and streaming server

musikcube.com

41–50 of 85 posts

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#41
I've been a pretty big fan of CMUS and CLI based based audio playback for a long time..

This is absolutely amazing— much more polished than the alternatives—it feels like christmas.

Now I can't wait to contribute a pull request :) Thank you so much!

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#44
post #32

Earlier quoted context omitted.

Not currently; the only client right now is a native Android app[1]. However, the server[2] uses vanilla HTTP (for audio) and WebSockets (for data and eventing), so it should be relatively straight forward to build a web frontend. [1] https://github.com/clangen/musikcube/tree/master/src/musikdr... [2] https://github.com/clangen/musikcube/wiki/remote-api-documen...

Even with a web frontend, I'm not clear on how I could get the audio from, say, youtube to go over the websocket instead of to the typical playback device. With something like Pulseaudio, I believe it's possible to stream to a remote host, but then musikcube would need a pulseaudio compatibility layer

You would have to download the youtube audio first (eg. using youtube-dl -x) then add that to your Musikcube library.

Then a web frontend could be served served audio over HTTP and play that back on the remote client.

Pulseaudio is system based audio, whereas here we are just talking about local audio to the musickube app.

Interesting idea to add pulseaudio compatability though..

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#45
post #35

Please could someone explain why it's necessary to use 24bit/192k - I thought due to Nyquist/Shannon theory that 192k was overkill. In fact, doesn't it create more ear strain listening to higher frequency sample rates?

Play lower and higher quality encodings through a decent size of sound system (2kW upwards) to discover what all those frequencies do

I think you need to lookup Nyquist/Shannon as already alluded to in this post. Plus it's about the quality of the playback, not how loud it is. Having said that, after spending a weekend in a field in Cambridge, in front of a speaker, my hearing is now pretty shot :)

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#50
post #35

Please could someone explain why it's necessary to use 24bit/192k - I thought due to Nyquist/Shannon theory that 192k was overkill. In fact, doesn't it create more ear strain listening to higher frequency sample rates?

For playback, 16 bits / 44.1KHz is fine. No humans have ears that can reliably distinguish more than that.

For editing and production, more bits per sample and more samples per second make it possible to mix sources without reducing quality of the final output.

There is no advantage to that final output being 24/192, or 20/88.

There is no ear strain that comes from higher sample rates, though.

Post reply on HN