explaingit

fishisfish0614/hervoice

Analysis updated 2026-05-18

46PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A voice tool that transcribes what you say and analyzes how you say it, judging your emotional tone so your own connected AI assistant can respond accordingly.

Mindmap

mindmap
  root((repo))
    What it does
      Transcribes speech
      Analyzes tone of voice
      Classifies emotion
    Tech stack
      Python
      Whisper
      librosa
    Use cases
      Personal AI assistant
      Emotion-aware webhook
      Voice tone logging
    Audience
      Developers
      Hobbyists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Hold a button, speak, and have your tone of voice detected as happy, sad, tired, or another emotion.

USE CASE 2

Feed detected emotion and transcribed speech into your own AI assistant through a webhook.

USE CASE 3

Build a personal AI companion that notices when you sound exhausted or upset, not just what you typed.

USE CASE 4

Log voice tone and acoustic features over time for your own personal use.

What is it built with?

PythonFastAPIWhisperlibrosaffmpeg

How does it compare?

fishisfish0614/hervoiceagricidaniel/goghbetta-tech/harness-sdd
Stars464646
LanguagePythonPythonPython
Setup difficultymoderatemoderateeasy
Complexity3/53/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a Groq API key, an LLM API key, ffmpeg, and HTTPS or localhost for microphone access.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

hervoice is a small tool that tries to capture not just what you say, but how you say it, so that an AI assistant you connect it to can respond to your tone rather than only your words. You hold down a button and speak, and the tool listens for both the content of your speech and the emotional cues behind it. Under the hood it works in a few steps. First it transcribes your speech into text using Whisper, an existing speech to text system. Then it analyzes the audio itself using a library called librosa to measure things like pitch, loudness, pauses, and speaking speed. Finally it sends both the transcribed text and those acoustic measurements to a large language model, which decides which of eight emotions best fits the moment: happy, sad, angry, tired, tender, excited, anxious, or neutral. Importantly, hervoice does not generate any reply itself. Its only job is to listen and understand. Once it has judged the emotion, it logs the result and sends it, through a webhook you configure, to whatever AI assistant or notification system you have set up on your own server, and that system decides how to respond. The README places real weight on privacy. By default, the recorded audio is deleted right after analysis, keeping only the transcribed text and the emotional judgment, though you can choose to keep the audio if you want. All API keys are meant to be stored as environment variables rather than hardcoded, and no data is sent to any third party beyond whichever transcription and language model services you choose to connect. Running it requires a Python environment, a Groq API key for the transcription step, an API key for a language model, and ffmpeg installed for audio conversion, it starts a small local web server you open in a phone browser and hold to talk. This project was originally built for personal use and later open sourced, so it fits developers or hobbyists building their own personal AI assistant who want it to notice emotional tone, not general consumers looking for a ready-made app. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me set up hervoice on my own server, including the Groq API key and webhook configuration.
Prompt 2
Explain how hervoice combines Whisper transcription with librosa acoustic features to judge emotion.
Prompt 3
Show me how to build a webhook receiver that reacts differently depending on the emotion hervoice detects.
Prompt 4
Walk me through the privacy settings in hervoice, including how to keep or delete recorded audio.
Prompt 5
Suggest how I could connect hervoice's emotion output to my own personal AI assistant project.

Frequently asked questions

What is hervoice?

A voice tool that transcribes what you say and analyzes how you say it, judging your emotional tone so your own connected AI assistant can respond accordingly.

What language is hervoice written in?

Mainly Python. The stack also includes Python, FastAPI, Whisper.

What license does hervoice use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is hervoice to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is hervoice for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.