Sound_to_LPC.praat 423 B

12345678910111213
  1. # test/fon/Sound_to_LPC.praat
  2. # Paul Boersma, 22 November 2011
  3. for i to 30
  4. duration = randomUniform (0.001, 0.003)
  5. windowDuration = randomUniform (0.002, 0.005)
  6. samplingFrequency = randomUniform (16000, 96000)
  7. sound = Create Sound from formula: "test", 1, 0, duration, samplingFrequency, ~ 1/2 * sin(2*pi*377*x) + randomGauss(0,0.1)
  8. noprogress To LPC (burg): 16, windowDuration, 0.005, 50
  9. plus sound
  10. Remove
  11. endfor