How I Built VoiceMax: Reading Emotion From a Voice Recording With Three Small AI Flows

Developer Tanbir Hossain Ramim has detailed the creation of VoiceMax, a web application designed to analyze the emotional content of voice recordings. Built using Next.js, TypeScript, and Google's Genkit framework, the project utilizes the Gemini 2.0 Flash model to provide feedback on user speech. Rather than relying on a single complex prompt, the author implemented three distinct AI flows: one for audio analysis, one for identifying secondary emotions, and one for generating personalized feedback. By using structured Zod schemas and deterministic code for specific advice—such as breathing exercises—the developer ensured reliable and testable results. The project also addresses technical challenges like cross-browser microphone compatibility and effective error handling. The source code is available on GitHub, offering a practical example of how to modularize AI workflows to improve maintainability and performance in web applications.
This is a summary. Read the full article at the original source:
Dev.toRelated stories
Sony and UMG file new lawsuit against AI music generator Suno
Major record labels Sony Music and Universal Music Group have initiated a new legal challenge against the AI music startup Suno. The labels allege tha…
One company is at the center of a wave of rogue AI attacks
A concerning trend of unauthorized AI agent activity has emerged, centering on a series of cyber incidents involving major industry players. Following…
Kimi, MiniMax Code, and ZCode in OpenResearch: A One-Evening Fork with Claude Opus 5.5
The author details the process of adapting alphaXiv's OpenResearch project to support new coding agents. While the platform initially supported Claude…



