Astrocade custom 'IO' chip sound chip driver by Aaron Giles and Frank Palazzolo.
NOTE: Not sure this is working as it should, but it's still somewhat fun sounding.
Astrocade.ar(reg0: 0, reg1: 127, reg2: 0, reg3: 0, reg4: 0, reg5: 0, reg6: 15, reg7: 0)
Arguments:
reg0 |
bits 7-0 | master oscillator frequency (8bits 0-255) |
|
reg1 |
bits 7-0 | tone generator A frequency (8bits 0-255) |
|
reg2 |
bits 7-0 | tone generator B frequency (8bits 0-255) |
|
reg3 |
bits 7-0 | tone generator C frequency (8bits 0-255) |
|
reg4 |
bits 7-6 | vibrato speed | bits 5-0 | vibrato depth (6bits 0-63) |
|
reg5 |
bit 5 | noise AM enable | bit 4 | mux source (0=vibrato, 1=noise) | bits 3-0 | tone generator C volume (4bits 0-15) |
|
reg6 |
bits 7-4 | tone generator B volume | bits 3-0 | tone generator A volume (4bits 0-15) |
|
reg7 |
bits 7-0 | noise volume (8bits 0-255) |
|