openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

new-contrib: Audio Whisper API with Local Device Microphones

Open CarlKho-Minerva opened this issue 1 year ago • 5 comments
trafficstars

Summary

This PR adds a new notebook that demonstrates how to use the Whisper API to transcribe text from your device's microphone. The notebook includes steps to record audio, transcribe it using the Whisper API, and copy the transcription to the clipboard. It aims to provide a practical guide for users who want to integrate speech-to-text functionality into their applications.

*This pull request was written by Chat GPT and reviewed by a human. The article, however, is made by a human.

Motivation

This tutorial was created because the functionality to transcribe speech to text from a microphone is not well-documented. I found the mic speech-to-text option in the ChatGPT apps (not websites) extremely helpful for day-to-day operations and wanted to save others from having to learn about different audio processing modules.

For new content

When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

  • [x] I have added a new entry in registry.yaml (and, optionally, in authors.yaml) so that my content renders on the cookbook website.
  • [x] I have conducted a self-review of my content based on the contribution guidelines (my previous PR message detailed on every one of these 😅):
    • [x] Relevance: This content is related to building with OpenAI technologies and is useful to others.
    • [x] Uniqueness: I have searched for related examples in the OpenAI Cookbook and verified that my content offers new insights or unique information compared to existing documentation.
    • [x] Spelling and Grammar: I have checked for spelling or grammatical mistakes.
    • [x] Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
    • [x] Correctness: The information I include is correct, and all of my code executes successfully.
    • [x] Completeness: I have explained everything fully, including all necessary references and citations.

CarlKho-Minerva avatar Jul 06 '24 06:07 CarlKho-Minerva