LMMS
Loading...
Searching...
No Matches
waveshaping.h
Go to the documentation of this file.
1/* Calf DSP Library
2 * Placeholder for waveshaping classes
3 *
4 * Copyright (C) 2001-2009 Krzysztof Foltman
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General
17 * Public License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02111-1307, USA.
20 */
21#ifndef __CALF_WAVESHAPING_H
22#define __CALF_WAVESHAPING_H
23
27public:
29 void activate() {}
30 void deactivate() {}
31 void set_params(float blend, float drive) {}
33 float process(float in) { return in; }
34 float get_distortion_level() { return 1; }
35};
36
37#endif
void set_sample_rate(uint32_t sr)
Definition waveshaping.h:32
void set_params(float blend, float drive)
Definition waveshaping.h:31
void deactivate()
Definition waveshaping.h:30
void activate()
Definition waveshaping.h:29
float get_distortion_level()
Definition waveshaping.h:34
float process(float in)
Definition waveshaping.h:33
float in
Definition lilv_test.c:1460
unsigned int uint32_t
Definition mid.cpp:100