mattdesl / canvas-sketch

[beta] A framework for making generative artwork in JavaScript and the browser.
MIT License
4.97k stars 393 forks source link

Record canvas with sound #163

Closed jusebin closed 9 months ago

jusebin commented 1 year ago

Hello ! I'm trying to create an audio visualizer I'm wondering if there is any way to record sound with the canvas-sketch ?

When I tried to to record hit by typing ctrl + maj + s the video is recorded, but not the sound.

Thank you !

mattdesl commented 1 year ago

Unfortunately this is a little complicated, I haven't found a solid way of doing it (but I haven't really tested it beyond just looking into how it could be done). I think for now this is out of scope of canvas-sketch and you'd be better off just doing a regular screen recording, but if anybody has ideas how it could be achieved I'm all ears.