Skip to content

Lesson 2: set(), triggers and meter_()

npisanti edited this page Feb 15, 2016 · 23 revisions

In this lesson we will learn about more basic functions. Copy again the init app code and be ready to modify it. First we need to declare some modules we will use:

    // pdsp modules
    pdsp::PRNoiseGen noise;
    pdsp::MultiLadder4 filter;
    pdsp::Amp amp;
    pdsp::TriggerControl gate;
    pdsp::ADSR ampEnv;
    pdsp::AHR modEnv;
    pdsp::PitchToFreq p2f;
    pdsp::Processor engine;