AudioWorkletStream
fetch() => ReadableStream => AudioWorklet (by guest271314)
GoogleNetworkSpeechSynthesis
Google's Network Speech Synthesis: Bring your own Google API key and proxy (by guest271314)
AudioWorkletStream | GoogleNetworkSpeechSynthesis | |
---|---|---|
5 | 11 | |
25 | 0 | |
- | - | |
5.6 | 10.0 | |
3 months ago | over 1 year ago | |
HTML | JavaScript | |
- | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AudioWorkletStream
Posts with mentions or reviews of AudioWorkletStream.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-02.
-
Node.js fetch() vs. Deno fetch(): Implementation details...
// Exits half way through reading response when --max-old-space-size=6 is set // Exits immediately when --jitless flag is set // // Usage: // // port.postMessage({ // url: 'https://github.com/guest271314/AudioWorkletStream/raw/master/house--64kbs-0-wav', // method: 'get', // body: null // })
-
Are you using generators?
Yes. Fetching a single or multiple files for an infinite stream of audio https://github.com/guest271314/AudioWorkletStream/blob/master/worker.js. Streaming (real-time) audio is non-trivial. Any gaps or glitches in playback will be audible to the user. We could test for expected Float32Arrays. I would suggest complentary manual test in, e.g., WPT to determine audio output does not have gaps or glitches; and renders the expected playback rate.
-
I Created A Web Speech API NPM Package Called SpeechKit
One way to do that is utilizing Native Messaging on Chromium or Firefox https://github.com/guest271314/native-messaging-espeak-ng, and https://github.com/guest271314/webtransport/blob/main/webTransportEspeakNg.js for some WebTransport experiments. Technically we don't need a local server. We can stream and parse the WAV directly and pipe to AudioWorklet or a MediaStreamTrackGenerator https://github.com/guest271314/AudioWorkletStream. The same is true for speech recognition, where audio is piped to the local application and text or JSON piped back. Note also espeak-ng has been compiled to WebAssembly. I created native-messaging-espeak-ng for the ability to pass SSML directly to espeak-ng.
-
How to stream/play a video or audio file on HTTP?
You can stream audio and/or video over HTTP using fetch() https://github.com/guest271314/AudioWorkletStream as long as you know how to parse the codec, if the media is encoded.
-
Is it possible to have an accurate timer in javascript
Re using a dedicated Worker and AudioWorklet to stream, see, e.g., https://github.com/guest271314/AudioWorkletStream; https://plnkr.co/edit/nECtUZ.
GoogleNetworkSpeechSynthesis
Posts with mentions or reviews of GoogleNetworkSpeechSynthesis.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-22.
-
Who is using Web Speech API in their Web sites?
If you want you can use Google's TTS service without Web Speech API with a proxy, see GoogleNetworkSpeechSynthesis. I made a feature request for Google to release the source code as FOSS Re: Issue 263510047: Release TTS and STT source code and Google voices as FOSS so we don't have to make external requests just to use Web Speech API.
-
Is there a good text to speech program for linux?
I requested to Google to Release TTS and STT source code and Google voices as FOSS which you can request over the network here GoogleNetworkSpeechSynthesis. Those are the voices Google Chrome uses for Web Speech API. Feel free to chime on the feature request in in support of Google releasing the source code of its network-based cloud service (that google uses for Web Speech API implementation) TTS and SST code as FOSS.
-
Google Cloud Text to Speech API: The Future of AI Voice Synthesis
Technically you can use Google API key shipped in the browser see guest271314/ GoogleNetworkSpeechSynthesis . No need to sign up for a Google account to use this. I don't think Google's TTS is related to "AI".
-
Web Speech API is (still) broken on Linux circa 2023
This is how you can make the request yourself GoogleNetworkSpeechSynthesis.
-
Build a Text-to-Speech component in React
If anybody want to build a TTS "module" or "component" that accepts and processes SSML input, and that the user can control - to an appreciable degree - on the front-end you can play around with this https://github.com/guest271314/GoogleNetworkSpeechSynthesis. (Makes an external request). Have fun!
-
how do you make mockups and portfolio with everything requiring paid API
It is possible to use Google Network Speech Synthesis service "free of charge", see GoogleNetworkSpeechSynthesis. On Chrome if you use Google voices with SpeechSynthesisUtterance() and window.speechSynthesis.speak() you are doing that anyway.
-
[AskJS] You have mastered writing JavaScript from scratch, why use TypeScript?
I implemented SSML parsing in JavaScript by hand for Web Speech API per SSML specification https://github.com/guest271314/SSMLParser, where the Web Speech API nor Firefox nor Chrome or Chromium browsers (Google does implement SSML parsing as a service https://github.com/guest271314/GoogleNetworkSpeechSynthesis) have implemented SSML parsing.
-
I Created A Web Speech API NPM Package Called SpeechKit
FYI when Google voices are used on Chrome or Chromium-based browsers the browser also makes a remote request, see https://github.com/guest271314/GoogleNetworkSpeechSynthesis.
-
[AskJS] Do specification authors and implementers listen to developers in the field?
How is processing SSML an attack vector? Google provides that capability as a service - with embedded limitations on character input that are not specified. This can and should be implemented in the browser - without making an external request; native-messaging-espeak-ng, GoogleNetworkSpeechSynthesis.
- Google Network Speech Synthesis
What are some alternatives?
When comparing AudioWorkletStream and GoogleNetworkSpeechSynthesis you can also consider the following projects:
streams - Streams Standard
piper - A fast, local neural text to speech system
speech-kit - Simplifying the Speech Synthesis and Speech Recognition engines for Javascript. Listen for commands and perform callback actions, make the browser speak and transcribe your speech!
native-messaging-espeak-ng - Native Messaging => eSpeak NG => MediaStreamTrack
musical-timer - Timers based in musical parameters (time signature, tempo and beat resolution)
SAM - Software Automatic Mouth - Tiny Speech Synthesizer
captureSystemAudio - Capture system audio ("What-U-Hear")
pocketsphinx - A small speech recognizer
proposal-common-minimum-api
public-apis - A collective list of free APIs
AudioWorkletStream vs streams
GoogleNetworkSpeechSynthesis vs piper
AudioWorkletStream vs speech-kit
GoogleNetworkSpeechSynthesis vs native-messaging-espeak-ng
AudioWorkletStream vs musical-timer
GoogleNetworkSpeechSynthesis vs SAM
AudioWorkletStream vs native-messaging-espeak-ng
GoogleNetworkSpeechSynthesis vs captureSystemAudio
AudioWorkletStream vs pocketsphinx
GoogleNetworkSpeechSynthesis vs pocketsphinx
AudioWorkletStream vs proposal-common-minimum-api
GoogleNetworkSpeechSynthesis vs public-apis