test/fon/Spectrum_draw.praat
raw| 1 | # test/fon/Spectrum_draw.praat |
| 2 | # Paul Boersma 2017-08-28 |
| 3 | |
| 4 | # There used to be a bug that caused Praat to crash with an assert message |
| 5 | # if you drew a Spectrum that contained undefined values. |
| 6 | |
| 7 | sound = Create Sound as pure tone: "tone", 1, 0, 0.4, 44100, 440, 0.2, 0.01, 0.01 |
| 8 | spec = To Spectrum: "yes" |
| 9 | Formula: ~ self / 0 |
| 10 | Draw: 0, 0, 0, 0, "yes" |
| 11 | |
| 12 | removeObject: sound, spec |