721
edits
Line 32: | Line 32: | ||
If you were successful with setting up the teensy and piezo microphone, you can make a step further and learn how to wrestle with audio data directly on the teensy! | If you were successful with setting up the teensy and piezo microphone, you can make a step further and learn how to wrestle with audio data directly on the teensy! | ||
With the help of the [https://www.pjrc.com/teensy/td_libs_AudioNewObjects.html teensy documentation] and | With the help of the [https://www.pjrc.com/teensy/td_libs_AudioNewObjects.html teensy documentation] and [[:File:envelope_follower_template.zip]] you should be able to grasp how this works. Basically you write your own teensy audio object by including a C++ class that is structures as documented in the link above. This class will receive a pointer from to the audio input stream coming from the piezo and can do some work on it. |