Substituting the inbuilt tts with a more natural speech synthesizer #1257
Unanswered
TheGreatApollyon
asked this question in
Q&A
Replies: 1 comment
-
You can't simply substitute the command unless |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd really appreciate any help in substituting the inbuilt tts of foliate with msedge-tts package.
I figured we'd just have to tweak the speak.js in /src/
I tried doing it myself
This is the progress so far
`import Gio from 'gi://Gio';
import GLib from 'gi://GLib';
class SSIPConnection {
#connection;
#inputStream;
#outputStream;
#onResponse;
#eventData = [];
#promises = new Map();
}
export class SSIPClient {
#initialized;
#promises = new Map();
#connection = new SSIPConnection((msgID, result) =>
this.#promises.get(msgID)?.resolve?.(result)
);
}
`
The app does launch and function as usual but when I try to use tts it shows an error as follows:
Beta Was this translation helpful? Give feedback.
All reactions