GoogleChrome / audion

Audion is a Chrome extension that adds a Web Audio panel to Developer Tools. This panel visualizes the web audio graph in real-time.
https://chrome.google.com/webstore/detail/web-audio-inspector/cmhomipkklckpomafalojobppmmidlgl
Apache License 2.0
371 stars 56 forks source link

Apple Silicon support? #116

Open mrmachine opened 2 years ago

mrmachine commented 2 years ago

Thanks for this amazing extension. There are not many alternatives that can produce a graph of web audio chains. None in fact, that I have found.

However, this extension appears to not work at all on Apple Silicon. I just get the little box at the top left of a white screen on a 2020 M1 MacBook Pro. On my Intel iMac, it works fine and I get the same little box at the top left, but I also get the graph.

hoch commented 2 years ago

Hmm. Unfortunately, I have no way of reproducing this at the moment.

@max-vogler @mzgoddard Do we have any M1 machines to test this?

mrmachine commented 2 years ago

Is there some additional logging I can enable to provide you with more details?

hoch commented 2 years ago

https://developer.chrome.com/docs/extensions/mv3/tut_debugging/

This might be helpful.

mrmachine commented 2 years ago

I built the extension locally and loaded the unpacked version. I had the Web Audio panel open while viewing a page that uses web audio API. In the extensions window I clicked on the red Errors button, and this is what I saw:

image

Then, I tried again just to be sure, and this time I did see a graph of audio nodes in the Web Audio panel. It doesn't look quite right, because there are no lines connecting the nodes:

image

While the page was running, I also noticed a lot of extension errors. I made a short screen recording, to capture them:

https://user-images.githubusercontent.com/51939/149267002-d0deeb7c-f0f5-416e-9c69-bc6b7b8b1719.mov

Perhaps there is an npm package being installed for the production build that is not compatible with Apple Silicon, but when I install (with npm ci) locally, it works. Sort of (missing lines, errors).

hoch commented 2 years ago

Thank you so much for the detailed reporting. We'll take a look at soon.

hoch commented 2 years ago

The dev team currently can't reproduce the issue. We'll take this on when we get M1 devices.

DracoBlue commented 1 month ago

does it work for others on apple silicon?

Bildschirmfoto 2024-10-06 um 12 34 13