Skip to content

Help for simple voice assistant setup #1618

Closed Answered by pschatzmann
mirkosertic asked this question in Q&A
Discussion options

You must be logged in to vote

I is a bit unclear what you are doing: Are you mixing the different inputs or just switching between the different sources ?

The AudioKit uses I2S in douplex mode, so when your mp3 changes the sample rate, the microphone is automatically changed to the same rate.

So I don't understand why you want to convert anything. But when you send the output from the decoer to a FormatConverter, you can fix the sample rate to a fixed output rate which will not change the I2S.

You can do this both on the input side or output side of the copy.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@mirkosertic
Comment options

@pschatzmann
Comment options

@mirkosertic
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
1 reply
@mirkosertic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants