Hi, I am new to Audio Weaver. What I want to do is define the ADC of the microcontroller as my input in order to capture the signal of an electret microphone.Then I want to process it with audio weaver filter and finally define my output as a USB audio class in microphone mode, because I want that my computer read it as a microphone and not as a speaker. Is it possible to do define these inputs and output in the app?
1:45pm
Hi Jacqueline,
In your installed AWECore ST_EVAL_CortexM4 package, the file SampleApps\STM32F407\Source\AudioDriver.c shows how the awe_audioImportSamples() and awe_audioExportSamples() APIs are currently called. You can investigate from here on how to modify the buffering of audio from different sources and sinks, but to my knowledge the STM32F4 Discovery board only has a DAC and no ADC, so I don't think you will be able to achieve your desired I/O.
Thanks,
Michael
7:35pm
Thanks for the response, I will look to the file that you mention. What I wanted to try is to use the peripheral ADC of the microcontroller, the one of 12 bit because I am using frequencies below 1kHz. Is it possible to add an external ADC and keep using the processing of the program?