Skip to content

About

Real-time canvas spectrum visualization & polyphonic synth powered by the Web Audio API.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

AuraSynth is a browser-native synthesizer and real-time spectrum visualizer built using modern Web APIs. It converts digital signals into sound frequencies and renders live HTML5 Canvas audio spectrums with a cyber-neon rack design.


✨ Key Features

  • 🔊 Web Audio Synthesis: Real-time tone synthesis supporting four core waveforms (Sine, Square, Sawtooth, Triangle).
  • 📊 Dynamic Spectrum Analyzer: 60fps real-time frequency bar visualization via AnalyserNode and HTML5 Canvas 2D.
  • 🎛️ Low-Pass Filter & Dynamics: Adjustable cutoff frequencies (BiquadFilterNode) and volume attenuation.
  • 🎹 Interactive Piano Keys: Mouse-triggerable octave keyboard for interactive playing.
  • ⚡ One-Touch Presets: Built-in arpeggio and sub-bass drop triggers for fast audio testing.

🛠️ Built With

  • HTML5: Modular rack layout & Canvas 2D render context.
  • CSS3: Cyber dark theme, custom ranges, flexbox/grid containers, and glow keyframes.
  • Vanilla JavaScript: Zero external dependencies; powered by standard Web APIs.
  • Web Audio API: AudioContext, OscillatorNode, BiquadFilterNode, GainNode, and AnalyserNode.

🚀 Quick Start

1. Clone the repository

git clone [https://github.com/theinsidecoder/web-audio-visualizer.git](https://github.com/theinsidecoder/web-audio-visualizer.git)
cd aurasynth
2. Run locally
Open index.html in any modern web browser:

Bash
# macOS
open index.html

# Windows
start index.html
Note: Modern browsers require a user interaction (such as clicking the AUDIO OFF / POWER button) before audio can play due to browser autoplay policies.

📁 Directory Structure
Plaintext
aurasynth/
├── index.html        # Rack layout, controls, and canvas container
├── style.css         # Cyberpunk studio theme, typography & responsive layouts
├── app.js            # Web Audio API audio graph & Canvas visualizer loop
└── README.md         # Documentation
📜 License
Distributed under the MIT License. Feel free to use and modify it in your own audio projects.


---

## 🧠 How This Project Works (In Simple Words)

Think of **AuraSynth** as a **sound factory** connected to a **live camera**:

```text
 [🎹 Keyboard / Button] 
          │
          ▼
 [🌊 OscillatorNode] ──► [🎛️ BiquadFilter] ──► [🔊 MasterGain]
 (Generates Sound Wave)   (Shapes Frequency)      (Volume Level)
                                                        │
                                                        ▼
 [🖥️ Computer Speakers] ◄────────────────────── [📊 AnalyserNode]
                                                  (Measures Audio Frequencies)
                                                        │
                                                        ▼
                                                  [🎨 Canvas Visualizer]
                                                  (Draws Equalizer Bars)

About

Real-time canvas spectrum visualization & polyphonic synth powered by the Web Audio API.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages