blob: 2750a18141adcb0f960f3f0bd22dea40c9020b13 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Records (from whatever microphone the host gives a headless run) into a
# new take, stops, and plays it back.
expect takes 0
key r
expect transport.value recording
expect takes 1
frames 60
screenshot .zig-cache/micscope/recording.png
key r
expect transport.value stopped
key space
expect transport.value forward
frames 10
# Each recording is another take; opening a file while recording ends it.
key r
expect takes 2
expect selected 1
console open test/sweep.wav
expect transport.value stopped
expect takes 3
frames 2
expect takes 3
screenshot .zig-cache/micscope/strip.png
|