Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
f8d639fecThis file is pinned to the selected release. Download the original to open it in your design tool.
/**
* @file distortion_app.cpp
* @brief Implements specialized Distortion for the device.
* @author Kacper Kowalski - kacper.s.kowalski@gmail.com
*/
#include "audio_chain_config.hpp"
#include "distortion.hpp"
#include "jeff_app_wrapper.hpp"
using Distortion_ = Distortion<AudioChainConfig::WindowSize>;
extern "C" void app_main()
{
static constexpr float threshold{0.5};
Distortion_ distortion{threshold};
JeffAppWrapper jeff{distortion};
jeff.loop();
}