play laser
Problem it solves
Your spaceship fires laser bolts and you need a snappy downward pitch blaster sound.
What this block does
Plays a downward pitch sweep synthesizer effect to mimic retro arcade lasers.
The block
Block ID: retro_laser
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| intensity | number | 4 | Laser sound power scaling volume. |
| startPitch | number | 1200 | Optional starting frequency in Hertz. |
| endPitch | number | 300 | Optional ending frequency in Hertz. |
Example
Retro.playLaser(5, 1400, 250)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.