31316 Parallax Inc, 31316 Datasheet - Page 7

Microcontroller Modules & Accessories AP-16 Audio Player

31316

Manufacturer Part Number
31316
Description
Microcontroller Modules & Accessories AP-16 Audio Player
Manufacturer
Parallax Inc
Series
Propeller™r
Datasheet

Specifications of 31316

Product
Microcontroller Accessories
Data Bus Width
16 bit
Clock Speed
44.1 KHz
Operating Supply Voltage
18 V
Board Size
107.95 mm x 114.3 mm
Main Purpose
Audio, Audio Processing
Embedded
Yes, MCU, 32-Bit
Utilized Ic / Part
P8X32A
Primary Attributes
Plays Stereo WAV Files (16-bit), Dual 20W Amps (1 Per Channel)
Secondary Attributes
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Syntax:
Reply:
The "X" (reset) command stops a file that is presently playing (via "P" command only, AMBIENT.WAV is not
affected). If the ambient loop switch (Q) is closed and AMBIENT.WAV is on the SD card, it will restart when
the “X” stops another file.
Prop-1 Example
In this example a file that was previously started, either manually or using a "P" command, will be stopped
and the random play list will be reset. Note that the reset command sets the channel levels and playback
speed to 100%.
Syntax:
Reply:
Prop-1 Example:
Syntax:
Reply:
AP-16+ status byte:
Prop-1 Example:
EFX-TEK ● www.efx-tek.com ● teamefx@efx-tek.com
"X" :: Reset
"V" :: Get AP-16 Version Number
"G" :: Get AP-16 Status
SEROUT Sio, OT2400, ("!AP16", %00, "X")
SEROUT Sio, OT2400, ("!AP16", %00, "V")
SERIN
DEBUG "AP-16 Version ", #@id0, #@id1, #@id2, 13
SEROUT Sio, OT2400, ("!AP16", %00, "G")
SERIN
"!AP16", address, "X"
None
"!AP16", address, "V"
3-byte (ASCII) version string
"!AP16", address, "G"
Single byte that indicates the AP-16+ status. See below.
Sio, OT2400, id0, id1, id2
Sio, OT2400, ap16Status
Bit
7
6
5
4
3
2
1
0
When 1
AP-16 is playing
Playing looped mode
Playing named WAV file
Playing AUX file
BIT3 of file #
BIT2 of file #
BIT1 of file #
BIT0 of file #
When 0
AP-16 is idle (or ambient)
Playing single-shot mode
Playing SFX or AUX file
Playing SFX file
7

Related parts for 31316