File indexing completed on 2024-04-28 15:08:06
0001 /* miniSynth - A Simple Software Synthesizer 0002 SPDX-FileCopyrightText: 2015 Ville Räisänen <vsr at vsr.name> 0003 0004 SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 #include "modulation.h" 0008 #include "waveform.h" 0009 0010 Modulation::Modulation() : FM_freq(0.f), FM_ampl(0.f), 0011 AM_freq(0.f), AM_ampl(0.f), AM_time(0.2f), 0012 mode(Waveform::MODE_SIN), 0013 propFreq(false), useEnvelope(false) { 0014 }