A dictionary which is based on files stored on an SD card. By default we use the SdFat library. You can use the SD library with #define USE_SD before including this file. More...
#include <AudioDictionarySD.h>
Public Member Functions | |
AudioDictionarySD (const char *path, const char *ext, int cs_pin=PIN_CS) | |
AudioStream * | get (const char *word) |
retrieves recorded audio file for the word | |
virtual AudioStream * | get (const char *word)=0 |
Protected Member Functions | |
void | setup () |
const char * | getFileWithPath (const char *name) |
Protected Attributes | |
audio_tools::StrExt | url_with_text |
AudioFile | file |
AudioStreamFileWrapper< AudioFile > | fileWrapper |
AudioFat | SD |
const char * | path |
const char * | ext |
StrExt | file_path {40} |
bool | is_setup = false |
int | cs_pin = -1 |
A dictionary which is based on files stored on an SD card. By default we use the SdFat library. You can use the SD library with #define USE_SD before including this file.
|
inlinevirtual |
retrieves recorded audio file for the word
Implements simple_tts::AudioDictionaryBase.