Posts

Showing posts from March, 2026

Color Computer cassette port Input used as game controller

Image
I've begun experimenting with using the Color Computer cassette port as a game controller input.  The idea is based on the late, great Steve Bjork's Audio Spectrum Analyzer (1981).  First of all, a big shout-out goes to Chet Simpson for his work disassembling and posting the code with notes on GitHub ( CoCo-AudioSpectrumAnalyzer ).  Thanks Chet. I reduced the code to a subroutine that can be used to sample the cassette audio input, measure the width of the frequency, compare to a table and return a frequency value.   The following demo is an example of how I envision using this subroutine: Inspiration for the Speed Racer demo:   Speed Racer - Button Tutorial   Examples of an electric keyboard, instead of the phone APP, being used as sound inputs: I wrote the APP in Swift on Xcode ( https://developer.apple.com/xcode/ ).  Xcode is a free to download from Apple.  You can develop an APP and 'test' it on your phone without having to upload it to the A...