1///////////////////////////////////////////// 2// Cannon 1 3// Copyright (C) 2007 David Olofson 4///////////////////////////////////////////// 5 6a = .8; 7 8w_format target, MONO16, 24000; 9w_blank target, 24000*3, 0; 10 11// Rumble 12w_env AMPLITUDE, 13 0, a/4, 14 .5, a/8, 15 .5, a/16, 16 1, a/32, 17 1, 0; 18w_env FREQUENCY, 19 0, 100, 20 3, 70; 21w_osc target, NOISE; 22 23w_env FREQUENCY, 24 0, 100, 25 .5, 300, 26 .5, 100, 27 .1, 200, 28 .1, 50, 29 .2, 150, 30 .2, 250, 31 .4, 100, 32 1, 10; 33w_env AMPLITUDE, 2; 34w_filter target, LOWPASS_12; 35 36// Ka-blam 37w_env AMPLITUDE, 38 0, a/4, 39 .5, a/8, 40 .5, a/16, 41 1, a/32, 42 1, 0; 43w_env FREQUENCY, 44 0, 700, 45 .1, 200, 46 .1, 700, 47 2.8, 850; 48w_osc target, NOISE; 49w_env FREQUENCY, 50 0, 500, 51 .1, 100, 52 .5, 300, 53 2.4, 200; 54w_osc target, NOISE; 55 56 57// Attack 58w_env AMPLITUDE, 59 0, a/2, 60 .1, a/8, 61 .5, 0; 62w_env FREQUENCY, 1500; 63w_osc target, NOISE; 64 65 66// Mod 67w_env AMPLITUDE, 1; 68w_env FREQUENCY, 15; 69w_env BALANCE, .4; 70w_osc target, NOISE, MUL; 71 72 73// Thunder reso 74w_env FREQUENCY, 75 0, 300, 76 .02, 50, 77 .08, 300, 78 .1, 150, 79 .2, 300, 80 .2, 150, 81 .4, 50, 82 2.2, 150; 83w_env AMPLITUDE, 84 0, 5, 85 .02, 10, 86 .08, 5, 87 .1, 0, 88 .2, 5, 89 .2, 0, 90 .4, 2, 91 2.2, 0; 92w_filter target, PEAK_12; 93 94 95// Quake reso 96w_env FREQUENCY, 97 0, 200, 98 .1, 70, 99 2.9, 50; 100w_env AMPLITUDE, 101 0, 5, 102 .1, 0, 103 .5, 7, 104 2.4, 15; 105w_filter target, PEAK_12; 106 107 108// Crackle boost 109w_env FREQUENCY, 400; 110w_env AMPLITUDE, 111 0, 5, 112 .5, 15, 113 2.5, 0; 114w_filter target, PEAK_12; 115w_env FREQUENCY, 750; 116w_env AMPLITUDE, 3; 117w_filter target, PEAK_12; 118w_env FREQUENCY, 1100; 119w_env AMPLITUDE, 120 0, 1, 121 1, 8, 122 2, 0; 123w_filter target, PEAK_12; 124w_env FREQUENCY, 1700; 125w_env AMPLITUDE, 126 0, 8, 127 1, 0; 128w_filter target, PEAK_12; 129 130 131// Treble damping 132w_env FREQUENCY, 133 0, 9000, 134 .25, 4000, 135 1.25, 2000, 136 1.5, 500; 137w_env AMPLITUDE, 0; 138w_env MOD1, 139 0, .3, 140 .5, 0; 141w_filter target, LOWPASS_12; 142