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

Play/stop music via keyboard #25

Open
ilithya opened this issue May 12, 2020 · 2 comments
Open

Play/stop music via keyboard #25

ilithya opened this issue May 12, 2020 · 2 comments

Comments

@ilithya
Copy link

ilithya commented May 12, 2020

HI Shawn,

First of all, thank you for creating the The_Force.
It is super easy to create audio reactive shaders with it <3

I was wondering if you and others might also find useful adding a keydown event with the space bar, or any other key, to toggle the music's play/stop functions?

I thought of it as I was using this:

  • ctrl+shift will toggle text visibility

and I wanted to access the music without having the code on the screen, nor the pop-up, for recording purposes.

@ilithya ilithya changed the title Play/Stop music via keyboard Play/stop music via keyboard May 12, 2020
@shawnlawson
Copy link
Owner

That's a good idea. I need to look at the sound file part from the other looping audio request.

Also, I need to change ctrl+shift to something else, since that's a selection on windows and linux.

@ilithya
Copy link
Author

ilithya commented May 12, 2020

Yeih, :) I'm happy to hear you liked the idea.

I saw that request — the auto-repeat audio.
I think it's also a good idea.

Btw I'm on a mac, so I wouldn't know about ctrl+shift, but sounds good for window users.

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

2 participants