zeroisnan / DaisySP

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

Home Page:https://www.electro-smith.com/daisy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

https://www.electro-smith.com/daisy

License:MIT License


Languages

Language:C++ 79.0%Language:Python 10.3%Language:TeX 5.2%Language:Makefile 2.8%Language:Shell 1.5%Language:C 1.3%