Login

Fancade Wiki

Added technical details

... ...
@@ -1,5 +1,22 @@
1
Plays a sound effect, with optional volume and pitch inputs. Use its settings to choose which sound to play. You can also loop the sound, in which case it'll just keep on playing.
1
Plays a sound effect, with optional volume and pitch inputs. Outputs the channel on which the sound is played. Use the settings to change which sound effect is played.
2 2
3
The max pitch is 4
3
[[/uploads/Playsound.png]]
4
5
## Input/Output
6
7
Unlike most other blocks, a wire connected to Before is *required* for it do do anything, it does not run automatically.
8
9
| Wire | Range | Note |
10
|-----------|:-----:|:-----|
11
| Volume | 0..1 |
12
| Pitch | 0..4 |
13
| *Channel* | -1..7 | Only -1 when channels 0 to 7 are occupied. If so, the sound won't play.
14
15
## Settings
16
17
[[/uploads/Playsound_contextmenu.png]]
18
19
The rightmost setting displays which sound effect is played. Tap to change.
20
21
Checking Loop will make the sound repeat on the chosen channel until stopped with [[Stop Sound]]. A looping channel becomes occupied until it is stopped, meaning other Play Sound blocks will not choose that channel.
4 22
5
[[/uploads/Playsound.png]]
... ...
\ No newline at end of file
Fancade Wiki