File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,16 @@ git clone pschatzmann/arduino-flite.git
21
21
Here is the generated [ Class documentation] ( https://pschatzmann.github.io/flite/doc/html/class_flite.html ) for the Arduino API.
22
22
Further information on Flite can be found [ in the FLITE.md] ( FLITE.md )
23
23
24
+ ## Output Format
25
+
26
+ The generated output format is usually as follows
27
+
28
+ | Parameter | Value |
29
+ | -------------------| -------|
30
+ | bits_per_sample | 16 |
31
+ | channels | 1 |
32
+ | sample_rate | 8000 |
33
+
24
34
25
35
## Memory Requirements
26
36
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class Flite {
47
47
if (as_text){
48
48
setOutput (new FlitePrintStream (stream));
49
49
} else {
50
- setOutput (new FliteOutput (stream));
50
+ setOutput (new FliteOutputStream (stream));
51
51
}
52
52
flite_init ();
53
53
}
Original file line number Diff line number Diff line change @@ -244,9 +244,9 @@ class FliteOutputI2S : public FliteOutputBase {
244
244
* @brief Output using Arduino Print class
245
245
*
246
246
*/
247
- class FliteOutput : public FliteOutputBase {
247
+ class FliteOutputStream : public FliteOutputBase {
248
248
public:
249
- FliteOutput (Print &out){
249
+ FliteOutputStream (Print &out){
250
250
this ->out_ptr = &out;
251
251
}
252
252
@@ -276,9 +276,9 @@ class FliteOutput : public FliteOutputBase {
276
276
* @brief Write readable string to Arduino Print class
277
277
*
278
278
*/
279
- class FlitePrintStream : public FliteOutput {
279
+ class FlitePrintStream : public FliteOutputStream {
280
280
public:
281
- FlitePrintStream ( Print &out) : FliteOutput (out) {
281
+ FlitePrintStream ( Print &out) : FliteOutputStream (out) {
282
282
}
283
283
284
284
virtual int write (void *buffer,int sample_count) {
You can’t perform that action at this time.
0 commit comments