mirror of
https://github.com/xdsopl/robot36.git
synced 2026-01-02 22:50:01 +01:00
sync pulse is 9 ms in robot and scottie modes
This commit is contained in:
parent
1fb772e346
commit
f664319018
|
|
@ -81,7 +81,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
double powerWindowSeconds = 0.5;
|
||||
int powerWindowSamples = (int) Math.round(powerWindowSeconds * sampleRate);
|
||||
powerAvg = new SimpleMovingAverage(powerWindowSamples);
|
||||
double syncPulseSeconds = 0.01;
|
||||
double syncPulseSeconds = 0.009;
|
||||
int syncPulseSamples = (int) Math.round(syncPulseSeconds * sampleRate);
|
||||
syncAvg = new ComplexMovingAverage(syncPulseSamples);
|
||||
osc_1200 = new Phasor(-1200, sampleRate);
|
||||
|
|
|
|||
Loading…
Reference in a new issue