mirror of https://github.com/dcoredump/dexed.git
parent
aa30700848
commit
c4be756007
@ -0,0 +1,63 @@ |
||||
/**
|
||||
* |
||||
* Copyright (c) 2013-2015 Pascal Gauthier. |
||||
* |
||||
* This program is free software; you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation; either version 3 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program; if not, write to the Free Software Foundation, |
||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
||||
* |
||||
*/ |
||||
|
||||
#ifndef DEXED_H_INCLUDED |
||||
#define DEXED_H_INCLUDED |
||||
|
||||
#include "msfa/controllers.h" |
||||
#include "msfa/dx7note.h" |
||||
#include "msfa/lfo.h" |
||||
#include "msfa/synth.h" |
||||
#include "msfa/fm_core.h" |
||||
#include "PluginFx.h" |
||||
#include "EngineMkI.h" |
||||
#include "EngineOpl.h" |
||||
|
||||
struct ProcessorVoice { |
||||
int midi_note; |
||||
bool keydown; |
||||
bool sustained; |
||||
bool live; |
||||
Dx7Note *dx7_note; |
||||
}; |
||||
|
||||
enum DexedEngineResolution { |
||||
DEXED_ENGINE_MODERN, |
||||
DEXED_ENGINE_MARKI, |
||||
DEXED_ENGINE_OPL |
||||
}; |
||||
|
||||
//==============================================================================
|
||||
|
||||
class DexedVoice : public LV2::Voice |
||||
{ |
||||
public: |
||||
DexedVoice(double rate); |
||||
}; |
||||
|
||||
//==============================================================================
|
||||
|
||||
class Dexed : public LV2::Synth<DexedVoice, Dexed> |
||||
{ |
||||
public: |
||||
Dexed(double rate); |
||||
}; |
||||
|
||||
#endif // PLUGINPROCESSOR_H_INCLUDED
|
Loading…
Reference in new issue