Re:Making a Flute-Controlled Mouse
by foreigner on Sunday April 28, 2024 @04:54AM
(#40187091)
Does it work with whistling? You could control your mouse like that character from Guardians of the Galaxy!
[ Parent
| on HN ]
I made a game like this the other day just for fun! It worked pretty well but it's more of a novelty and not really fun to whistle for more than 30s.
Or even talk to your computer https://en.wikipedia.org/wiki/Whistled_language
Re:Making a Flute-Controlled Mouse
by Syntonicles on Sunday April 28, 2024 @01:55PM
(#40190386)
Yes, I made a game that you controlled by whistling, back in 2018 with the WebAudio API.
My version of the cursor kept a continuous scan velocity horizontally across the screen, and you controlled the y-axis via pitch. Button presses were (intentional) collisions.