Structure
Nine columns:
A straight segment —an undeformed chord— carries
- in Handle_X, Handle_Y
and Radius.
How it is ordered
The rows are ordered by the step they start at, mixing every channel: it is the order in which it plays back.Each row stands on its own
A row says from which step to which step it runs, on which channel, between which levels and with what curve. The arrival level repeats as the starting level of the next row, and that repetition is exactly what saves you from remembering old rows from other channels. The result: you can play it back one line at a time, without loading the whole file into memory.The only column that looks ahead
Corner_Radius says how much to round the break with the segment that follows on that same channel:- With
-or0, the break stays sharp. - With a radius
r, the curve eats the last half ofrof this segment and the first half of the next, passing through the connection point as a vertex.
-.
What is not in the file
There is no total length. The analog signal lasts as long as its segments and
can end before the end of the timeline.
The resolution
Level0 and Level1 come out quantized to the resolution chosen on export: 8, 10, 12 or 16 bits.With metadata
At the end of the file, after a blank line:RX channels
Analog channels marked as receive are exported with the sameRX_CHANNELS / RX_TOLERANCE (steps) lines as the
digital format, and in the .json
each channel carries its direction. The values of an RX column are the curve
expected to be measured; the ESP32 generator measures it with its ADC instead
of outputting it on the DAC (see Reception).