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

classic Classic list List threaded Threaded
11 messages Options
ljc
Reply | Threaded
Open this post in threaded view
|

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

ljc
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 <[hidden email]>

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

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

Michael Gogins-2
Probably Pulseaudio or ALSA. Did you look at this: https://wiki.archlinux.org/index.php/PulseAudio?

On Sun, Nov 15, 2020, 20:20 ljc <[hidden email]> 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 <[hidden email]>

Csound mailing list
[hidden email]
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 [hidden email] 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
ljc
Reply | Threaded
Open this post in threaded view
|

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

ljc
el Sun, 15 Nov 2020 20:39:02 -0500
Michael Gogins <[hidden email]> 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 <[hidden email]>

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

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

hlolli
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 <[hidden email]> wrote:
el Sun, 15 Nov 2020 20:39:02 -0500
Michael Gogins <[hidden email]> 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 <[hidden email]>

Csound mailing list
[hidden email]
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 [hidden email] 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
ljc
Reply | Threaded
Open this post in threaded view
|

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

ljc
el Mon, 16 Nov 2020 10:39:17 +0100
Hlöðver Sigurðsson <[hidden email]> 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 <[hidden email]>

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

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

hlolli
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 <[hidden email]> wrote:
el Mon, 16 Nov 2020 10:39:17 +0100
Hlöðver Sigurðsson <[hidden email]> 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 <[hidden email]>

Csound mailing list
[hidden email]
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 [hidden email] 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
ljc
Reply | Threaded
Open this post in threaded view
|

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

ljc
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 <[hidden email]>

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

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

hlolli
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 <[hidden email]> 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 <[hidden email]>

Csound mailing list
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] Re: [Csnd] [partially OT] ide.csound, firefox, Arch

Victor Lazzarini-2
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>

Csound mailing list
[hidden email]
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 [hidden email] 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 [hidden email] 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
ljc
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] [EXTERNAL] Re: [Csnd] [partially OT] ide.csound, firefox, Arch

ljc
el Mon, 16 Nov 2020 19:53:06 +0000
Victor Lazzarini <[hidden email]> 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 <[hidden email]>

Csound mailing list
[hidden email]
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
ljc
Reply | Threaded
Open this post in threaded view
|

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

ljc
In reply to this post by hlolli
el Mon, 16 Nov 2020 17:50:05 +0100
Hlöðver Sigurðsson <[hidden email]> 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 <[hidden email]>

Csound mailing list
[hidden email]
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