Better explosion sound.

Use an exponential function for the amplitude envelope of the noise function
instead of a linear on.
This commit is contained in:
Guus Sliepen 2012-03-06 00:09:11 +01:00
parent 4a7571f44c
commit bd87c8964f
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ nchnls = 1
instr 1
pset 0, 0, 1, 50, 30, 0.01, 0.01, 0.01, 1, 1
k1 linseg 0, p8, p9, p3 - p8, 0
k1 expon p9, p3, 0.001
k2 line p4, p3, p5
a1 noise k1, 0.1
a1 fofilter a1, k2, p6, p7
@ -26,7 +26,7 @@ instr 1
endin
</CsInstruments>
<CsScore>
i 1 0 0.5 100 30 0.01 0.0002 0.02 1.0 0.5
i 1 0 2.0 100 30 0.01 0.0002 0.02 1.0 0.5
i 1 0.4 2.0 50 30 0.01 0.001 0.01 1.0 0.5
e
</CsScore>