03-29-2022, 09:13 PM
(03-29-2022, 05:36 PM)Jens Noritzsch Wrote:Code:<audio>
<output>recording</output>
<output component="rate">rate</output>
</audio>
The audio data is in the buffer “recording”. In contrast to other sensors, audio data has no time stamp associated to it. That's why phyphox goes to some length in the analysis block to create some time buffer.
Code:<graph label="Audio Data" labelX="Time" unitX="[[unit_short_milli_second]]" labelY="Amplitude" unitY="[[unit_short_arbitrary_unit]]" scaleMinY="extend" scaleMaxY="extend">
<input axis="x">subtime0</input>
<input axis="y">subdata</input>
</graph>
Hm… our remote access indeed plots “subdata” against “subtime0”.
The python code depends on some time buffer, so that I know, which data points I already "downloaded".
How is the buffer "recording" accessable in a real-time sense then?