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 #ifndef PRESET_H
0008 #define PRESET_H
0009 
0010 #include "ADSRenvelope.h"
0011 #include "modulation.h"
0012 
0013 #include <QVector>
0014 
0015 class Preset {
0016 public:
0017     Preset ();
0018     ~Preset() = default;
0019 
0020     QVector<int> timbreAmplitudes;
0021     QVector<int> timbrePhases;
0022     unsigned int waveformMode;
0023 
0024     ADSREnvelope     env;
0025     Modulation       mod;
0026 };
0027 
0028 #endif // PRESET_H