We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi,
Does any of you knows how to play an sound with a singel chip. For example something like "Ok" And Or "Cancel" spoken
thank you.
Easy. Record the sound as 8-bit mono PCM data. Convert the sound to binary data - or a const static C array of bytes - and place in your source code. Then use PWM or an analog output to emit the samples at the same speed the recording was sampled.
Your PWM code will not know if it is playing a recording or a sine wave or something else.