Set Voice
Turns, pans or speeds up a sound Play Sound is playing.
ƒSet Voice
Voice
Volume1
Pan0
Rate1
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Voicevoice | any | – | – |
Volumevolume | number | 1 | – |
Panpan | number | 0 | – |
Raterate | number | 1 | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
// On Scene Start(function (v) { if (v && v.setVolume) { v.setVolume(1); v.setPan(0); v.setRate(1); } })(null);In a graph
◆On Scene Start
ƒSet Voice
Voice
Volume1
Pan0
Rate1
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.