Skip to content
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

SineWave object that reacts to key presses #138

Open
ladmeyer opened this issue Apr 25, 2023 · 1 comment
Open

SineWave object that reacts to key presses #138

ladmeyer opened this issue Apr 25, 2023 · 1 comment

Comments

@ladmeyer
Copy link

What would be the simplest way to get a sine wave to play while a key is held and then stop once it is released? Right now, I'm using SineWave and RtWvOut, and am running into audio buffer underrun errors. Thanks for the library!!

@ladmeyer
Copy link
Author

guess what? I just figured this out -- referring to the crtsine.cpp in the examples folder was helpful.

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

1 participant