GGWaveEncoder: Translates text into audio Codec using https://github.com/ggerganov/ggwave-arduino.
More...
#include <CodecGGWave.h>
|
| GGWaveEncoder (Print &out_stream) |
|
AudioInfo | audioInfo () |
| provides the actual input AudioInfo
|
|
virtual AudioInfo | audioInfoOut () |
|
void | begin () |
|
virtual bool | begin (AudioInfo info) |
|
void | end () |
|
virtual const char * | mime () |
| Provides the mime type of the encoded result.
|
|
| operator bool () |
|
void | setAudioInfo (AudioInfo from) override |
| Defines the sample rate, number of channels and bits per sample.
|
|
void | setOutput (Print &out_stream) |
|
void | setPayloadLen (int len) |
|
void | setProtocol (ggwave_ProtocolId protocol) |
|
void | setSampleByteSize (int size) |
|
void | setSamplesFormatInput (ggwave_SampleFormat fmt) |
|
void | setSamplesFromatOutput (ggwave_SampleFormat fmt) |
|
void | setSamplesPerFrame (int samples) |
|
size_t | write (const uint8_t *data, size_t len) |
|
|
virtual void | play (int freq, int ms) |
|
virtual void | silence (int samples) |
|
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
|
|
bool | active = false |
|
GGWave | ggwave |
|
AudioInfo | info |
|
int | playload_len = 16 |
|
ggwave_ProtocolId | protocolId = GGWAVE_PROTOCOL_AUDIBLE_FAST |
|
Print * | pt_print =nullptr |
|
int | sample_byte_size = 2 |
|
ggwave_SampleFormat | samples_format_input = GGWAVE_SAMPLE_FORMAT_I16 |
|
ggwave_SampleFormat | samples_format_output = GGWAVE_SAMPLE_FORMAT_U8 |
|
int | samples_per_frame = 256 |
|
FastSineGenerator< int16_t > | sine_wave |
|
int | volume = GGWave::kDefaultVolume |
|
GGWaveEncoder: Translates text into audio Codec using https://github.com/ggerganov/ggwave-arduino.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ audioInfo()
◆ audioInfoOut()
◆ begin() [1/2]
◆ begin() [2/2]
◆ end()
◆ mime()
virtual const char * mime |
( |
| ) |
|
|
inlinevirtual |
Provides the mime type of the encoded result.
Implements AudioEncoder.
◆ operator bool()
◆ setAudioInfo()
|
inlineoverridevirtualinherited |
◆ setOutput()
void setOutput |
( |
Print & |
out_stream | ) |
|
|
inlinevirtual |
◆ write()
size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: