-
Notifications
You must be signed in to change notification settings - Fork 321
reference_sound
Moritz Brückner edited this page Nov 6, 2023
·
21 revisions
This reference was generated automatically. Please do not edit the page directly, instead change the docstrings of the nodes in their Python files or the generator script and open a pull request. Thank you for contributing!
This reference was built for Armory 2023.11.
- Basic
- Data
- Motion
- Values
- Graphics
- Sound
- Misc
Pauses playback of the given speaker object. The playback will be resumed at the paused position.
See also:
Plays the given sound.
Inputs:
-
Play
: Plays the sound, or if paused, resumes the playback. The exact behaviour depends on the Retrigger option (see below). -
Pause
: Pauses the playing sound. If no sound is playing, nothing happens. -
Stop
: Stops the playing sound. If the playback is paused, this will reset the playback position to the start of the sound. -
Update Volume
: Updates the volume of the current playback. -
Volume
: Volume of the playback. Typically ranges from 0 to 1.
Outputs:
-
Out
: activated once when Play is activated. -
Running
: activated while the playback is active. -
Done
: activated when the playback has finished or was stopped manually.
Options:
-
Sound
: The sound that will be played. -
Loop
: Whether to loop the playback. -
Retrigger
: If true, the playback position will be reset to the beginning on each activation of Play. If false, the playback will continue at the current position. -
Sample Rate
: Manually override the sample rate of the sound (this controls the pitch and the playback speed).
Starts the playback of the given speaker object. If the playback was paused, it is resumed from the paused position.
See also:
Stops playback of the given speaker object. The playback position will be reset to the start.
See also: