• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

4instr - free waveform player/editor I made in C

Mu0n

Well-known member
Back around in 2005, I tinkered about C programming, specifically targeting System 6 and below. My working environment was THINK C (symantec C++ 6.0) running under Basilisk II (Using System 7.5.5, emulating a Mac of the Quadra era) on a Windows XP PC, but my compiled programs would find their way under either mini-vMac running System 6.0.8 or my Mac Plus (or SE, passing through a Powerbook 170 first).

I became very interested in the Sound Driver and all of its capabilities. It could be used for:

-A single square-wave synthetiser (2% CPU)

-Up to 4 tones with simple wave forms (array of 256 bytes, 50% CPU)

-A Free form synth (up to 30001 bytes, 20% CPU)

My end goal was to reverse-engineer playback of Studio Session Files, but I started with much lower goals, fiddling with the simpler parts of the Sound Driver. This app lets you play with the 4-tone synth and modify their waves in real time, while the sounds are being played. It's not particularly useful for any serious application but it was a major stepping stone in understanding C programming for that platform.

image.png

Here is it in action:



 
Top