Use the VS1005 bob

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
edwardsjethro
User
Posts: 1
Joined: Tue 2024-03-26 5:14

Use the VS1005 bob

Post by edwardsjethro »

Hello!

I am using the VS1005 bob with two digital I2S microphones used for recording, and storing data in mp3 format on an SD card. I would like to know if there is a possibility of measuring the sound level of an audio input, and using that measure for interrupts on certain levels?

Thanks in advance!

Kind regards.
Hannu
VLSI Staff
Posts: 532
Joined: Mon 2016-05-30 11:54
Location: Finland
Contact:

Re: Use the VS1005 bob

Post by Hannu »

I assume you are using Rec because hiresrec writes wav files.
The documentation found from
https://www.vlsi.fi/fileadmin/software/ ... _Shell.pdf

has a Rec control commands chapter.

Basically you give string ~0209 and it would report level. I don't know if it works during pause but I don't see why not.

One thing to note. If you don't have ftidcbl in your input chain, the DC value can skew the result.

And on the other hand ftiagc also tampers the results too, but that is because it is auto gain controller. If you are trying to clip the silent parts, check that the AGC doesn't amplify it too much and you can detect the silence.
Post Reply