4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 - 2008 Christian Schoenebeck * |
* Copyright (C) 2005 - 2008 Christian Schoenebeck * |
7 |
* Copyright (C) 2009 - 2012 Christian Schoenebeck and Grigor Iliev * |
* Copyright (C) 2009 - 2013 Christian Schoenebeck and Grigor Iliev * |
8 |
* * |
* * |
9 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
10 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
38 |
#include "../gig/SynthesisParam.h" |
#include "../gig/SynthesisParam.h" |
39 |
#include "../sfz/EGADSR.h" |
#include "../sfz/EGADSR.h" |
40 |
#include "SF2SignalUnitRack.h" |
#include "SF2SignalUnitRack.h" |
41 |
|
#include "EngineChannel.h" |
42 |
|
|
43 |
namespace LinuxSampler { namespace sf2 { |
namespace LinuxSampler { namespace sf2 { |
44 |
class Engine; |
class Engine; |
75 |
virtual float CalculateFinalCutoff(float cutoffBase); |
virtual float CalculateFinalCutoff(float cutoffBase); |
76 |
virtual uint8_t GetVCFCutoffCtrl(); |
virtual uint8_t GetVCFCutoffCtrl(); |
77 |
virtual uint8_t GetVCFResonanceCtrl(); |
virtual uint8_t GetVCFResonanceCtrl(); |
78 |
virtual void ProcessCCEvent(RTList<Event>::Iterator& itEvent); |
virtual void ProcessCCEvent(RTList<Event>::Iterator& itEvent) OVERRIDE; |
79 |
|
virtual void ProcessChannelPressureEvent(RTList<Event>::Iterator& itEvent) OVERRIDE; |
80 |
|
virtual void ProcessPolyphonicKeyPressureEvent(RTList<Event>::Iterator& itEvent) OVERRIDE; |
81 |
virtual void ProcessCutoffEvent(RTList<Event>::Iterator& itEvent); |
virtual void ProcessCutoffEvent(RTList<Event>::Iterator& itEvent); |
82 |
virtual double GetVelocityAttenuation(uint8_t MIDIKeyVelocity); |
virtual double GetVelocityAttenuation(uint8_t MIDIKeyVelocity); |
83 |
virtual double GetVelocityRelease(uint8_t MIDIKeyVelocity); |
virtual double GetVelocityRelease(uint8_t MIDIKeyVelocity); |
84 |
virtual double GetSampleAttenuation(); |
virtual double GetSampleAttenuation(); |
85 |
virtual void ProcessGroupEvent(RTList<Event>::Iterator& itEvent); |
virtual void ProcessGroupEvent(RTList<Event>::Iterator& itEvent); |
86 |
virtual void AboutToTrigger(); |
virtual void AboutToTrigger(); |
87 |
|
virtual int CalculatePan(uint8_t pan); |
88 |
|
|
89 |
private: |
private: |
90 |
::sf2::Region* pPresetRegion; |
::sf2::Region* pPresetRegion; |