jakobovrum / speech4d Goto Github PK
View Code? Open in Web Editor NEWSpeech Library for the D Programming Language
License: Other
Speech Library for the D Programming Language
License: Other
Both current implementations, SAPI and espeak, both use the respective libraries' in-built audio output features which don't allow for configuring a specific audio output.
However, both libraries do present access to the raw audio data, so audio output could be done by speech4d, allowing for more configuration options.
edit:
Portaudio is probably a good idea for this.
The Synthesizer.speak
function should accept input ranges of characters in a robust and efficient manner.
SAPI is a given, but what about other platforms? pocketsphinx?
When building, it gives me the following error message:
WARNING: A deprecated branch based version specification is used for the dependency speech4d. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
Building dirk 0.1.0 configuration "library", build type debug.
Running dmd...
Building diggler 0.2.0 configuration "library", build type debug.
Running dmd...
Building speech4d ~master configuration "library", build type debug.
Running dmd...
/home/alem0lars/.dub/packages/speech4d-master/speech/synthesis.d(19): Error: module synthesis is in file 'speech/espeak/synthesis.d' which cannot be read
import path[0] = /opt/dmd-2.067/import
FAIL ../../../../../home/alem0lars/.dub/packages/speech4d-master/.dub/build/library-debug-linux.posix-x86_64-dmd_2067-1076A4E8B18FC8A12927803F81C9F858/ speech4d staticLibrary
Error executing command build:
dmd failed with exit code 1.
eSpeak supports SSML, but for WinSAPI it seems to depend on the backend/voice. Some sort of unified interface - that also works with range inputs - should be devised.
Not obvious from the documentation.
Ekho appears to supplant support for Chinese in espeak and has an API (and SAPI backend for Windows).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.