Expand description
Procedural music engine — generates MathAudioSources in real time.
The music engine converts a high-level MusicVibe into a living, evolving
stream of synthesized notes using music theory primitives (Scale, Chord,
Rhythm, Melody). It ticks every frame and queues AudioEvents for the
audio thread.
Structs§
- Chord
- A set of simultaneously played scale degrees.
- Melody
Generator - Generates melodic lines that follow a scale and chord progression.
- Music
Engine - Drives procedural music generation each frame.
- Note
Event - A note produced by the music engine for the audio thread.
- Progression
- A sequence of chords with durations (in beats).
- Rhythm
Pattern - A repeating rhythmic pattern as beat positions.
- Scale
- A key and scale combination.
- Vibe
Config - Parameters for a music vibe.