chrisrude / discriviner Goto Github PK
View Code? Open in Web Editor NEWDiscord speech-to-text tool
License: MIT License
Discord speech-to-text tool
License: MIT License
This is some awesome stuff! Really glad to see it working pretty close to real-time.
It looks like we're using espeak for the TTS backend, and it seems to ship with lots of different premade "voices" (unless I'm guessing wrong).
Is there any way to choose between them?
Another thing I'd like to ask about is utilizing the CUDA-based whisper package, for those of us with the stupid ability to collect GPUs.
Not sure if it would be viable for most, but it does prove much faster for GPU-enabled systems.
I try to compile it on windows11 for oobabot
, but I failed.
here is my compile output:
PS C:\program_code\rust\discriviner> cargo check
Compiling whisper-rs-sys v0.6.1
Compiling espeakng-sys v0.1.2 (https://github.com/Better-Player/espeakng-sys/#2b686c7e)
error: failed to run custom build command for `espeakng-sys v0.1.2 (https://github.com/Better-Player/espeakng-sys/#2b686c7e)`
Caused by:
process didn't exit successfully: `C:\program_code\rust\discriviner\target\debug\build\espeakng-sys-c9728878ae8778d1\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=espeak-ng
cargo:rerun-if-changed=headers/wrapper.h
cargo:rerun-if-changed=headers/encoding.h
cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stdint.h
cargo:rerun-if-changed=C:\MinGW\include\stdint.h
cargo:rerun-if-changed=C:\MinGW\include\_mingw.h
cargo:rerun-if-changed=C:\MinGW\include\msvcrtver.h
cargo:rerun-if-changed=C:\MinGW\include\w32api.h
cargo:rerun-if-changed=C:\MinGW\include\sdkddkver.h
cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stddef.h
cargo:rerun-if-changed=headers/espeak_ng.h
cargo:rerun-if-changed=headers/speak_lib.h
cargo:rerun-if-changed=C:\MinGW\include\stdio.h
cargo:rerun-if-changed=C:\MinGW\include\_mingw.h
cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stddef.h
cargo:rerun-if-changed=C:\MinGW\include/sys/types.h
cargo:rerun-if-changed=C:\MinGW\include\_mingw.h
cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stddef.h
cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include/__stddef_max_align_t.h
cargo:rerun-if-changed=headers/espeak_ng.h
cargo:rerun-if-changed=headers/speak_lib.h
--- stderr
thread 'main' panicked at '"espeak_EVENT_union_(unnamed_at_headers/speak_lib_h_110_2)" is not a valid Ident', C:\Users\User\.cargo\registry\src\index.crates.io-6f17d22bba15001f\proc-macro2-1.0.63\src\fallback.rs:791:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `whisper-rs-sys v0.6.1`
Caused by:
process didn't exit successfully: `C:\program_code\rust\discriviner\target\debug\build\whisper-rs-sys-1890372fff433319\build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Failed to build libwhisper.a (is CMake installed?)', C:\Users\User\.cargo\registry\src\index.crates.io-6f17d22bba15001f\whisper-rs-sys-0.6.1\build.rs:131:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
And here is my platform environment:
Windows11
rustc 1.71.1
rustup 1.26.0
cmake 3.27.2
Microsoft Visual Studio 2022
Do you have any plan for release windows version discrivener-json?
If you're still developing or have plans for this still, I think moving the TTS over to silero or XTTSv2 would be really awesome...
I'm sad to see this project gather cobwebs since I haven't really found anything better still.
Hope you're doing well!
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.