10 lines
319 B
Lua
10 lines
319 B
Lua
|
local sg=soundgen
|
||
|
return
|
||
|
sg:square():freq(1000)
|
||
|
:pm(sg:sine():phase(0.5):freq(0.1):am(sg:sine():freq(100),0,0.1),-0.05,0.05)
|
||
|
:am(sg:sine():freq(200),-1,1):amp(0.4):am(sg:sine():freq(150):pm(sg:sine():freq(0.5),-0.1,0.1),0.25,1)
|
||
|
--:clamp(0,10)
|
||
|
:fade(0.01,0):fade(0.01,0.5):add(sg:silence()):clamp(0,2)
|
||
|
:compile()
|
||
|
|