blob: 843d802eb0bfe5cc124898f32d55b0c312d79b66 (
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.len 0
key r
expect transport.value recording
expect takes.len 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.len 2
expect selected 1
console open test/sweep.wav
expect transport.value stopped
expect takes.len 3
frames 2
expect takes.len 3
screenshot .zig-cache/micscope/strip.png
|