[ui/plot] changing chunk size of the plot depending on the sampling rate
This commit is contained in:
parent
4029034174
commit
6d2eb09c65
@ -36,7 +36,7 @@ class Continously:
|
||||
|
||||
# self.plot_index = 0
|
||||
self.timer = QTimer()
|
||||
self.CHUNK_PLOT = 500
|
||||
self.CHUNK_PLOT = int(self.buffer.samplerate / 6)
|
||||
self.PLOT_HISTORY = 500_000 # The amount of data you want to keep on screen
|
||||
self.last_plotted_index = 0
|
||||
self.timer.setInterval(150)
|
||||
|
Loading…
Reference in New Issue
Block a user