This sound is activated when you win a ship, usually at 1000 or 1500 points.
The circuit uses one half of the 556 timer as a 555 timer operating in astable mode. Although this is the same configuration of the step circuit (which uses the other half of the 556) here the sound tone comes from a separate 480 Hz oscillator rather than from the timer itself. In fact the output of these sources is combined using a 3-input "and" port (the first 7411 in the picture) but the 555 is programmed at a frequency so low that all it does is to turn on and off the 480 Hz sound, thus making it intermittent rather than continuous. The third port connector is controlled by the CPU, which can then turn everything on and off at will.
This circuit is also easily emulated, but there is a caveat. When you listen to the corresponding sample there is a "vibrato" effect that the analysis above cannot account for. I have performed some measurements on the sample and I have found a 60 Hz sine wave signal in it, so now I'm added it to the emulation code (*) and the result is really nice. I am not sure where these 60 Hz come from, as all the board is designed around this frequency and at present I'm not able to get more information.
(*) It's important to note that this signal modulates the output amplitude, so it's not a simple sum (otherwise you would just add a 60 Hz tone): an easy approach is to add it only when the output is non-zero.
Copyright (c) 2004 Alessandro Scotti. All rights reserved.
Home :: Computer Programming :: Space Invaders soundboard |