Installation
Browser
Node.js
Quick start
Browser example
Node.js example
Core concepts
Asynchronous API
All Csound methods return Promises, making the API fully asynchronous:Event system
Csound uses an event-based architecture built on EventEmitter3:Virtual filesystem
Access files through the in-memory filesystem:Performance modes
Realtime performance
For live audio output with Web Audio API:Offline rendering
For rendering to disk:Manual control
For frame-by-frame control:Communication with Csound
Control channels
String channels
Score events
Tables
Advanced features
Web Workers
Run Csound in a separate thread:Plugins
Load WebAssembly plugin libraries:MIDI
Audio input
Cleanup
Always clean up resources when done:Next steps
- Browser API - Browser-specific features and Web Audio integration
- Node.js API - Node.js-specific features
- Event system - Complete event reference