This module is used to playback multichannel wav files located on the storage system.
The EmbeddedWaveplayer module has no input channels or configurable output channels. The number of Waveplayer is equal to the number of elements of the object. The number of output channels for each Waveplayer must be equal.
EmbeddedWaveplayer exposes Command and File Index selection as tuning and state variables to the GTT for dynamic control.
Below is the Waveplayer control command interpretation:
| Value | Description |
| 0 | Abort (HardStop) – Stops playback immediately |
| 1 | Stop (SoftStop) – Stops playback at the end of the loop |
| 2 | Play – Starts the playback in loop mode |
| 3 | Play once – Starts the single playback |
| 4 | Pause – Pauses the playback |
| 5 | Resume – Resumes the playback |
The Waveplayer exposes the following functional tuning parameters in the GTT:
- File Index (located in both state and tuning) – Files one through eight may be selected for playing. The value corresponds to the files named as “1.wav” through “8.wav” on the SD card.
- Delay – This is the length of the delay between successive playbacks.
- Slew – This parameter defines the time constant for the RC-type filter used for the slew function for play, stop, abort and pause commands.
- Stop confirmation – This enables notification on the playback stop.
EmbeddedWaveplayer is available on C66 and A15