Show HN: Make your Framework 12 sound like a creaky door

Posted by arcaege 16 hours ago

Counter86Comment16OpenOriginal

I was poking through the iio devices on my Framework the other day and turns out Framework 12s have a pretty accurate hinge angle sensor! So I made a version of LidAngleSensor (https://github.com/samhenrigold/LidAngleSensor) but for the Framework 12 on Linux, so you can make your hinge sound rusty

Comments

Comment by thenthenthen 7 hours ago

On mac you can (could?) use the ambient light sensor to achieve something similar, proof of concept here (osx < 10.5 haha): https://git.vvvvvvaria.org/then/squeeky-laptop

Demo: https://m.youtube.com/watch?v=pzJwDs6KRXA&ra=m

iirc there is also a imu in some macbooks to detect a fall and park the hdd heads before the crash? Anyway, always happy to see toys like this!

Comment by KerrickStaley 4 hours ago

I think someone also made this for MacBooks: https://github.com/samhenrigold/LidAngleSensor

Comment by LoganDark 4 hours ago

Newer MacBooks have IMUs as well for the movement dots feature (used to help with screen sickness in vehicles)

Comment by embedding-shape 13 hours ago

That's really fun and cool! :) I was hoping the sound would also be sped up/down (or change of pitch perhaps would work better) as you moved the hinge faster/slower, so you could do that really slow "tack-tack-tack" sound like when you move a really heavy door on a worn hinge really slow

Comment by fwipsy 10 hours ago

> pitch depends on position of hinge > volume depends on how fast you adjust it

Yeah, I had the same thought - in all the creaky doors I've seen, pitch and speed go together.

Comment by arcaege 5 hours ago

Yes I did test that too! It seemed to sound a little nicer this way though, more cartoonish

Comment by faeyanpiraat 15 hours ago

Comment by artisinal 7 hours ago

Awesome. This reminds me of the fun apps we had when the MacBook and iPhone got released.

Comment by jedbrooke 10 hours ago

from the readme:

> the filtering is optimised for framework 12's hinge stiffness.

never in a million years would I expect to have to optimize software for a given hinge stiffness, this made me chuckle just reading it

also:

> why

> funny

I like that :)

Comment by 1bpp 15 hours ago

It finally feels premium. This is really funny

Comment by cadamsdotcom 7 hours ago

Very cool. Could make it be higher pitch & louder when closed faster :)

Comment by bitwize 10 hours ago

I'm reminded of the hacks for old ThinkPads that read the accelerometer used to detect drops and park the disk heads; by slapping the machine on either side, you could switch to the next or previous desktop.

Comment by eikenberry 11 hours ago

Are you running MacOS on your Framework?

Comment by catgirlinspace 6 hours ago

It looks like Fedora. Did you visit the wrong link?

Comment by arcaege 4 hours ago

Yep, it's Fedora on KDE

Comment by DonHopkins 13 hours ago

The Whoopie Laptop