AudioWorkletStream
fetch() => ReadableStream => AudioWorklet (by guest271314)
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! (by mastashake08)
AudioWorkletStream | speech-kit | |
---|---|---|
5 | 1 | |
25 | 6 | |
- | - | |
5.6 | 0.0 | |
3 months ago | 3 months ago | |
HTML | JavaScript | |
- | GNU General Public License v3.0 only |
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.
speech-kit
Posts with mentions or reviews of speech-kit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-23.
-
I Created A Web Speech API NPM Package Called SpeechKit
GitHub repository https://github.com/mastashake08/speech-kit. Does your university allow you to load GitHub?
What are some alternatives?
When comparing AudioWorkletStream and speech-kit you can also consider the following projects:
streams - Streams Standard
pocketsphinx - A small speech recognizer
GoogleNetworkSpeechSynthesis - Google's Network Speech Synthesis: Bring your own Google API key and proxy
espeak-ng - eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
musical-timer - Timers based in musical parameters (time signature, tempo and beat resolution)
webtransport - WebTransport
native-messaging-espeak-ng - Native Messaging => eSpeak NG => MediaStreamTrack
proposal-common-minimum-api
WebCodecsOpusRecorder - WebCodecs Opus Recorder/Media Source Extensions Opus EncodedAudioChunk Player
AudioWorkletStream vs streams
speech-kit vs pocketsphinx
AudioWorkletStream vs GoogleNetworkSpeechSynthesis
speech-kit vs espeak-ng
AudioWorkletStream vs musical-timer
speech-kit vs webtransport
AudioWorkletStream vs native-messaging-espeak-ng
speech-kit vs native-messaging-espeak-ng
AudioWorkletStream vs pocketsphinx
AudioWorkletStream vs proposal-common-minimum-api
AudioWorkletStream vs espeak-ng
AudioWorkletStream vs WebCodecsOpusRecorder