From badd8339f56161c97c1e22bef09843cddbbecc4d Mon Sep 17 00:00:00 2001 From: Vesa Date: Sun, 23 Mar 2014 14:20:24 +0200 Subject: [PATCH] fix previous --- plugins/wtsynth/WTSynth.cpp | 6 ++++-- plugins/wtsynth/WTSynth.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/wtsynth/WTSynth.cpp b/plugins/wtsynth/WTSynth.cpp index 1c7272200..42df80133 100644 --- a/plugins/wtsynth/WTSynth.cpp +++ b/plugins/wtsynth/WTSynth.cpp @@ -293,8 +293,10 @@ WTSynthInstrument::WTSynthInstrument( InstrumentTrack * _instrument_track ) : m_abmix( 0.0f, -100.0f, 100.0f, 0.1f, this, tr( "A-B Mix" ) ), m_envAmt( 0.0f, -200.0f, 200.0f, 1.0f, this, tr( "A-B Mix envelope amount" ) ), - m_envAtt( 0.0f, 0.0f, 2000.0f, 1.0f, this, tr( "A-B Mix envelope attack" ) ), - m_envDec( 0.0f, 0.0f, 2000.0f, 1.0f, this, tr( "A-B Mix envelope decay" ) ), + + m_envAtt( 0.0f, 0.0f, 2000.0f, 1.0f, 1.0f, this, tr( "A-B Mix envelope attack" ) ), + m_envHold( 0.0f, 0.0f, 2000.0f, 1.0f, 1.0f, this, tr( "A-B Mix envelope hold" ) ), + m_envDec( 0.0f, 0.0f, 2000.0f, 1.0f, 1.0f, this, tr( "A-B Mix envelope decay" ) ), m_amod( 0, 0, 3, this, tr( "A2-A1 modulation" ) ), m_bmod( 0, 0, 3, this, tr( "B2-B1 modulation" ) ), diff --git a/plugins/wtsynth/WTSynth.h b/plugins/wtsynth/WTSynth.h index 599d0d487..3a3fe7d0b 100644 --- a/plugins/wtsynth/WTSynth.h +++ b/plugins/wtsynth/WTSynth.h @@ -31,7 +31,7 @@ #include "graph.h" #include "AutomatableModel.h" #include "automatable_button.h" -#include "knob.h" +#include "TempoSyncKnob.h" #include "NotePlayHandle.h" #include "pixmap_button.h"