From c18efa11b3bf11f57e5bd99dd74b84b61f5cc0fa Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 22 Mar 2015 10:56:34 +0100 Subject: [PATCH] wavesynth: fix frame/segment terminology --- artiq/wavesynth/compute_samples.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/artiq/wavesynth/compute_samples.py b/artiq/wavesynth/compute_samples.py index ea7f7e5a1..fecdd1a79 100644 --- a/artiq/wavesynth/compute_samples.py +++ b/artiq/wavesynth/compute_samples.py @@ -110,9 +110,9 @@ class Synthesizer: def main(): program = [ [ - # segment 0 + # frame 0 { - # segment 0, line 0 + # frame 0, segment 0, line 0 "dac_divider": 1, "duration": 100, "channel_data": [ @@ -127,7 +127,7 @@ def main(): "jump": False }, { - # segment 1, line 1 + # frame 0, segment 0, line 1 "dac_divider": 1, "duration": 100, "channel_data": [ @@ -143,9 +143,9 @@ def main(): }, ], [ - # segment 1 + # frame 1 { - # segment 1, line 0 + # frame 1, segment 0, line 0 "dac_divider": 1, "duration": 100, "channel_data": [ @@ -160,7 +160,7 @@ def main(): "jump": False }, { - # segment 1, line 1 + # frame 1, segment 0, line 1 "dac_divider": 1, "duration": 100, "channel_data": [ @@ -176,9 +176,9 @@ def main(): } ], [ - # segment 2 + # frame 2 { - # segment 2, line 0 + # frame 2, segment 0, line 0 "dac_divider": 1, "duration": 84, "channel_data": [ @@ -193,7 +193,7 @@ def main(): "jump": False }, { - # segment 2, line 1 + # frame 2, segment 1, line 0 "dac_divider": 1, "duration": 116, "channel_data": [