Hello Sidrah,

I've added some comments to the adc_rec and dac_play source to indicate 
which STM32F4 pins the signals connect to.

They don't connect to the Discovery board microphone or PCM codec.  I 
imagine there are examples available from STM for using these devices.

the profile programs are for profiling (measuring the execution speed), 
they don't do any I/O. sm1000_main.c is the closest to what you want.

What is your application?

- David

On 20/04/15 20:33, Sidrah Javed wrote:
> Hi Everyone,
>
> I have been trying to record audio from built-in STM32F4 Mic using
> adc_rec.elf and similarly to play audio (.raw file) to STM32F4 Speaker
> Jack using dac_play.elf. But unfortunately none of these is working for me.
>
> Firstly, adc_rec.elf does generate an adc.raw file but it does not
> contain any speech upon listening through play command. Can any1 help me
> in resolving this issue? Is this modulated speech? Or it does not take
> audio input from Mic rather from any PIN? If so then which PINs of STM
> board?
>
> Secondly, dac_play.elf does not play stm_in.raw on the speaker jack of
> STM32F4 board. Is it also producing output on some other PINs of STM board?
>
> I have also been working on freedv_tx_profile and freedv_rx_profile. I
> also want to know where (At which pins) it gives coded and modulated
> transmission output? and from where does it receive reception Input?
>
> I am new in this and could not understand much from the C codes. I will
> highly appreciate any help from this forum.
>
> Looking forward for the kind response.
> Best Regards
> -Sidrah
>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>
>
>
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to