[HN Gopher] Making a Flute-Controlled Mouse
___________________________________________________________________
Making a Flute-Controlled Mouse
Author : kaycebasques
Score : 47 points
Date : 2024-04-27 23:47 UTC (23 hours ago)
(HTM) web link (0110.be)
(TXT) w3m dump (0110.be)
| kazinator wrote:
| The remote possibilities here are staggering. If we could send
| beeps in the human vocal range over phone lines to control
| things, it could revolutionize telephony!
| 082349872349872 wrote:
| Just be sure that cereal box giveaways don't whistle at the
| same frequencies (aren't tuned to concert pitch?)
| ghgr wrote:
| Ha! In case you're one of today's lucky 10,000
| https://en.m.wikipedia.org/wiki/John_Draper
| MichaelMug wrote:
| Instant thought: forte and fortissimo increase velocity or maybe
| specific chords.
| foreigner wrote:
| Does it work with whistling? You could control your mouse like
| that character from Guardians of the Galaxy!
| pants2 wrote:
| 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.
| marci wrote:
| Or even talk to your computer
| https://en.wikipedia.org/wiki/Whistled_language
| Syntonicles wrote:
| 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.
| foreigner wrote:
| It's like a reverse Theremin
| Euphorbium wrote:
| It would be great if it could subtract the music that is playing.
| AlecSchueler wrote:
| Very cool but you wouldn't get very far in an FPS by sending one
| event at a time. This way you can't did things like strafe
| turning or shoot while walking.
|
| A flute normally has about 2 octaves of diatonic notes, certainly
| true for a recorder. I'd suggest expanding the number of usable
| notes so that some could be used for compound commands.
|
| In saying that, what would be even better, would be to allow the
| use multiple notes at ones, polyphonic instruments, so that
| chords could be used for this effect. Say you play a C to walk
| forwards, a G to strafe right, and E to shoot, then a C major
| triad could be played to do all these things simultaneously. A
| flute quartet could maybe play the game together.
| carlsverre wrote:
| This is hilarious. Reminds me of the YID (yelling input device) I
| made for the stupid shit hackathon in 2018[1]. Playing with
| alternative ways to control systems is a fun exercise in
| creativity.
|
| [1]: https://github.com/carlsverre/yid
| kaycebasques wrote:
| Who do I need to annoy to make another Stupid Shit Hackathon
| happen??
| andoando wrote:
| Love it. I did something similar with mapping a digital piano to
| keyboard events. With a whole band we can control a computer
| 082349872349872 wrote:
| see also https://en.wikipedia.org/wiki/Musical_cryptogram
| adybray2 wrote:
| Why is this not called PiedPiper?!?!
| rcarmo wrote:
| HN never disappoints on weekends. I especially liked the sharper
| note to click the mouse button.
| wesamco wrote:
| This is the future! :)
| bewaretheirs wrote:
| The post links to a prior implementation:
| https://www.reddit.com/r/JustGuysBeingDudes/comments/195gqnm...
| where it shown being in a FPS video game.
|
| Top comment there is: "The Pied Sniper" (!)
|
| That clip appears to be from
| https://www.twitch.tv/deanobeano/clip/CharmingDoubtfulCattle...
| (note: brief profanity at the end of the clip).
| squarefoot wrote:
| I would use that with a drawing software to turn any shittyflute
| tune into a piece of art.
| lll-o-lll wrote:
| Need to add the ability to control acceleration with volume.
___________________________________________________________________
(page generated 2024-04-28 23:01 UTC)