pfalstad/circuitjs1

'show frequency' is intermittent

Closed this issue · 3 comments

Whenever I scope something with a waveform faster than ~30KHz it often stops displaying the frequency as text.
Other times it will display frequencies ABOVE ~35KHz.

Adding audio sources with 48KHz sample rates triggers the option to increase horizontal scale resolution, which is sometimes helpful, but I'm not sure if the value propagates to existing scopes.

options>other options> Auto-Adjust Timestep / Minimum time step size (s)

Doesnt seem to help, and I'm not sure if its setting always propagates either.

I'm an electronics noob who is trying to see what I remember, so I tend to work around the intermittent frequency display, and havent done any empirical testing on the problem, so maybe its just me, but it feels like an intermittent bug.

2024-04-25--18-01-35_betlogbeast_20240425175405betlogbeastfalstadcomcircuitcircuitjshtmlGoogleChromepngGeeqie

Hi, when you post a circuit, could you post a link (File->Export As Link) rather than a screenshot.

The frequency doesn't show up steadily if the simulator is having trouble figuring out the frequency. To help with this, adjust the scale and/or make the scope bigger.

Reducing the timestep will help and will also make the simulation more accurate. See Options->Other Options and reduce it to maybe 0.5u .