emmanuel63
Well-known member
Hello,
I try to make an audio envelope detector.
I read the audio signal through an analog input. I add a DC voltage to audio signal to read both positives and negatives values. I use square function to transform negatives values to positives, then I do a susbstraction to remove DC.
Now I need to use a low pass filter to get the envelope. I would like to use the filter object from the audio lib , but I can't figure out how to route my data stream into it. Is there a way to stream data into audio objects ?
Thanks for any help.
Emmanuel
I try to make an audio envelope detector.
I read the audio signal through an analog input. I add a DC voltage to audio signal to read both positives and negatives values. I use square function to transform negatives values to positives, then I do a susbstraction to remove DC.
Now I need to use a low pass filter to get the envelope. I would like to use the filter object from the audio lib , but I can't figure out how to route my data stream into it. Is there a way to stream data into audio objects ?
Thanks for any help.
Emmanuel