68kMLA Classic Interface
This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.
| Click here to select a new forum. | | 4instr - free waveform player/editor I made in C | Posted by: Mu0n on 2019-06-10 11:03:03 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.

Here is it in action:
| Posted by: olePigeon on 2019-06-10 11:29:33 I was trying to find free examples of oscilloscope music, but didn't see any. But if you find some, you could stress-test your app by uploading the waves:
https://oscilloscopemusic.com/
| | 1 |
|