GNU General Public License v3.0

项目介绍

I5UCC/VRCTextboxSTT 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前获得 64 个 Star、6 次 Fork。

仓库全名
I5UCC/VRCTextboxSTT
开源许可证
GNU General Public License v3.0
Star 数
64
Fork 数
6
未关闭 Issue
1

README 摘要

TextboxSTT A SpeechToText application that uses OpenAI's whisper via faster-whisper to transcribe audio and send that information to VRChats textbox system and/or KillFrenzyAvatarText over OSC. Also supports OBS via Browsersource and a SteamVR overlay! [!NOTE] This program is designed to be completely free of charge, open source, and independent from Cloud-Based Transcription services such as Microsoft Azure. It…

完整内容见 GitHub 原始 README 或本页 。

常见问题

VRCTextboxSTT 用什么语言开发?

主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前有 64 个 Star。

VRCTextboxSTT 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 VRCTextboxSTT 的源码?

可以直接克隆仓库:git clone https://github.com/I5UCC/VRCTextboxSTT.git,默认分支为 main;安装与运行步骤见仓库 README。

VRCTextboxSTT 最近还在维护吗?

仓库最近一次更新为 2024年10月4日,当前有 1 个未关闭 Issue;Star 数为 64,可作为社区活跃度的参考。

关于

A SpeechToText application that uses OpenAI's whisper via faster-whisper to transcribe audio and send that information to VRChats textbox system and/or KillFrenzyAvatarText over OSC. Also supports various other methods like OBS via Browsersource and a SteamVR overlay!

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
77
价值分
40
活跃状态
归档

语言占比

Batchfile
C#
HTML
Python

Release

贡献者

README

TextboxSTT

Github All Releases GitHub release (latest by date) Buy Me a Coffee at ko-fi.com

A SpeechToText application that uses OpenAI’s whisper via faster-whisper to transcribe audio and send that information to VRChats textbox system and/or KillFrenzyAvatarText over OSC. Also supports OBS via Browsersource and a SteamVR overlay!

Note 注意

This program is designed to be completely free of charge, open source, and independent from Cloud-Based Transcription services such as Microsoft Azure. It accomplishes this by utilizing transcription algorithms that run on your own hardware, thereby upholding privacy, enhancing latency, and ensuring reliability. As a result, I will not be incorporating any cloud-based transcription or translation services into this program.

Discord Support Server

🢃 Download Latest Release

Features

  • Sending transcription to either:
    • VRChats Ingame Textbox allowing for use with any avatar.
    • KillFrenzyAvatarText (KAT) that needs to be integrated to an avatar.
      • You can use Frosty704’s Billboard to add a speech bubble to your avatar.
      • Support for up to 80 emotes!
      • Automatic Detection of KAT on an avatar. It will use KAT if available, otherwise fall back to VRChat Textbox.
    • OBS over Browser Source!
    • Websockets
  • SteamVR Overlay for seeing your transcription without having to look at your own textbox in-game.
  • Fast and Efficient. VRCTextboxSTT uses ctranslate2 as the runtime for transcription and translation, which makes it incredibly efficient and fast.
  • Uses Steam Input, press to transcribe, hold to clear/cancel (A/X by default). Also works on desktop with the “F1” Key by default.
  • Customizable
    • You can bind the button to start transcription to any action that SteamVR allows you to set.
    • You can bind it to any key on your keyboard.
    • Many Timing settings for transcription delays and button presses.
    • Multiple different Transcription modes to choose from.
    • You can change all of the Audio feedback sounds to a sound of your liking.
  • Ability to to use fine tuned models from Huggingface
  • Automatic launch with SteamVR.
  • Text to Text for quick typing.
  • Simple API. latest transcription bound to the “/transcript” endpoint. (Requires OBS Source to be turned on)
  • Audio feedback for each step in the transcription.
    • Volume for each of the feedbacks can be modified over the Settings menu.
  • Multi Language support. whisper supports around 100 different languages.
    • Translate into and from those different languages. (Powered by M2M100)
  • Word Replacements and Emote Replacements with Regular Expressions.
  • Free to use as of the GPL-3.0 license
  • Completely free of Subscription/Cloud Services, by running locally on your hardware.
  • Runs completely offline, besides downloading models/dependencies and updates/update checks

Limitations

  • Limited character availability
    • VRChats Textbox is limited to showing 144 characters at a time.
    • KillFrenzyAvatarText does support ASCII characters and a certain set of Japanese hiragana.
      Limited to showing 128 characters at a time.
  • Visibility
    • VRChats Textbox is only visible to friends by default, consider telling people they can change that in VRChats settings.
    • VRChats Textbox is not visibile in Streamer-Mode.
    • KillFrenzyAvatarText is only visible to shown avatars and is PC only, as it uses a custom shader setup.

Requirements

With default settings, this program has following requirements:

  • .NET 4.8.1 (Should be preinstalled on Windows 10 and up)
  • Visual C++ 2015-2022 Redistributable (x64)
  • SteamVR (IF ran in VR, no Oculus/Meta support as of now.)
  • Inference on GPU (Recommended):
    • CUDA enabled GPU (So NVIDIA only, but you can try your luck with something like ZLUDA for AMD GPUs), otherwise it will fall back to using CPU.
    • ~11GB of available space for installation, ~6GB of space used after successful installation and loading models.
    • ~1GB of available RAM.
    • ~320MB of available VRAM.
  • Inference on CPU:
    • ~4GB of available space for installation, ~2GB of space used after successful installation and loading models.
    • ~400MB of available RAM.

[!NOTE] Depending on settings changed in the program those requirements can change drastically.
VRAM usages per Model: (int8 Precision. English models only)
~200MB with tiny.en
~220MB with base.en
~320MB with distil-small.en
~380MB with small.en
~580MB with distil-medium.en
~900MB with medium.en
~900MB with distil-large-v2
~1.6GB with large-v2

Demo

Frosty704 using VRCTextboxSTT and KillFrenzyAvatarText with their Billboard project. More to that on their repository.

Documentation (In Progress)

Backlog

Similar Projects

There are similar projects that already exist that you might want to consider using

  • RabidCrab’s STT incurs a monetary cost and relies on cloud-based transcription services, which inherently tend to be slower and less reliable compared to local transcription methods.
  • VRCWizard’s TTS-Voice-Wizard employs a wide array of transcription methods, encompassing both local and cloud-based approaches. Furthermore, it offers support similar to that of KAT, as seen in this project. Beyond functioning solely as a Speech To Text program, TTS-Voice-Wizard boasts a range of additional, noteworthy features. It may be worth your while to explore this tool further.
  • yum-food’s TaSTT This project is spiritually and philosophically very close to this project, they have very feature rich avatar text solution that supports more characters then KAT does. They have made great progress on this problem, definitely take a look at it!

Support this Project

You can always leave a Github Star 🟊 (It’s free) or buy me a coffee:

Buy Me a Coffee at ko-fi.com

Credit

评论

暂无评论