From 364c837a62630e662f8bcaae5a705ae91ede9ef0 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Mon, 1 Dec 2008 22:55:51 +0000 Subject: [PATCH] per default play sub-octaves of first oscillator in osc 2 and 3 (stable backport) git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1862 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 5 +++++ plugins/triple_oscillator/triple_oscillator.cpp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c836de852..2683ccb3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-01 Tobias Doerffel + + * plugins/triple_oscillator/triple_oscillator.cpp: + per default play sub-octaves of first oscillator in osc 2 and 3 + 2008-11-22 Tobias Doerffel * src/core/automatable_model.cpp: diff --git a/plugins/triple_oscillator/triple_oscillator.cpp b/plugins/triple_oscillator/triple_oscillator.cpp index aa610a9a5..414098b23 100644 --- a/plugins/triple_oscillator/triple_oscillator.cpp +++ b/plugins/triple_oscillator/triple_oscillator.cpp @@ -72,7 +72,8 @@ oscillatorObject::oscillatorObject( model * _parent, int _idx ) : MaxVolume, 1.0f, this, tr( "Osc %1 volume" ).arg( _idx+1 ) ), m_panModel( DefaultPanning, PanningLeft, PanningRight, 1.0f, this, tr( "Osc %1 panning" ).arg( _idx+1 ) ), - m_coarseModel( 0, -2 * KeysPerOctave, 2 * KeysPerOctave, 1.0f, this, + m_coarseModel( -_idx*KeysPerOctave, + -2 * KeysPerOctave, 2 * KeysPerOctave, 1.0f, this, tr( "Osc %1 coarse detuning" ).arg( _idx+1 ) ), m_fineLeftModel( 0.0f, -100.0f, 100.0f, 1.0f, this, tr( "Osc %1 fine detuning left" ).arg( _idx+1 ) ),