![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
whisper-speech-to-text
Advanced tools
A JavaScript library enabling in-browser audio recording and transcription using OpenAI's Whisper Speech-to-Text
Whisper Speech-to-Text is a JavaScript library that allows you to record audio from a user's microphone, and then transcribe the audio into text using OpenAI's Whisper ASR system. This library is designed to be used in web applications.
npm i whisper-speech-to-text
// Import the WhisperSTT class from the library
import { WhisperSTT } from "whisper-speech-to-text";
// Create a new instance of the WhisperSTT class, passing your OpenAI API key to the constructor
const whisper = new WhisperSTT("your-openai-api-key");
// Start recording audio
await whisper.startRecording();
// Pause the recording
await whisper.pauseRecording();
// Resume the recording
await whisper.resumeRecording();
// Stop the recording and get the transcription
await whisper.stopRecording((text) => {
console.log("Transcription:", text);
});
The WhisperSTT
class has the following methods:
startRecording()
: Starts recording audio from the user's microphone.pauseRecording()
: Pauses the current recording.resumeRecording()
: Resumes a paused recording.stopRecording(onFinish: (text: string) => void)
: Stops the current recording and transcribes the audio into text.
The transcription is passed to the onFinish
callback.Contributions to this project are welcome! If you would like to contribute, please follow these steps:
This library is not officially associated with OpenAI. Please use responsibly and ensure that your use case complies with OpenAI's use case policy.
If you encounter any problems or have any questions, please open an issue on the GitHub repository.
FAQs
A JavaScript library enabling in-browser audio recording and transcription using OpenAI's Whisper Speech-to-Text
The npm package whisper-speech-to-text receives a total of 1 weekly downloads. As such, whisper-speech-to-text popularity was classified as not popular.
We found that whisper-speech-to-text demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.