4 ms·
The Apple II has a single register that toggles the voltage to a speaker, allowing 100% CPU-driven construction of any square wave you want. I think other syst
by tenebrisalietum 6y ago
The Apple II has a single register that toggles the voltage to a speaker, allowing 100% CPU-driven construction of any square wave you want. I think other systems did something similar on cassette ports. That's an example of the power available to an 8-bit class CPU without any extra hardware - you can do a lot with PWM and high-frequency attenuation and such but definitely limited.
- joezydeco 6y ago1-bit sound construction was discussed earlier this week on HN: https://news.ycombinator.com/item?id=23144469 https://news.ycombinator.com/item?id=23144469
- ddingus 6y agoA lot of game sounds were found by placing writes to the speaker in various game event loops. The result was lean sounds, but they also made a lot of sense.
- londons_explore 6y agoAll sound on the raspberry pi is 1 bit PWM.
- anonymousiam 6y ago(Unless you're using the HDMI sound channel.)