10000 How to stop a voice? · Issue #7 · dzlonline/the_synth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

How to stop a voice? #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
arpruss opened this issue Jul 11, 2017 · 3 comments
Open

How to stop a voice? #7

arpruss opened this issue Jul 11, 2017 · 3 comments

Comments

@arpruss
Copy link
arpruss commented Jul 11, 2017

I have a really stupid question: I can set the note for a voice with mTrigger(), but I don't see an API to stop one particular voice. Am I missing something, or is the API missing?

@dzlonline
Copy link
Owner
dzlonline commented Jul 11, 2017 via email

@arpruss
Copy link
Author
arpruss commented Jul 12, 2017

setLength(voice,0) does the job.
By the way, what units is the length in?

@perremba
Copy link

You might use suspend in order to stop the interrupt, and then reconfigure the pin as input (to cut the remaining noise)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0