Long ago when I first used a Macbook trackpad I didn't even realize it wasn't actually pressing or clicking. The illusion is so complete it had me completely fooled for a long time.
I'm not a particularly big fan of their OS but Apple's laptop hardware is just head and shoulders above the rest. The touchpad in particular is by far the best on the market.
Apple is the best in haptic feedback. I remember the iphone 7 with the "virtual" click on home button, the only way to tell it's not real is turning off the phone
Interesting that the haptics are this capable yet Apple only uses it for that one effect as far as I know. Seems overbuilt, wish they'd add more haptics for scrolling/zooming/gestures/etc.
> My theory is that for them replacing the physical button was mainly a cost-down measure
Interestingly, the MacBook Neo uses a completely different physical click, rather than haptics, so if the haptic engine was a cost-down, it wasn't sufficient to hit that particular price point
Yes, but I think it doesn't directly invalidate my theory. I mean replacing a physical click with haptics was a pretty innovative idea and I'm sure there were doubts if it will be good enough and if users will accept it.
User reaction is often hard to predict, see the latest MacBook Pro's OLED PWM display controversy.
So they overshot with quality in the first iteration to validate the idea and when the concept was accepted they corrected down.
Try dragging Spotlight with the trackpad, you'll notice they added haptics for whenever it snaps to a center line. Some apps do this too. Usually you only add haptics for things that are actual snaps/clicks, not smooth things like scrolling or zooming.
Had a Macbook once where the cable to the trackpad was flaky and from time to time, it was just a cold, unmoving slab. It was weird as it normally felt like it had "give" like a switch.
This reminds me of the good ol days when computers had a tiny piezoelectric speaker to play rudimentary beeps. I remember keeling over laughing when a friend showed me you could actually play music through it (terribly). It was so absurd.
A lot of the YouTube videos that claim to be PC Speaker music sound far too good quality to me, like 16-bit Amiga music instead.
This Pirates of the Caribbean version sounds pretty accurate to what PC beeper could do (but it sounds better in today's headphones): https://www.youtube.com/watch?v=GdJyt5wdWCM
I'm convinced there was a MOD file player that could output to the PC beeper and would run on an IBM XT / compatible in the very early 1990s, and I seem to remember it was called 'brain' but Google can't find anything about it. Apparently Scream Tracker 2, FastTracker II, could play to the PC speaker, not sure if they ran on an XT, I can't really remember that long ago but think brain was UI-less just a command line player.
The PC speaker is fundamentally a cheap piezo element or a real-er magnetic speaker attached to a GPIO attached to a timer. The most simple thing you could do with it was program the timer to output a square wave. But it was also possible to control it directly as an on/off output, and do various waveforms (including PWM), but it would occupy the whole CPU.
The hardware controlling the PC speaker was only designed for playing a single tone at a time. But there was software that could do something like PWM and get much better quality. Linux still has a snd_pcsp module for this.
Back when "the family computer" was a concept, my brother and I installed Sim City 2000 on our 486 which didn't have a sound card, so all the music played on the PC Speaker. My cousin had a Pentium machine with a Sound Blaster and he got to enjoy proper sounds, not to mention better frame rates, but I still have fond memories of PC Speaker music.
It was the motherboard speaker, using the SAY.COM program, if I'm not mistaken. It was quite impressive at the time, since sound cards were rare in ordinary PCs back then, and getting any sound out of a PC except the startup beep was a luxury.
These fun ways to reuse existing hardware for new purposes are my favorite kind of "hack".
I remember there was a project back in the day that used I believe the accelerometer for locking your hard drive actuators to allow you to move your whole laptop around like a wiimote.
Probably not. This has been done will all kinds of motors over time. The Steam Controller has similar haptic motors for its trackpad which are used to play a few sounds officially, and can also play music.
This is call, hope this won't make my mac goes out of warranty. Just wondering what should be the reason I will give to service technician when he ask what happened ?
As impressive as this is, the fact that clicking that unmoving slab feels like pressing a button is far more impressive.
Long ago when I first used a Macbook trackpad I didn't even realize it wasn't actually pressing or clicking. The illusion is so complete it had me completely fooled for a long time.
It had me completely fooled until your comment. It's my work machine, so I didn't delve into the specifics.
It's incredible and also makes other trackpads feel exceptionally sloppy.
I'm not a particularly big fan of their OS but Apple's laptop hardware is just head and shoulders above the rest. The touchpad in particular is by far the best on the market.
The first time I tried to press the trackpad with the Mac was powered off was a real mindfuck
Apple is the best in haptic feedback. I remember the iphone 7 with the "virtual" click on home button, the only way to tell it's not real is turning off the phone
Interesting that the haptics are this capable yet Apple only uses it for that one effect as far as I know. Seems overbuilt, wish they'd add more haptics for scrolling/zooming/gestures/etc.
Overbuild?
You mean the touchpad pressing?
Its flawless and consistent across the whole area. That is complelty different to any touchpad which uses some button.
Open up QuickTime and press down hard on the fast forward button
Interesting indeed. My theory is that for them replacing the physical button was mainly a cost-down measure and reliability improvement second.
> My theory is that for them replacing the physical button was mainly a cost-down measure
Interestingly, the MacBook Neo uses a completely different physical click, rather than haptics, so if the haptic engine was a cost-down, it wasn't sufficient to hit that particular price point
Yes, but I think it doesn't directly invalidate my theory. I mean replacing a physical click with haptics was a pretty innovative idea and I'm sure there were doubts if it will be good enough and if users will accept it. User reaction is often hard to predict, see the latest MacBook Pro's OLED PWM display controversy.
So they overshot with quality in the first iteration to validate the idea and when the concept was accepted they corrected down.
Pretty sure they used the same or similar tech for force touch on iPhones
They got rid of Force Touch on iPhones a few years back. We still get haptics, but no force sensing.
I still miss Force Touch and wish we had gotten to the point that every iPhone had it so it's full potential could be used.
At least it lives on in the Apple Watch and the trackpad.
Wdym "that one effect"? What about hovering iPhone?! xD
"hovering iPhone"?
Try dragging Spotlight with the trackpad, you'll notice they added haptics for whenever it snaps to a center line. Some apps do this too. Usually you only add haptics for things that are actual snaps/clicks, not smooth things like scrolling or zooming.
Its always freaky when my fingers are cold and I press the unmoving slab but I don't feel it react, even though of course it does
Had a Macbook once where the cable to the trackpad was flaky and from time to time, it was just a cold, unmoving slab. It was weird as it normally felt like it had "give" like a switch.
For those “into” this sort of thing, and of a certain vintage, you’ll know about using the motor in the Commodore 1541 floppy drive to similar effect.
But I only just discovered this ... generating video and audio from just the floppy drive, no computer, since the drive has its own 6502-ish CPU.
https://youtu.be/zprSxCMlECA?si=a8D39bAiKajNZ1Nb
Matthias Kramm is a god-level hacker.
how long until someone turns it into a modem?
This reminds me of the good ol days when computers had a tiny piezoelectric speaker to play rudimentary beeps. I remember keeling over laughing when a friend showed me you could actually play music through it (terribly). It was so absurd.
A lot of the YouTube videos that claim to be PC Speaker music sound far too good quality to me, like 16-bit Amiga music instead.
This Pirates of the Caribbean version sounds pretty accurate to what PC beeper could do (but it sounds better in today's headphones): https://www.youtube.com/watch?v=GdJyt5wdWCM
I'm convinced there was a MOD file player that could output to the PC beeper and would run on an IBM XT / compatible in the very early 1990s, and I seem to remember it was called 'brain' but Google can't find anything about it. Apparently Scream Tracker 2, FastTracker II, could play to the PC speaker, not sure if they ran on an XT, I can't really remember that long ago but think brain was UI-less just a command line player.
The PC speaker is fundamentally a cheap piezo element or a real-er magnetic speaker attached to a GPIO attached to a timer. The most simple thing you could do with it was program the timer to output a square wave. But it was also possible to control it directly as an on/off output, and do various waveforms (including PWM), but it would occupy the whole CPU.
The hardware controlling the PC speaker was only designed for playing a single tone at a time. But there was software that could do something like PWM and get much better quality. Linux still has a snd_pcsp module for this.
Back when "the family computer" was a concept, my brother and I installed Sim City 2000 on our 486 which didn't have a sound card, so all the music played on the PC Speaker. My cousin had a Pentium machine with a Sound Blaster and he got to enjoy proper sounds, not to mention better frame rates, but I still have fond memories of PC Speaker music.
https://youtu.be/tsVj-C5kxWY?t=370
It was the motherboard speaker, using the SAY.COM program, if I'm not mistaken. It was quite impressive at the time, since sound cards were rare in ordinary PCs back then, and getting any sound out of a PC except the startup beep was a luxury.
> you could actually play music through [...] a tiny piezoelectric speaker [...] (terribly)
Tim Follin and the ZX Spectrum would like a word.
https://www.youtube.com/watch?v=T42WuUpBuHE
https://www.youtube.com/watch?v=gNc_xczyGLc
> It was so absurd.
Yea, it is so amazing that it is a TV now.
Apparently there's a video showing this on their Instagram profile (https://www.instagram.com/zxi/). I have two thoughts on that:
- why not Youtube? At least there you don't have to sign up to watch a video! Fortunately someone else made a Youtube short: https://www.youtube.com/shorts/MB6kg-Rr3pY
- once they have a video that's accessible to everyone, they should link it in the project's README.
Piping curl output from a random website to sh seems crazy to me
Live a little!
These fun ways to reuse existing hardware for new purposes are my favorite kind of "hack".
I remember there was a project back in the day that used I believe the accelerometer for locking your hard drive actuators to allow you to move your whole laptop around like a wiimote.
Which could be used to play Neverball on a Thinkpad like one of those maze ball toys.
This brings back fond teenage memories of sorta playing music by manipulating the stepping motor of the Commodore 1541 floppy drive.
OK, I think this is cool, but won’t it break the haptic motor after a few weeks?
Anyway, as an experiment, it’s awesome. Some people are seriously creative :-)
Probably not. This has been done will all kinds of motors over time. The Steam Controller has similar haptic motors for its trackpad which are used to play a few sounds officially, and can also play music.
The steam controller has a cool demo where someone makes it vibrate on a table in a way that causes it to move onto a charging dock
I wonder why limit to talking, could probably route any sound to it via a virtual audio device?
Because "talk is cheap".
There is a video on the creator’s x that demos music as well.
this is the best hacker content I've seen in a while.
Something smiliar with floppy driver. Floppy music - Imperial march
https://www.youtube.com/watch?v=yHJOz_y9rZE
My favorite in this genre is the Yoshi's Island athletic theme: https://www.youtube.com/watch?v=f_fqxKwVSJM
I just think it sounds so weird but also so legitimately good!
Radiohead "Nude" - https://www.youtube.com/watch?v=CgB5DU0uEdg&t=65s
...legitimately my favorite way of hearing that song! 16 years ago, 50k views
[edit: I should mention that this makes my number of listens a nearly countable percentage of total views...]
On a similar note: HP scanner easteregg, where it plays ode to joy: https://www.youtube.com/watch?v=KImkZvLOCfA
This is why your laptop mouse doesn’t click when it’s completely dead, fyi
Oh, that can't be good for the struts.
It was already possible to use the Macbook's trackpad as a weighting scale [1]. Now as a speaker. Then what..?
[1] https://news.ycombinator.com/item?id=44635808
I wonder when we'll see data exfil via ultrasonic trackpad-speaker?
That was literally my first thought.
Ah nothing like some good'ol fun, one of the more recent cool projects I've seen on Hacker News!
Gave it a try, might wrap it in an interface so I can access via menu bar or something
Recommendation: Ask Gemini to rewrite the README. It will come out like 90% more human readable.
What LLM does the current readme come from? Why not rewrite it by humans?
This is call, hope this won't make my mac goes out of warranty. Just wondering what should be the reason I will give to service technician when he ask what happened ?
missing a demo video
https://nitter.netbub.com/codycollier/status/212450585988371...
That's extremely cool. Would allow for some great practical jokes.
Probably a better link
I get a very pompous "blocked by Gandalf". Sorry for visiting your precious page, you olde wizard. :/
Edit: typo fix.
Try https://xxcancel.com/codycollier/status/2124505859883716918
Me too. Fortunately it's just Twitter. So just rewrite the autism to "x.com" and it magically works:
https://x.com/codycollier/status/2124505859883716918
Finally, the macFloppotron
is that of any use ? already tired with magic mouse , never use trackpad
Thas an extra long em-dash, the em-em-dash.
0x2500, Unicode Box Drawings Light Horizontal
The first one in this block
https://en.wikipedia.org/wiki/Box-drawing_characters
The spaghetti-dash.
Macintosh Plus on a Macintosh…