You are not logged in.

#1 Yesterday 18:58:59

CoredumpArch
Member
Registered: Yesterday
Posts: 1

Firefox streaming vs raw audio quality

Hello,

I'm not sure where to post this type of question.

I'm thinking about writing a music player. The only question I have concerns the audio quality.

I'm thinking about having a frontend (web) and a backend service (all in localhost).

Will I have a better quality by writing the engine that reads the music or by streaming the music to the web browser (ex. Firefox) that will then read the music ? Or doesn't it matter ?

I'm thinking about using the FFMEPG library for reading the music.

Thank you very much in advance for any help

Offline

#2 Today 12:54:44

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,418

Re: Firefox streaming vs raw audio quality

https://wiki.archlinux.org/title/Professional_audio may give you some ideas/tips.

Moderator Note

moving to Programming & Scripting


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 Today 13:15:48

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 798

Re: Firefox streaming vs raw audio quality

CoredumpArch wrote:

Will I have a better quality by writing the engine that reads the music or by streaming the music to the web browser (ex. Firefox) that will then read the music ?

Better than what? What is your metric of "quality"?

Offline

#4 Today 13:45:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,854

Re: Firefox streaming vs raw audio quality

psycho-acoustic compression will  10:1 up to 20:1 compared to PCM, decoding on the server and sending the PCM stream might run you into latency issues and also the server doesn't know the the client HW/mixer so you might have to convert the frequency on the client.

Are you aware that mpd and a metric shit-ton of clients for it exist?

Offline

Board footer

Powered by FluxBB