VS1053b real-time mic to output

Designing hardware that use VLSI Solution's devices as the system controller for the entire design.
Post Reply
smiljanic997
User
Posts: 1
Joined: Thu 2020-12-24 15:04

VS1053b real-time mic to output

Post by smiljanic997 » Thu 2020-12-24 15:13

Hello.
I need to get the microphone input and decode it in order to do some processing on a microcontroller. Then, I need to pass that processed stream to the output. This has to be real-time. My question is, is this possible with VS1053b?

Currently I'm able to play a file, but I cannot get the samples from the microphone, and when I eventually do get them, I'm not sure how to pass them to the output. As I understand, I should first send a WAV header and then samples from the microphone.

User avatar
pasi
VLSI Staff
Posts: 1749
Joined: Thu 2010-07-15 16:04

Re: VS1053b real-time mic to output

Post by pasi » Mon 2020-12-28 10:02

The regular encoding mode is encoding only.

You need something like the "duplex" application to get the samples in PCM format, and play back in PCM format at the same time.

See VS1053 Full-Duplex Application from http://www.vlsi.fi/en/support/software/ ... tions.html .
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply