|
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
player_audiodsp_cmd Struct Reference |
Public Attributes | |
uint8_t | subtype |
uint16_t | frequency |
uint16_t | amplitude |
uint32_t | duration |
unsigned char | bitString [PLAYER_MAX_DEVICE_STRING_LEN] |
uint16_t | bitStringLen |
|
The packet subtype. Set to PLAYER_AUDIODSP_PLAY_TONE to play a single frequency; bitString and bitStringLen do not need to be set. Set to PLAYER_AUDIODSP_PLAY_CHIRP to play a BPSKeyed chirp; bitString should contain the binary string to encode, and bitStringLen set to the length of the bitString. Set to PLAYER_AUDIODSP_REPLAY to replay the last sound. * |
|
Frequency to play (Hz) |
|
Amplitude to play (dB?) |
|
Duration to play (msec) |
|
BitString to encode in sine wave |
|
Length of the bit string |