Csound Csound-dev Csound-tekno Search About

[Csnd] [partially OT] ide.csound, firefox, Arch

Date2020-11-16 01:20
Fromljc
Subject[Csnd] [partially OT] ide.csound, firefox, Arch
Hello, list.

This is only partially related to Csound, but I could really use some
help from experienced Arch linux users. I installed Arch recently,
with Xfce and Firefox as a web browser.

In Firefox sound works fine with YouTube videos and the like, but I
get no sound from https://ide.csound.com/. The projects run and I see
the messages in the console, but no sound. 

BTW, I have a similar problem on other web sites, like SoundCloud or
SoundSlice (https://www.soundslice.com/slices/MtZcc/).

I booted from a Manjaro live CD (based on Arch, I understand), and
sound works fine on all those sites. I could ditch Arch and install
Manjaro, but I'd prefer to keep it simple and minimalistic. As long as
it works, of course...


-- 
ljc 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-11-16 01:39
FromMichael Gogins
SubjectRe: [Csnd] [partially OT] ide.csound, firefox, Arch
Probably Pulseaudio or ALSA. Did you look at this: https://wiki.archlinux.org/index.php/PulseAudio?

On Sun, Nov 15, 2020, 20:20 ljc <ljc@internet.com.uy> wrote:
Hello, list.

This is only partially related to Csound, but I could really use some
help from experienced Arch linux users. I installed Arch recently,
with Xfce and Firefox as a web browser.

In Firefox sound works fine with YouTube videos and the like, but I
get no sound from https://ide.csound.com/. The projects run and I see
the messages in the console, but no sound.

BTW, I have a similar problem on other web sites, like SoundCloud or
SoundSlice (https://www.soundslice.com/slices/MtZcc/).

I booted from a Manjaro live CD (based on Arch, I understand), and
sound works fine on all those sites. I could ditch Arch and install
Manjaro, but I'd prefer to keep it simple and minimalistic. As long as
it works, of course...


--
ljc <ljc@internet.com.uy>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-11-16 02:03
Fromljc
SubjectRe: [Csnd] [partially OT] ide.csound, firefox, Arch
el Sun, 15 Nov 2020 20:39:02 -0500
Michael Gogins  escribió:

> Probably Pulseaudio or ALSA. 

No, sound works fine in the system in general, and also in Firefox. If
I go to the audio test page (https://hpr.dogphilosophy.net/test/), all
the formats play fine (except for .caf, of course). 

So it doesn't seem to have anything to do with audio per se. As I
mentioned in my previous mail, I only have this problem on certain web
sites that I guess use some scripts or whatever to generate and/or
reproduce audio.





-- 
ljc 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-11-16 09:39
FromHlöðver Sigurðsson
SubjectRe: [Csnd] [partially OT] ide.csound, firefox, Arch
Sounds like a dysfunction in the webaudio of your Firefox version. Can you tell me which firefox version you are running. And make another test for me and check if the examples at https://flossmanual.csound.com/ produce audio?

On Mon, 16 Nov 2020 at 03:03, ljc <ljc@internet.com.uy> wrote:
el Sun, 15 Nov 2020 20:39:02 -0500
Michael Gogins <michael.gogins@GMAIL.COM> escribió:

> Probably Pulseaudio or ALSA.

No, sound works fine in the system in general, and also in Firefox. If
I go to the audio test page (https://hpr.dogphilosophy.net/test/), all
the formats play fine (except for .caf, of course).

So it doesn't seem to have anything to do with audio per se. As I
mentioned in my previous mail, I only have this problem on certain web
sites that I guess use some scripts or whatever to generate and/or
reproduce audio.





--
ljc <ljc@internet.com.uy>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-11-16 15:20
Fromljc
SubjectRe: [Csnd] [partially OT] ide.csound, firefox, Arch
el Mon, 16 Nov 2020 10:39:17 +0100
Hlöðver Sigurðsson  escribió:

> Sounds like a dysfunction in the webaudio of your Firefox version.

Hmmm, that definitely seems to be related. If I disable dom.webaudio in
about:config, audio on SoundCloud plays fine, but ide.csound.com
doesn't even open, I just see a blank page.

> Can you tell me which firefox version you are running.

82.0.3 (64-bit)

BTW, I get the same problem in Gentoo (same Firefox version).

> And make another test for me and check if the examples at
> https://flossmanual.csound.com/ produce audio?

The console opens and the example runs, but I get no audio. Disabling
webaudio, the console doesn't open.


-- 
ljc 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-11-16 15:26
FromHlöðver Sigurðsson
SubjectRe: [Csnd] [partially OT] ide.csound, firefox, Arch
html5 audio and webaudio api are differently treated. I'm on Firefox nightly 84.0a1 on NixOs and csound runs fine with good audio. Could be this Firefox version, I guess you installed Firefox on Gentoo also through pacman?

On Mon, 16 Nov 2020 at 16:20, ljc <ljc@internet.com.uy> wrote:
el Mon, 16 Nov 2020 10:39:17 +0100
Hlöðver Sigurðsson <hlolli@GMAIL.COM> escribió:

> Sounds like a dysfunction in the webaudio of your Firefox version.

Hmmm, that definitely seems to be related. If I disable dom.webaudio in
about:config, audio on SoundCloud plays fine, but ide.csound.com
doesn't even open, I just see a blank page.

> Can you tell me which firefox version you are running.

82.0.3 (64-bit)

BTW, I get the same problem in Gentoo (same Firefox version).

> And make another test for me and check if the examples at
> https://flossmanual.csound.com/ produce audio?

The console opens and the example runs, but I get no audio. Disabling
webaudio, the console doesn't open.


--
ljc <ljc@internet.com.uy>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-11-16 16:21
Fromljc
SubjectRe: [Csnd] [partially OT] ide.csound, firefox, Arch
So, here's the thing: there's a bug (?) in Firefox with webaudio and
ALSA. It seems webaudio only works with pulseaudio. Actually, it's not
clear to me if they consider this a "bug", or if they just decided to
not support pure ALSA and only support pulseaudio. Which is a monumental
PITA. Slowly we've been pushed into this whole pulseaudio/systemd crap.
How did this happen?


https://bugzilla.mozilla.org/show_bug.cgi?id=1624110



-- 
ljc 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-11-16 16:50
FromHlöðver Sigurðsson
SubjectRe: [Csnd] [partially OT] ide.csound, firefox, Arch
Continuing off-topic, it seems all distros are getting prepared for https://pipewire.org/ to get popular. Wayland is on the way in and X11 on the way out. Perhaps these changes are related to that. But I'm glad this isn't a bug in csound itself :)

p.s., chromium and chrome should work fine right?

On Mon, 16 Nov 2020 at 17:21, ljc <ljc@internet.com.uy> wrote:
So, here's the thing: there's a bug (?) in Firefox with webaudio and
ALSA. It seems webaudio only works with pulseaudio. Actually, it's not
clear to me if they consider this a "bug", or if they just decided to
not support pure ALSA and only support pulseaudio. Which is a monumental
PITA. Slowly we've been pushed into this whole pulseaudio/systemd crap.
How did this happen?


https://bugzilla.mozilla.org/show_bug.cgi?id=1624110



--
ljc <ljc@internet.com.uy>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-11-16 19:53
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] [partially OT] ide.csound, firefox, Arch
Do we need to worry about writing a backend for this pipewire thing?

Prof. Victor Lazzarini
Maynooth University
Ireland

On Nov 16, 2020, at 4:50 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Continuing off-topic, it seems all distros are getting prepared for https://pipewire.org/ to get popular. Wayland is on the way in and X11 on the way out. Perhaps these changes are related to that. But I'm glad this isn't a bug in csound itself :)

p.s., chromium and chrome should work fine right?

On Mon, 16 Nov 2020 at 17:21, ljc <ljc@internet.com.uy> wrote:
So, here's the thing: there's a bug (?) in Firefox with webaudio and
ALSA. It seems webaudio only works with pulseaudio. Actually, it's not
clear to me if they consider this a "bug", or if they just decided to
not support pure ALSA and only support pulseaudio. Which is a monumental
PITA. Slowly we've been pushed into this whole pulseaudio/systemd crap.
How did this happen?


https://bugzilla.mozilla.org/show_bug.cgi?id=1624110



--
ljc <ljc@internet.com.uy>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-11-16 22:37
Fromljc
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] [partially OT] ide.csound, firefox, Arch
el Mon, 16 Nov 2020 19:53:06 +0000
Victor Lazzarini  escribió:

> Do we need to worry about writing a backend for this pipewire thing?

The website says: "Seamless support for PulseAudio, JACK, ALSA and
GStreamer applications." No idea what that means, though.


-- 
ljc 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-11-16 23:12
Fromljc
SubjectRe: [Csnd] [partially OT] ide.csound, firefox, Arch
el Mon, 16 Nov 2020 17:50:05 +0100
Hlöðver Sigurðsson  escribió:

> Continuing off-topic, it seems all distros are getting prepared for
> https://pipewire.org/ to get popular. Wayland is on the way in and
> X11 on the way out. Perhaps these changes are related to that.

I had no idea of this pipewire thing, looks interesting. On one hand,
this could improve the handling of audio and video in Linux (which
isn't that great right now), but on the other hand, in recent years
several "improvements" in the Linux world have been going in the wrong
direction. So, let's see where this goes.

> But I'm glad this isn't a bug in csound itself :)

Definitely not.

> p.s., chromium and chrome should work fine right?

Google Chrome works fine, yes, it's a Firefox thing.

-- 
ljc 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here