 For this week's Circuit Python Parsec, I want to show how you can use the Circuit Python audio mixer in order to crossfade between two audio files as they are playing. Here you can see I'm importing audio core as well as audio mixer and then the audio I owe I'm getting audio out so that I can send audio over one of the pins on this board. I'm setting up the number of voices here is two and then my mixer has a in this case a two-voice count. It sets the sample rate, the channel count, bits per sample and then we set up the audio mixer and play that object. Then we're setting up two voices, voice 0 and voice 1 and setting their levels. So this is the kind of key to using the mixer. Mixer.voice 0 level and I'm setting that at 1. So the first voice or first wave file will be at full volume. Voice 1, that's the second one, that'll be off. So here I have these two samples. One is a drum loop and one is a synthesizer loop. So we start them playing and they they're told to loop forever but we're only going to hear the first one because of the mixer. Then throughout the code what we do is gradually fade one up while we fade the other one down and then reverse it. So we'll hear those come in and out. So what I'm going to do is set this to playing and you should hear and see in my serial output what's going on. There's the synths. I'm going to play for a second at full volume and then the drums. So you can see that's a really cool way to have some synced up loops that are playing and just bring in the ones you want without having to worry about resetting them or timing them to start at an exact moment. And that is how you can use the audio mixer inside of Circuit Python. That's your Circuit Python. Parsec.