Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

envelope broken in firefox 107 #13

Open
severak opened this issue Dec 2, 2022 · 6 comments
Open

envelope broken in firefox 107 #13

severak opened this issue Dec 2, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@severak
Copy link
Owner

severak commented Dec 2, 2022

What did you do? (steps to reproduce)

Open https://severak.github.io/cyber-music-studio/fm.html and play up and down with mouse.

What happened? (actual results)

In Firefox 107 it will crackle like a hell and in Chrome (and other Webkit based browsers) it sounds just OK

This was not an issue before. I used to develop this software on Firefox and while I was doing this (in 2021) it was sounding good.

Now it's crackling due some weird envelope behaviour. I can change code of my program. I can even do some special behaviour for Firefox here but I don't know how to do it.

@severak
Copy link
Owner Author

severak commented Dec 2, 2022

@severak
Copy link
Owner Author

severak commented Dec 3, 2022

Maybe this solves this - WebAudio/web-audio-api#2437

@severak
Copy link
Owner Author

severak commented Dec 3, 2022

But first try setTargetAtTime instead of setValueAtTime.

Also linearRampToValueAtTime is broken in Firefox as per https://developer.mozilla.org/en-US/docs/Web/API/AudioParam

@severak
Copy link
Owner Author

severak commented Dec 4, 2022

I have testing tool.

It seems to be less buggy in testing tool.

@severak
Copy link
Owner Author

severak commented Aug 8, 2024

maybe solution - tidalcycles/strudel#861

@severak
Copy link
Owner Author

severak commented Sep 4, 2024

also: console.log is async

a = "hello";
  console.log( a ); // prints goodbye
a = "goodbye";

@severak severak added the bug Something isn't working label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant