Skip to content

Using "simulated_audio_pot" with encoder #568

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

You must be logged in to vote

kit.setVolume(), incrementVolume(), decrementVolume() is using the built-in volume functionality of the Audiokit.
You should not add any delay in the loop because this might disturb the audio output.
Why didn't you just use kit.incrementVolume(steps); I would expect that this should work correctly both for positive and negative values...

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nradina
Comment options

@pschatzmann
Comment options

Answer selected by pschatzmann
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