Code Monkey home page Code Monkey logo

whispervoiceinput's Introduction

Whisper-Voice-Input

基于Whisper的语音输入脚本

依赖项

该项目使用以下Python库:

  • numpy
  • sounddevice
  • soundfile
  • pynput
  • whisper
  • pyperclip
  • pyautogui

您可以使用pip安装这些依赖项:

pip install -r requirements.txt

Whisper的具体安装过程参见OpenAI的官方仓库whisper

使用方法

在设置中开启权限,并将脚本main.py放在后台运行. 脚本监听'option/alt'键, 连续按下两次开始录音,再按一次停止录音。然后使用Whisper库将录制的音频转录,并将转录复制到剪贴板, 并自动粘贴到光标处。

初次启动时需要安装模型,需要等待一段时间。

许可证

该项目在MIT许可证下授权 - 请查看LICENSE.md文件以获取详细信息。

whispervoiceinput's People

Contributors

lawrenceeeeeeee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.