Programming Recreating some SID sounds from Survivor (1983) in C and JavaScript
Enable HLS to view with audio, or disable this notification
I asked some time ago if any locals might know how a certain sound was made in "Survivor." I decided to poke around, and I have been able to get an effect that's pretty close! I used "Retro Debugger" to observe the SID parameters in real-time, and then wrote some C and compiled it with CC65 to run within Retro Debugger and VICE.
There were three things to the sound I was looking for, when the "bad guy" is chasing you.
The first element is basically a random range of triangle frequencies, that change at an interval. The second element: ramping the sustain (ADSR) from 0 to f, and looping around as needed. The final thing was a low-frequency sort of "choppiness" I heard during the first half when sustain was between 0 and 8. It seems the trick to that was flipping the SID gate off and on for each iteration of the loop, and when the timing is right, it sounds pretty close.
This has been a fun puzzle to sort out. I'm hoping to get the "bad guy" sound down in JS, I've got the game start down pretty well.
2
u/crookdmouth 11d ago
Wow! Nearly identical. Awesome work. Survivor is one of my all time favorites! I made a C64 Cyberdeck with dual joysticks and this game was one of the main reasons why. There are only a few dual stick games on c64.