summaryrefslogtreecommitdiff
path: root/examples/micscope/test/render.script
diff options
context:
space:
mode:
Diffstat (limited to 'examples/micscope/test/render.script')
-rw-r--r--examples/micscope/test/render.script18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/micscope/test/render.script b/examples/micscope/test/render.script
new file mode 100644
index 0000000..71b50c7
--- /dev/null
+++ b/examples/micscope/test/render.script
@@ -0,0 +1,18 @@
+# The rendering reference (see README.md): song, street and sweep in one
+# take. Screenshots land in .zig-cache/micscope/ for review.
+console open test/reference.flac
+expect transport.value stopped
+frames 3
+screenshot .zig-cache/micscope/reference.png
+# Playing: the playhead across waveform and spectrogram, the spectrum.
+key right
+frames 90
+expect-audio 1
+screenshot .zig-cache/micscope/reference-playing.png
+# Zoomed into the street: the low end's hum lines and the noise floor.
+key space
+hold left_ctrl
+wheel 660 150 4
+release left_ctrl
+frames 3
+screenshot .zig-cache/micscope/reference-street.png