Skip to content

Phoenous/brainwaver-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Brainwave CLI

A command-line interface for generating binaural beats and isochronic tones using the wasm-brainwave modules.

Features

  • Generate binaural beats for stereo headphones
  • Generate isochronic tones for any audio output
  • Adjustable base frequency and beat/pulse frequency
  • Configurable duration
  • Version information display

Installation

go install github.com/user/brainwave-cli/cmd/brainwave@latest

Usage

# Generate binaural beats (default)
brainwave -freq 432 -beat 7 -duration 5m

# Generate isochronic tones
brainwave -mode isochronic -freq 432 -beat 7 -duration 10m

# Show version information
brainwave -version

Options

  • -mode: Type of generation ("binaural" or "isochronic")
  • -freq: Base frequency in Hz (default: 432)
  • -beat: Beat/pulse frequency in Hz (default: 7)
  • -duration: Duration to play (e.g., "5m", "1h")
  • -version: Show version information

Examples

  1. Generate alpha wave binaural beats (10 Hz) for 15 minutes:

    brainwave -freq 432 -beat 10 -duration 15m
  2. Generate theta wave isochronic tones (6 Hz) for 30 minutes:

    brainwave -mode isochronic -freq 432 -beat 6 -duration 30m

Requirements

  • Go 1.21 or later
  • PortAudio (for audio output)
  • Working audio output device

Dependencies

Building from Source

git clone https://github.com/user/brainwave-cli.git
cd brainwave-cli
go build ./cmd/brainwave

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages