Sound generation with PWM

Is it possible to generate sound (sin waves or human speech) from PWM capability of Spark Core ? If it is , What is the specific PWM frequency to generate 8kps sampled sound(wav ) file?

There’s some information about tone-generation to be found here: http://docs.spark.io/firmware/#advanced-i-o-tone

2 Likes