Now that would be cool. Having a physical bell ding every time you hit enter, like an old typewriter!
Edit: I'm aware that typewriters ding before you get to the end, but that would be much harder to implement than just doing it when you hit enter, which would be a close representation. :P
Oh, and the typewriters used to perform that song made famous by Jerry Lewis are hacked so the bell can be triggered ad lib — but the sheet music still says to do it before pushing the lever :)
https://www.youtube.com/watch?v=sIdqJExuFMI
When we preformed this in college orchestra, a percussionist made the "ding" separately from the typewriter and I think it was noted in the score for triangle IIRC.
https://uniqcode.com/typewriter/
It is an accurate simulator with all the sounds and quirks of using a real typewriter. All it's missing is the view of the ribbon moving up and down, and of course the letters hitting the paper.
The bell was a signal that you were running out of space and it was time to return the carriage.
This project is really great, but I cant help but want to remix it to hide the guts within the bell! I also kinda want to hook it up to a pinball knocker and put it under my coworkers' desks.
Anyone else have the unending list of cool projects to build that you can never seem to start?
Totally unrelated, I have one project that I keep thinking about starting every time I turn on my monitor in the morning...
I want to connect an RPi Zero to the serial port on my monitor, so that instead of pressing multiple buttons to change the input or color profiles (for day vs night), I could hit a dedicated set of buttons instead.
One physical button might issue multiple commands over serial to the monitor.
I'm thinking of doing this with a Raspberry Pi simply for convenience... I'm sure someone here will suggest doing it with something much smaller, and they'd probably be right.
Simple motors are even more plentiful, at least in my random-electronics-stuff drawer.
Also much cheaper. Shipping to Ireland is horrendously expensive.
I sent a patch to iTerm2 for support: https://github.com/gnachman/iTerm2/pull/428
I don't think you need to patch iTerm2, by the way. You could use a Trigger [0] to do it, or a python script [1] if you need something fancier.
I turn it off as soon as I can upon installation of any distribution.
Edit: Okay, I looked at the MCP2221A and it has GPIOs as well as just being a USB bridge.
What it sounded like: The Teletype March: [1] Good pictures of the big bell.
The small bell is triggered at column 73 or so. Just a quiet "ding".
On a Model 14 printer, which prints on a narrow tape, the third bell rings continuously when the blank tape supply has run out.
All that is what's being emulated by the "bell" sound on computers.
So they had a block of 31 control character (forget null, and delete obviously wasn’t in there because of paper tape).
Many of those control characters were and are useful (^s for stop, ^r for resume) much of the space was empty and so randomly assigned. There would have been room for more bell characters, but that wasn’t really the mentality of the day.
There's nothing worse than accidentally cating a binary file and filling the computer room with a string of un-cancellable bells with all eyes on you. It was like a noob detector.
osascript -e 'display notification "Completed!"'
osascript -e 'say "Done"'Good thing we're working remote, because I would not be able to be near one of those things during an intensive terminal session.
A much easier way to do this would be an tiny Arduino-compatible board and a servo. I actually made an analog lunch bell at a startup this way that we struck when the food delivery arrived. It might be a few bucks more in components but you wouldn't have to deal with making and populating a PCB so you'd save on that.
# echo install pcspkr /bin/true > /etc/modprobe.d/blacklist-pcspkr.conf printf("\a");