[error] WebAudio AudioContext
I am using Faust code I had success on earlier, to render my MIDI keyboard signal into audio. Today, I see an odd error in the console:
In Brave:
The AudioContext encountered an error from the audio device or the WebAudio renderer.
In Firefox:
An AudioContext was prevented from starting automatically. It must be created or resumed after a user gesture on the page.
Here is the specific Faust code:
declare options "[midi:on][nvoices:12]";
import("stdfaust.lib");
freq = hslider("freq[midi:key]",200,50,1000,0.01);
gain = hslider("gain",0.5,0,1,0.01);
gate = button("gate");
envelope = en.adsr(0.01,0.01,0.8,0.1,gate)*gain;
process = os.sawtooth(freq)*envelope;
I also see this with "Output is Off". I'm unable to play any sound from Faust.
Maybe there is a dev guide to get a local copy up and running? If this has been a browser API change, I can spend some energy to make repairs. Or, perhaps a regression may require you to roll back a deployment. If you've seen this before I'll be glad to make any required changes on my side. If I can't play piano today, I'll play the other keyboard.
Are you speaking of https://faustide.grame.fr ? See here: https://github.com/grame-cncm/faustide.
Yes.
Sent from Proton Mail Android
-------- Original Message -------- On 10/14/25 4:37 PM, Stéphane Letz wrote:
sletz left a comment (grame-cncm/faust#1175)
Are you speaking of https://faustide.grame.fr ?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
On which OS ?
NixOS. If you can give me some background on WebAudio - is there any OS bindings to be concerned about, such as PipeWire / JACK / ALSA ? I can begin compiling the IDE with a Nix flake and see where the problem comes up.
The odd piece is that I've been able to use the same keyboard in the FaustIDE before - do you know of anything that changed in the deployment in the last month?
Nothing I'm aware of.