From b52f4c83ce637ef3c53936a5654c45af6effabd6 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 21 Feb 2005 23:29:07 +0000 Subject: Initial checkin --- sfx/explode.sdx | 46 ++++++++++++++++++++++++++++++++++++++++++++++ sfx/explode.wav | Bin 0 -> 251948 bytes sfx/laugh.wav | Bin 0 -> 190508 bytes sfx/pop.sdx | 37 +++++++++++++++++++++++++++++++++++++ sfx/pop.wav | Bin 0 -> 93228 bytes sfx/powerstart.sdx | 36 ++++++++++++++++++++++++++++++++++++ sfx/powerstart.wav | Bin 0 -> 119852 bytes sfx/powerstop.sdx | 36 ++++++++++++++++++++++++++++++++++++ sfx/powerstop.wav | Bin 0 -> 110636 bytes sfx/smartbomb.sdx | 31 +++++++++++++++++++++++++++++++ sfx/smartbomb.wav | Bin 0 -> 338988 bytes sfx/start.wav | Bin 0 -> 265758 bytes sfx/test.sdx | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 13 files changed, 232 insertions(+) create mode 100644 sfx/explode.sdx create mode 100644 sfx/explode.wav create mode 100644 sfx/laugh.wav create mode 100644 sfx/pop.sdx create mode 100644 sfx/pop.wav create mode 100644 sfx/powerstart.sdx create mode 100644 sfx/powerstart.wav create mode 100644 sfx/powerstop.sdx create mode 100644 sfx/powerstop.wav create mode 100644 sfx/smartbomb.sdx create mode 100644 sfx/smartbomb.wav create mode 100644 sfx/start.wav create mode 100644 sfx/test.sdx (limited to 'sfx') diff --git a/sfx/explode.sdx b/sfx/explode.sdx new file mode 100644 index 0000000..5d898da --- /dev/null +++ b/sfx/explode.sdx @@ -0,0 +1,46 @@ +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.NOISE|SID.ControlFlag.GATE|SID.ControlFlag.SYNC); +SID.Control(1,SID.ControlFlag.NOISE|SID.ControlFlag.GATE|SID.ControlFlag.SYNC); +SID.Control(2,SID.ControlFlag.NOISE|SID.ControlFlag.GATE); + +for(uint l=0;l<2;l++) +{ +/* +for(uint f=0;f<3000;f+=100) +{ + SID.Frequency(0,f); + SID.Frequency(1,f); + SID.Frequency(1,f); + //SID.Volume((byte)(f&0x0fu)); + Thread.Sleep(1); +} +*/ +for(uint f=3000;f>0;f-=100) +{ + SID.Frequency(0,l*1500u+f); + SID.Frequency(1,1000u+f); + SID.Frequency(2,l*500u+f); + //SID.Volume((byte)(f&0x0fu)); + Thread.Sleep(1); +} + +} + +for(byte f=15;f>0;--f) +{ + SID.Volume(f); + Thread.Sleep(100); +} + +SID.Control(0,SID.ControlFlag.NONE); +SID.Control(1,SID.ControlFlag.NONE); +SID.Control(2,SID.ControlFlag.NONE); +Thread.Sleep(1000); + +SID.Volume(0); diff --git a/sfx/explode.wav b/sfx/explode.wav new file mode 100644 index 0000000..c097a1c Binary files /dev/null and b/sfx/explode.wav differ diff --git a/sfx/laugh.wav b/sfx/laugh.wav new file mode 100644 index 0000000..0bc6f1a Binary files /dev/null and b/sfx/laugh.wav differ diff --git a/sfx/pop.sdx b/sfx/pop.sdx new file mode 100644 index 0000000..ecef7d1 --- /dev/null +++ b/sfx/pop.sdx @@ -0,0 +1,37 @@ +SID.Volume(15); + +Thread.Sleep(1000); + +SID.ADSR(0,0,0,15,0); +SID.Control(0,SID.ControlFlag.PULSE|SID.ControlFlag.GATE|SID.ControlFlag.SYNC); +//SID.PulseWidth(0,1500); + +uint m=20000; +uint s=2000; + +for(uint f=0;f<=m;f+=s) +{ + SID.PulseWidth(0,f); + SID.Frequency(0,1500u+f); + Thread.Sleep(1); +} + +for(uint f=m;f>0;f-=s) +{ + SID.PulseWidth(0,f); + SID.Frequency(0,1500u+f); + Thread.Sleep(1); +} + +for(byte f=15;f>0;--f) +{ + SID.Volume(f); + Thread.Sleep(1); +} + +SID.Control(0,SID.ControlFlag.NONE); +SID.Control(1,SID.ControlFlag.NONE); +SID.Control(2,SID.ControlFlag.NONE); +Thread.Sleep(1000); + +SID.Volume(0); diff --git a/sfx/pop.wav b/sfx/pop.wav new file mode 100644 index 0000000..6b111f4 Binary files /dev/null and b/sfx/pop.wav differ diff --git a/sfx/powerstart.sdx b/sfx/powerstart.sdx new file mode 100644 index 0000000..ff3dd96 --- /dev/null +++ b/sfx/powerstart.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); diff --git a/sfx/powerstart.wav b/sfx/powerstart.wav new file mode 100644 index 0000000..5c2731a Binary files /dev/null and b/sfx/powerstart.wav differ 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); diff --git a/sfx/powerstop.wav b/sfx/powerstop.wav new file mode 100644 index 0000000..7f4f7ea Binary files /dev/null and b/sfx/powerstop.wav differ diff --git a/sfx/smartbomb.sdx b/sfx/smartbomb.sdx new file mode 100644 index 0000000..32f957f --- /dev/null +++ b/sfx/smartbomb.sdx @@ -0,0 +1,31 @@ +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.TRIANGLE|SID.ControlFlag.GATE|SID.ControlFlag.SYNC); +SID.Control(1,SID.ControlFlag.SAW|SID.ControlFlag.GATE|SID.ControlFlag.SYNC); +SID.Control(2,SID.ControlFlag.NOISE|SID.ControlFlag.GATE); + +for(uint l=0;l<15;l++) +{ +SID.Volume((byte)(15-l)); +for(uint f=3000;f>0;f-=200) +{ + SID.Frequency(0,l*1500u+f); + SID.Frequency(1,l*1000u+f); + SID.Frequency(2,l*500u+f); + //SID.Volume((byte)(f&0x0fu)); + Thread.Sleep(1); +} + +} + +SID.Control(0,SID.ControlFlag.NONE); +SID.Control(1,SID.ControlFlag.NONE); +SID.Control(2,SID.ControlFlag.NONE); +Thread.Sleep(1000); + +SID.Volume(0); diff --git a/sfx/smartbomb.wav b/sfx/smartbomb.wav new file mode 100644 index 0000000..84b071c Binary files /dev/null and b/sfx/smartbomb.wav differ diff --git a/sfx/start.wav b/sfx/start.wav new file mode 100644 index 0000000..a714bab Binary files /dev/null and b/sfx/start.wav differ diff --git a/sfx/test.sdx b/sfx/test.sdx new file mode 100644 index 0000000..c5d7795 --- /dev/null +++ b/sfx/test.sdx @@ -0,0 +1,46 @@ +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.NOISE|SID.ControlFlag.GATE|SID.ControlFlag.SYNC); +SID.Control(1,SID.ControlFlag.NOISE|SID.ControlFlag.GATE|SID.ControlFlag.SYNC); +SID.Control(2,SID.ControlFlag.NOISE|SID.ControlFlag.GATE); + +for(uint l=0;l<2;l++) +{ +/* +for(uint f=0;f<3000;f+=100) +{ + SID.Frequency(0,f); + SID.Frequency(1,f); + SID.Frequency(1,f); + //SID.Volume((byte)(f&0x0fu)); + Thread.Sleep(1); +} +*/ +for(uint f=3000;f>0;f-=100) +{ + SID.Frequency(0,l*1500u+f); + SID.Frequency(1,l*1000u+f); + SID.Frequency(2,l*500u+f); + //SID.Volume((byte)(f&0x0fu)); + Thread.Sleep(1); +} + +} + +for(byte f=15;f>0;--f) +{ + SID.Volume(f); + Thread.Sleep(100); +} + +SID.Control(0,SID.ControlFlag.NONE); +SID.Control(1,SID.ControlFlag.NONE); +SID.Control(2,SID.ControlFlag.NONE); +Thread.Sleep(1000); + +SID.Volume(0); -- cgit v1.2.3