diff options
Diffstat (limited to 'sfx/powerstop.sdx')
-rw-r--r-- | sfx/powerstop.sdx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sfx/powerstop.sdx b/sfx/powerstop.sdx new file mode 100644 index 0000000..b123e03 --- /dev/null +++ b/sfx/powerstop.sdx @@ -0,0 +1,36 @@ +SID.Volume(15); + +Thread.Sleep(1000); + +SID.ADSR(0,0,0,15,0); +SID.ADSR(1,0,0,15,0); +SID.ADSR(2,0,0,15,0); +SID.Control(0,SID.ControlFlag.SAW|SID.ControlFlag.GATE|SID.ControlFlag.SYNC); +SID.Control(1,SID.ControlFlag.TRIANGLE|SID.ControlFlag.GATE|SID.ControlFlag.SYNC); +SID.Control(2,SID.ControlFlag.SAW|SID.ControlFlag.GATE); + +for(uint f=3000;f>0;f-=100) +//for(uint f=0;f<=3000;f+=100) +{ + SID.Frequency(0,1500u+f); + SID.Frequency(1,6000u+f); + Thread.Sleep(1); + SID.Frequency(0,6000u+f); + SID.Frequency(1,1500u+f); + Thread.Sleep(1); +} + +/* +for(byte f=15;f>0;--f) +{ + SID.Volume(f); + Thread.Sleep(50); +} +*/ + +SID.Control(0,SID.ControlFlag.NONE); +SID.Control(1,SID.ControlFlag.NONE); +SID.Control(2,SID.ControlFlag.NONE); +Thread.Sleep(1000); + +SID.Volume(0); |