Programming music with Rust
reddit.com·3h·
Discuss: r/programming
Flag this post

Hello everyone. I just wanted to show everyone my latest project. I “accidentally” made tunes while working on a game I’ve been building. It started out as a basic audio synthesis engine so I could make my own sounds. I realized I’d also want to make music for the game... and then I really wanted to make algorithmic music and the next thing you know...

https://crates.io/crates/tunes

There’s a lot you can do with tunes. Here’s a quick overview:

Music Theory: Scales, chords, patterns, progressions, and transposition

Composition DSL: Fluent API for building musical sequences

Sections & Arrangements: Create reusable sections (verse, chorus, bridge) and arrange them

Synthesis: FM synthesis, Granular synthesis, filter…

Similar Posts

Loading similar posts...