blob: 4e0e48023e918292c42472af2e54305f3f887940 (
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
24
25
26
27
28
29
30
31
|
# The tuner on a take, at its playhead: five notes where the strongest FFT
# peak is not (or not only) the note. Expected, by screenshot:
# E1 0 cents (41.2 Hz) bass, 2nd harmonic loudest
# E2 0 cents (82.4 Hz) guitar, weak fundamental
# A4 +12 cents (443.1 Hz) sharp
# D4 0 cents (293.7 Hz) fundamental missing
# C7 0 cents (2093 Hz) piccolo
console open test/tones.wav
click 107 150
frames 20
screenshot .zig-cache/micscope/tuner-e1.png
click 290 150
frames 20
screenshot .zig-cache/micscope/tuner-e2.png
click 472 150
frames 20
screenshot .zig-cache/micscope/tuner-a4.png
click 654 150
frames 20
screenshot .zig-cache/micscope/tuner-d4.png
click 837 150
frames 20
screenshot .zig-cache/micscope/tuner-c7.png
# Another reference pitch: A4 = 443 makes the sharp A4 in tune.
click 472 150
key right_bracket
key right_bracket
key right_bracket
expect a4 443
frames 20
screenshot .zig-cache/micscope/tuner-a443.png
|