Simplest, fastest way to track audio signal?
T Chap
Posts: 4,223
Recently I experimented with using a counter to control a voltage to an opto FET that is operating as a shunt on an audio signal path. The idea on that project is to ramp in and out of some audio (mp3's) playing on a vinculum>VS1033. It gave me an idea to experiment with building a compressor for audio signals, where the FET will attenuate the signal based on sending it a voltage from a counter. The question I have is, what is a good way to track the signal, so the program can have a threshold and apply an envelop that has presets set up to manage the output DAC. The idea is to least affect the original audio path, only tap off it to trip a preset threshold. Would using the bare bones Prop ADC method work fine with some assembly code, or would an external DAC be best? 'Best' meaning the least affect on the audio path (load, adding noise etc), plus speed of tracking the audio. I am also thinking that the opto FET is not the best solution, but just get a FET designed for AC, since the LED takes some amount of voltage just to turn on. Any suggestions?
Comments
-Phil
Post Edited (Todd Chapman) : 7/3/2010 8:26:30 PM GMT
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quicker answers in the #propeller chat channel on freenode.net. Don't know squat about IRC? Download Pigin! So easy a caveman could do it...
http://folding.stanford.edu/ - Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
Does anyone have a suggestion to watch an audio input that may range from 0 to several volts AC? I don't care about what is below 0 (negative). I just want to see what is above 0, and set a threshold to trigger a method that runs an envelop with a counter on each trip point exceeded. The thing is how to attach a line to an audio signal without affecting it, then rectify it if needed to see the positive. Can the basic Prop ADC do something like this? I will have time to test it in a few days. I2C seems like it would be a bit slow to catch a transient, but would be fine on a vocal probably.
MIC to VGA is interesting
Post Edited (Todd Chapman) : 7/4/2010 8:41:10 PM GMT