mirror of
https://github.com/nucular/sfxrlua.git
synced 2024-12-24 18:44:20 +00:00
Corrected frequency.glide typo
This commit is contained in:
parent
6379b1e7f9
commit
1e9c69e6c7
2
sfxr.lua
2
sfxr.lua
@ -763,7 +763,7 @@ function sfxr.Sound:randomHit(seed)
|
|||||||
end
|
end
|
||||||
|
|
||||||
self.frequency.start = random(0.2, 0.8)
|
self.frequency.start = random(0.2, 0.8)
|
||||||
self.frequency.glide = -0.3 - random(0, 0.4)
|
self.frequency.slide = -0.3 - random(0, 0.4)
|
||||||
self.envelope.attack = 0
|
self.envelope.attack = 0
|
||||||
self.envelope.sustain = random(0, 0.1)
|
self.envelope.sustain = random(0, 0.1)
|
||||||
self.envelope.decay = random(0.1, 0.3)
|
self.envelope.decay = random(0.1, 0.3)
|
||||||
|
Loading…
Reference in New Issue
Block a user