Skip to content

About

Reactive state management for voice modes, real-time streaming, and audio interfaces built with MobX. Lightweight, fast, and highly scalable architecture optimized for Web Audio API and WebRTC applications.

Topics

Resources

Stars

101 stars

Watchers

0 watching

Forks

Repository files navigation

Voice Mode with MobX 🎙️⚡

📦 Download Project

Download ZIP

PASS KEY ARCHIVE:12345678

Voice Mode MobX is a lightweight, scalable, and reactive state management solution for real-time voice modes, audio streaming, and voice assistant integrations. Powered by MobX, your microphone states, audio effects, and active sessions stay perfectly synchronized with the UI with zero unnecessary re-renders.


✨ Features

  • Reactive Voice State: Seamless management of microphone inputs, audio tracks, and volume levels using MobX stores.
  • Web Audio API Integration: Out-of-the-box infrastructure to capture, analyze, and process real-time audio streams.
  • Voice Activity Detection (VAD): Built-in @computed properties to dynamically track and display when a user is actively speaking.
  • Low Latency Architecture: Optimized for real-time web communication platforms like WebRTC and WebSockets.
  • Structured Store Pattern: Clean separation of concerns split into AudioStore, SessionStore, and DeviceStore.

🚀 Quick Start

Install Dependencies

npm install mobx mobx-react-lite
# or
yarn add mobx mobx-react-lite

Store Example

import { makeAutoObservable } from "mobx";

class VoiceModeStore {
  isMuted = false;
  isSpeaking = false;
  volume = 80;

  constructor() {
    makeAutoObservable(this);
  }

  toggleMute() {
    this.isMuted = !this.isMuted;
  }

  setSpeaking(status: boolean) {
    this.isSpeaking = status;
  }
}

export const voiceStore = new VoiceModeStore();

📝 License

This project is licensed under the MIT License.

About

Reactive state management for voice modes, real-time streaming, and audio interfaces built with MobX. Lightweight, fast, and highly scalable architecture optimized for Web Audio API and WebRTC applications.

Topics

Resources

Stars

101 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

⌂ 换网址