libsam-rs 0.2.0

safe/sys bindings for SAM text to speech
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "reciter.h"
#include "sam.h"

extern int sam_debug;

struct AudioResult {
    int res;
    int buf_size;
    char *buf;
};

void setupSpeak(unsigned char pitch,unsigned char speed,unsigned char throat,unsigned char mouth);

struct AudioResult* speakText(char *input);