Username:     
Password:     
             

Forum

# 1   2013-06-20 12:21:59 Voice Recorder

Flod
New member
Registered: 2013-06-10
Posts: 5

Voice Recorder

Hello,

I want to use the voice recorder but when I set AUDIO_RECORD and after AUDIO_ PLAY, it doesn't work, and I initialize the AUDIO_SetMode .

This is my code:

AUDIO_SetMode ( VOICE_CIRCULAR_MODE, LG_16_BITS, FRQ_16KHZ, MONO );
    AUDIO_Record ( AudioBuffer, sizeof(AudioBuffer)/sizeof(s16) );
    DRAW_Clear();
    DRAW_DisplayString ( 8, 80, " ** RECORDING **", 17 );
    if ( ( BufferStatus & LOW_EMPTY ) && ( BufferStatus & HIGH_EMPTY ) )
            {
            AUDIO_Playback_Stop();
            AUDIO_Play(AudioBuffer,sizeof(AudioBuffer)/sizeof(s16));}


So If you can help me, that's be great !
Thank you !
Flod

Offline

 

# 2   2013-06-21 13:24:26 Voice Recorder

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Voice Recorder

Take a look at this project that implements these functions :
http://www.stm32circle.com/projects/project.php?id=68

Offline

 

Board footer