VS1053: how to disable output to line out when recording from mic

Writing software that controls the system and peripherals such as displays, SD cards, Buttons, LEDs, Serial Ports etc.
Post Reply
zulunation
Senior User
Posts: 47
Joined: Mon 2012-02-06 23:04

VS1053: how to disable output to line out when recording from mic

Post by zulunation »

HI ALL,

I noticed when vs1053 recording from mic it outputs data to output in real-time.
Is any way to disable output to line out when recording from mic or line in?
Thanks
User avatar
pasi
VLSI Staff
Posts: 2174
Joined: Thu 2010-07-15 16:04

Re: VS1053: how to disable output to line out when recording from mic

Post by pasi »

You can set the monitoring volume to -96dB. The monitoring volume doesn't affect the encoding itself.

Either write 0xc0c0 to SCI_VOL well before starting encoding so that it has ended up as DAC volume by the time you start encoding, or write to DAC_VOL directly (see 10.8.7. of the vs1053 datasheet).
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
zulunation
Senior User
Posts: 47
Joined: Mon 2012-02-06 23:04

Re: VS1053: how to disable output to line out when recording from mic

Post by zulunation »

Thanks, It worked!
bidid
User
Posts: 1
Joined: Thu 2023-03-09 14:39

Re: VS1053: how to disable output to line out when recording from mic

Post by bidid »

hello sir please can you give me the code i needed thanks
zulunation
Senior User
Posts: 47
Joined: Mon 2012-02-06 23:04

Re: VS1053: how to disable output to line out when recording from mic

Post by zulunation »

See the datasheet.
There is a code sample there.

I noticed that REG_VOL does not change monitor volume during recording.
As stated in datasheet.
Also I see that DAC_VOL does not change also.
Is that correct?
User avatar
pasi
VLSI Staff
Posts: 2174
Joined: Thu 2010-07-15 16:04

Re: VS1053: how to disable output to line out when recording from mic

Post by pasi »

zulunation wrote: Thu 2023-05-18 21:53I noticed that REG_VOL does not change monitor volume during recording.
As stated in datasheet.
Also I see that DAC_VOL does not change also.
In the vs1053b encoding mode a change in SCI_VOL isn't detected without the patches package. DAC_VOL should still work, because it's a direct hardware register.

If you're using an app (Ogg Vorbis Encoding App, or the VS1053/VS1063 WAV PCM Recorder Application), they may behave differently.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Post Reply