Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/*****************************************************************************
Kivu12.cpp
Copyright (c) 2020 Raphael DINGE
*Tab=3***********************************************************************/
/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
#include "Kivu12.h"
#include <cmath>
/*
==============================================================================
Name : process
==============================================================================
*/
void Kivu12::process ()
{
osc.set_freq (440.f);
for (size_t i = 0 ; i < erb_BUFFER_SIZE ; ++i)
{
float val = ui.b16.held () ? osc.process () : 0.f;
ui.audio_out1 [i] = val;
ui.audio_out2 [i] = val;
}
}
1c962d8cfThis file is pinned to the selected release. Download the original to open it in your design tool.