## The following examples are based on my vowels
i = vowelsynth (returnsound = FALSE)
a = vowelsynth (ffs = c(700, 1300, 2300, 3400), returnsound = FALSE)
e = vowelsynth (ffs = c(400, 2000, 2600, 3400), returnsound = FALSE)
o = vowelsynth (ffs = c(400, 800, 2300, 3400), returnsound = FALSE)
u = vowelsynth (ffs = c(300, 750, 2300, 3400), returnsound = FALSE)
silence = rep(0, 1000)
vowels = c(a, silence, e, silence, i, silence, o, silence, u)
writesound (vowels, filename = 'vowels.wav', fs = 10000)
Run the code above in your browser using DataLab