SIGIL.SOUNDMIT licensed, .NET 8 and 10
Sound synthesis for your .NET app
A fluent API for sound synthesis in your .NET app. Build an instrument or an effect in a few lines, then record it to a file or play it live.
first sound
// A sound used as a parameter: a slow sine sweeps the filter cutoff.
var sweep = Sine(0.25).Range(200, 2000);
Saw(110).LowPass(cutoff: sweep, q: 4) * 0.4
dotnet add package Sigil.Sound
Patterns and notes are in Sigil.Sound.Notes.
Sources
Oscillators, noise, functions of time and samples. Every method works with no arguments.
Modulation
A parameter takes a number, another sound or a function of time, so one idea reaches pitch, cutoff, gain and mix, including FM.
Effects
Filters, envelopes, delay, reverb, modulation, distortion, pitch and stereo.
Notes and patterns
Sequences, scales, chords and a compact mini-notation, played by any instrument you describe.
Render or play live
Render to memory or WAV offline, or send the same sound to live output with slots you can swap while it plays.
Extend it
Write your own IOperator and use it like a built-in.