Debian Codegraph @

test/fon/Sound_to_Spectrogram.praat

raw
1 # test/fon/Sound_to_Spectrogram.praat
2 # Paul Boersma, 18 May 2025
3
4 Create Sound from formula: "sineWithNoise", 1, 0, 1, 44100, "1/2 * sin(2*pi*377*x) + randomGauss(0,0.1)"
5
6 asserterror Your sound is too short:'newline$'it should be at least as long as two window lengths.
7 To Spectrogram: 5, 5000, 0.002, 20, "Gaussian"
8
9 asserterror No frequency bins in spectrogram analysis.
10 To Spectrogram: 0.005, 1, 0.002, 20, "Gaussian"
11
12 Remove