An accessor for playing a sound clip from a URL or a resource on the local host. The URL or resource name can be provided as a parameter or as an input. To start playing the sound, an event must be provided to the start input. An event at the stop input, or a new event at the start input, will cause the sound to stop playing.
- Version:
- $$Id$$
- Source:
Inputs:
Name | Type | Description |
---|---|---|
start |
A trigger input to start playback. The value is ignored and can be anything. | |
stop |
A trigger to stop playback. The value is ignored and can be anything. | |
clipURL |
The URL to retrieve the sound clip from. |
Methods
(static) initialize()
Load the specified URL and create a player for it.
(static) setup()
Create the inputs and outputs for this accessor.
(static) wrapup()
Stop any playback.