SIGIL.SOUNDDOCS Sigil.Sound
Open REPL
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.

Get started → Try it in the REPL
NuGet GitHub API reference Versioning
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
INSTALL 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.

Documentation

Start here

  • Getting started
  • Defaults
  • Controls
  • Shaping sound

Notes and playback

  • Mini-notation
  • Live notes and expression
  • Note streams
  • Samples
  • Rendering and live playback
  • Hosting

Reference

  • API reference
  • Versioning
  • Contributing
Sigil.Sound 0.1.0. MIT licensed. Examples on these pages open in the browser REPL.