Respeaker Lite XU316 and wild volume levels

Technical questions regarding the XTC tools and programming with XMOS.
Spike
Newbie
Posts: 1
Joined: Wed Sep 17, 2025 3:30 am

Respeaker Lite XU316 and wild volume levels

Post by Spike »

Dear all,

I'm new to all of this so bear with me, but I've picked up a Respeaker Lite board that has a XMOS XU316 and been trying to get it to work for a voice assistant project. The first I tried to implement is a simple record/playback example to make sure everything worked and I could get the audio stuff correctly implemented.

After days of frustration I got it working, however I've been stumped trying to manage the volume of the recordings.

I've set things up to record 10 seconds, play it back, pause, rinse and repeat. If I don't speak the VNR is like 2% and the volumes generally ok. If I start speaking the VNR jumps to 77% or more and if I speak for a few seconds the first second or so is at normal volume, but then it increasingly gets louder and louder with RMS in the 2000s.

I tried to send some commands to mess with the AGC and mute/unmute during recording/playback, but perhaps I'm doing something wrong.

I can't figure out what I'm doing wrong. My code is pretty simple, I've attached it to this thread. I'm also attaching a monitor session in case it helps.

appreciate everybody's time to look into this and land a hand.

thanks,
You do not have the required permissions to view the files attached to this post.