You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I would set a sample rate to 1000 seconds, then this ticker would tick at 1ms, I think. Where it should tick at 1s regardless on config.Samplerate. It's just my opinion, I am noob in this, so excuse if I am wrong.
The text was updated successfully, but these errors were encountered:
Not an expert in programming but I think this code is wrong:
tick := time.Tick(time.Duration(1000/config.Samplerate) * time.Millisecond)
If I would set a sample rate to 1000 seconds, then this ticker would tick at 1ms, I think. Where it should tick at 1s regardless on config.Samplerate. It's just my opinion, I am noob in this, so excuse if I am wrong.
The text was updated successfully, but these errors were encountered: