Skip to content

DSP library for the Daisy product family...and elsewhere!

License

Notifications You must be signed in to change notification settings

AvAars/DaisySP

 
 

Repository files navigation

Build Status

DaisySP is an open source DSP library written in C++ and specifically tailored to embedded audio applications.

It was originally created for use with the Daisy Embedded Audio Platform, however it can easily be used elsewhere.

Features

  • Synthesis blocks such as oscillators, filters, envelopes, etc.

  • DSP helper functions optimized for embedded applications

  • Effects algorithms including reverb, delay, pitch-shift

Code Example

static void AudioCallback(float *in, float *out, size_t size)
{
    float saw, freq, output;
    for (size_t i = 0; i < size; i += 2)
    {
        freq = 2500 + ( lfo.Process()*2500 );
    	saw = osc.Process();

        flt.SetFreq(freq);
        output = flt.Process(saw);

    	// left out
        out[i] = output;

        // right out
        out[i+1] = output;
    }
}

Getting Started

Contributing

Here are some ways that you can get involved:

  • Proof read the documentation and suggest improvements
  • Test existing functionality and make issues
  • Make new DSP modules. See issues labeled "feature"
  • Port existing DSP modules from other open source projects (MIT). See issues labeled "port"
  • Fix problems with existing modules. See issues labeled "bug" and/or "polish"

Before working on code, please check out our Contribution Guidelines and Style Guide.

Support

Here are some ways to get support and connect with other users and developers:

License

DaisySP is licensed with the permissive MIT open source license.

This allows for modification and reuse in both commercial and personal projects. It does not provide a warranty of any kind.

For the full license, read the LICENSE file in the root directory.

About

DSP library for the Daisy product family...and elsewhere!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 78.9%
  • Python 10.3%
  • TeX 5.2%
  • Makefile 2.8%
  • Shell 1.5%
  • C 1.3%