pfalstad / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
1.77k stars 296 forks source link

Ignoring timestep and running simulations without UI updates #54

Open tekinozbek opened 1 year ago

tekinozbek commented 1 year ago

I have an audio circuit that I want to run but I do not need to see the UI updating, so I would like to have the simulation run as fast as possible without losing any accuracy in the audio. Otherwise I have to wait a long time to get 1-2 seconds of audio samples.

ataricom commented 1 year ago

I get your frustration; I've recreated most of the MFOS synth modules and they're pretty sluggish and glitchy. Here are some of the things I do to speed it up:

r3a1d3a1 commented 2 months ago

It'd be great to have a toggle to run the simulation IRL speed (1x) and have the audio play continuously as long as the sim is running.