News for hackers. Stuff that matters.
Re:Making a Flute-Controlled Mouse by kazinator on Sunday April 28, 2024 @01:36AM (#40186269)
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!
Re:Making a Flute-Controlled Mouse by 082349872349872 on Sunday April 28, 2024 @01:29PM (#40190200)
Just be sure that cereal box giveaways don't whistle at the same frequencies (aren't tuned to concert pitch?)
Re:Making a Flute-Controlled Mouse by ghgr on Sunday April 28, 2024 @02:45PM (#40190780)
Ha! In case you're one of today's lucky 10,000 https://en.m.wikipedia.org/wiki/John_Draper
Re:Making a Flute-Controlled Mouse by MichaelMug on Sunday April 28, 2024 @02:21AM (#40186434)
Instant thought: forte and fortissimo increase velocity or maybe specific chords.
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!
Re:Making a Flute-Controlled Mouse by pants2 on Sunday April 28, 2024 @12:21PM (#40189676)
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.
Re:Making a Flute-Controlled Mouse by marci on Sunday April 28, 2024 @12:27PM (#40189721)
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.

Re:Making a Flute-Controlled Mouse by foreigner on Sunday April 28, 2024 @04:59AM (#40187110)
It's like a reverse Theremin
Re:Making a Flute-Controlled Mouse by Euphorbium on Sunday April 28, 2024 @12:52PM (#40189910)
It would be great if it could subtract the music that is playing.
Re:Making a Flute-Controlled Mouse by AlecSchueler on Sunday April 28, 2024 @02:00PM (#40190418)
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.

Re:Making a Flute-Controlled Mouse by praash on Monday April 29, 2024 @04:56AM (#40196117)
Maybe the flute's pitch could be decoded back into the required fingering combination. This way the player could treat each hole as an individual button. The actual notes might not all sound musical (or be properly distinguishable).
Re:Making a Flute-Controlled Mouse by AlecSchueler on Monday April 29, 2024 @05:48AM (#40196385)
That's a cool idea but subtlety of those differences would be much, much more complex to pick up and everything would certainly need to be recalibrated for every different model of flute whereas the current solution would work for flute tuned A=440Hz
Re:Making a Flute-Controlled Mouse by carlsverre on Sunday April 28, 2024 @02:05PM (#40190456)
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

Re:Making a Flute-Controlled Mouse by kaycebasques on Sunday April 28, 2024 @04:24PM (#40191501)
Who do I need to annoy to make another Stupid Shit Hackathon happen??
Re:Making a Flute-Controlled Mouse by andoando on Sunday April 28, 2024 @02:26PM (#40190631)
Love it. I did something similar with mapping a digital piano to keyboard events. With a whole band we can control a computer
Re:Making a Flute-Controlled Mouse by 082349872349872 on Sunday April 28, 2024 @02:31PM (#40190672)
Re:Making a Flute-Controlled Mouse by adybray2 on Sunday April 28, 2024 @03:49PM (#40191269)
Why is this not called PiedPiper?!?!
Re:Making a Flute-Controlled Mouse by rcarmo on Sunday April 28, 2024 @03:56PM (#40191316)
HN never disappoints on weekends. I especially liked the sharper note to click the mouse button.
Re:Making a Flute-Controlled Mouse by wesamco on Sunday April 28, 2024 @04:45PM (#40191688)
This is the future!

  :)
Re:Making a Flute-Controlled Mouse by bewaretheirs on Sunday April 28, 2024 @04:47PM (#40191714)
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).

Re:Making a Flute-Controlled Mouse by squarefoot on Sunday April 28, 2024 @05:24PM (#40192106)
I would use that with a drawing software to turn any shittyflute tune into a piece of art.
Re:Making a Flute-Controlled Mouse by lll-o-lll on Sunday April 28, 2024 @05:35PM (#40192219)
Need to add the ability to control acceleration with volume.
Re:Making a Flute-Controlled Mouse by addled on Sunday April 28, 2024 @07:35PM (#40192977)
How long until someone speed runs Ocarina of Time on an ocarina?