Skip to content
Sound effect synthesizer for .NET
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
PewPew.Editor
PewPew.Example
PewPew
.gitignore
PewPew.sln
README.md

README.md

pew-pew

This library is a port of DrPetter's sfxr sound generator from C++ to C#.

It provides a simple way to synthesize and play sound effects.

Playback is provided by Mark Heath's amazing NAudio library.

Usage

Minimal example is:

using (var mixer = new PewPewMixer())
{
    await mixer.PlayAsync(new PewPewPatch());
}

You can play many sounds through the mixer before disposing it. It supports polyphony (more than one sound can be playing a given moment in time).

To customise the sound, modify the PewPewPatch object before calling PlayAsync.

You can’t perform that action at this time.