...
 
Commits (1)
......@@ -25,7 +25,8 @@ public:
private:
Audio::PulseWave<CalcType>& wave; ///< Holds the reference to the wave.
MIDI::InputChannel& channel; ///< Holds the reference to the MIDI channel.
MIDI::InputChannel::ControlChangeHookHandle cchook; ///< MIDI channel hook.
/// \brief MIDI channel hook.
MIDI::InputChannel::ControlChangeSignal::SlotHandle cc_hook;
/// \brief Called when channel receives control change event.
/// \param[in] event Event to handle.
......
......@@ -15,7 +15,7 @@ PulseSynthMIDIControl<CalcType>::PulseSynthMIDIControl(
: wave{wave},
channel{channel}
{
cchook = channel.HookControlChange([&](const auto& event){
cc_hook = channel.AddControlChangeSlot([&](const auto& event){
this->OnControlChange(event); });
this->SetDutyCycle();
}
......
......@@ -5,7 +5,7 @@
#pragma once
#include <ftz/Audio/ParallelPolyphonicSynth.h>
#include <ftz/Audio/Synth/ParallelPolyphonicSynth.h>
#include "PluginBaseTemplate.h"
......
......@@ -5,11 +5,11 @@
#pragma once
#include <ftz/Audio/SynthSettings.h>
#include <ftz/Audio/Pan.h>
#include <ftz/Audio/Amplifier.h>
#include <ftz/Audio/Clamper.h>
#include <ftz/Audio/EffectChain.h>
#include <ftz/Audio/Synth/SynthSettings.h>
#include <ftz/Audio/Effect/Pan.h>
#include <ftz/Audio/Effect/Amplifier.h>
#include <ftz/Audio/Effect/Clamper.h>
#include <ftz/Audio/Effect/EffectChain.h>
#include "DistrhoPlugin.hpp"
......
......@@ -5,7 +5,7 @@
#pragma once
#include <ftz/Audio/PolyphonicSynth.h>
#include <ftz/Audio/Synth/PolyphonicSynth.h>
#include "PluginBaseTemplate.h"
......
......@@ -5,7 +5,7 @@
#pragma once
#include <ftz/Audio/PolyphonicSynth.h>
#include <ftz/Audio/Synth/PolyphonicSynth.h>
#include "PluginBaseTemplate.h"
......
......@@ -6,7 +6,7 @@
#pragma once
#include <ftz/MIDI/Event.h>
#include <ftz/Audio/EffectChain.h>
#include <ftz/Audio/Effect/EffectChain.h>
#include "Config.h"
......
......@@ -5,15 +5,15 @@
#pragma once
#include <ftz/Audio/SynthSettings.h>
#include <ftz/Audio/WhiteNoise.h>
#include <ftz/Audio/OscillatorGenerator.h>
#include <ftz/Audio/EnvelopeSettings.h>
#include <ftz/Audio/PolyphonicSynth.h>
#include <ftz/Audio/Pan.h>
#include <ftz/Audio/Amplifier.h>
#include <ftz/Audio/Clamper.h>
#include <ftz/Audio/EffectChain.h>
#include <ftz/Audio/Synth/SynthSettings.h>
#include <ftz/Audio/Oscillator/WhiteNoise.h>
#include <ftz/Audio/Generator/OscillatorGenerator.h>
#include <ftz/Audio/Generator/EnvelopeSettings.h>
#include <ftz/Audio/Synth/PolyphonicSynth.h>
#include <ftz/Audio/Effect/Pan.h>
#include <ftz/Audio/Effect/Amplifier.h>
#include <ftz/Audio/Effect/Clamper.h>
#include <ftz/Audio/Effect/EffectChain.h>
#include "../DPF/Config.h"
......
......@@ -5,8 +5,8 @@
#pragma once
#include <ftz/Audio/PulseWave.h>
#include <ftz/Audio/OscillatorGenerator.h>
#include <ftz/Audio/Oscillator/PulseWave.h>
#include <ftz/Audio/Generator/OscillatorGenerator.h>
#include "../DPF/PulsePluginTemplate.h"
......
......@@ -5,8 +5,8 @@
#pragma once
#include <ftz/Audio/PulseWave.h>
#include <ftz/Audio/OscillatorGenerator.h>
#include <ftz/Audio/Generator/BandlimitedPulseWave.h>
#include <ftz/Audio/Generator/OscillatorGenerator.h>
#include "../DPF/PulsePluginTemplate.h"
......
......@@ -5,8 +5,8 @@
#pragma once
#include <ftz/Audio/OpenCL/BandlimitedPulseWave.h>
#include <ftz/Audio/ParallelPolyphonicSynth.h>
#include <ftz/Audio/Generator/OpenCL/BandlimitedPulseWave.h>
#include <ftz/Audio/Synth/ParallelPolyphonicSynth.h>
#include "../DPF/PluginBaseTemplate.h"
......
......@@ -5,8 +5,8 @@
#pragma once
#include <ftz/Audio/SawtoothWave.h>
#include <ftz/Audio/OscillatorGenerator.h>
#include <ftz/Audio/Oscillator/SawtoothWave.h>
#include <ftz/Audio/Generator/OscillatorGenerator.h>
#include "../DPF/SimplePluginTemplate.h"
......
......@@ -5,7 +5,7 @@
#pragma once
#include <ftz/Audio/SawtoothWave.h>
#include <ftz/Audio/Generator/BandlimitedSawtoothWave.h>
#include "../DPF/SimplePluginTemplate.h"
......
......@@ -5,7 +5,7 @@
#pragma once
#include <ftz/Audio/OpenCL/BandlimitedSawtoothWave.h>
#include <ftz/Audio/Generator/OpenCL/BandlimitedSawtoothWave.h>
#include "../DPF/OpenCLPluginTemplate.h"
......
......@@ -5,8 +5,8 @@
#pragma once
#include <ftz/Audio/SineWave.h>
#include <ftz/Audio/OscillatorGenerator.h>
#include <ftz/Audio/Oscillator/SineWave.h>
#include <ftz/Audio/Generator/OscillatorGenerator.h>
#include "../DPF/SimplePluginTemplate.h"
......
......@@ -5,8 +5,8 @@
#pragma once
#include <ftz/Audio/TriangleWave.h>
#include <ftz/Audio/OscillatorGenerator.h>
#include <ftz/Audio/Oscillator/TriangleWave.h>
#include <ftz/Audio/Generator/OscillatorGenerator.h>
#include "../DPF/SimplePluginTemplate.h"
......
......@@ -5,7 +5,7 @@
#pragma once
#include <ftz/Audio/TriangleWave.h>
#include <ftz/Audio/Generator/BandlimitedTriangleWave.h>
#include "../DPF/SimplePluginTemplate.h"
......
......@@ -5,7 +5,7 @@
#pragma once
#include <ftz/Audio/OpenCL/BandlimitedTriangleWave.h>
#include <ftz/Audio/Generator/OpenCL/BandlimitedTriangleWave.h>
#include "../DPF/OpenCLPluginTemplate.h"
......