"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/zynaddsubfx/ZynAddSubFx.cpp" between
lmms-1.2.0-rc7.tar.gz and lmms-1.2.0-rc8.tar.gz

About: LMMS (Linux MultiMedia Studio) is a sound generation system (creation of melodies and beats, synthesis and mixing of sounds, arranging of samples; full MIDI support). Release candidate.

ZynAddSubFx.cpp  (lmms-1.2.0-rc7):ZynAddSubFx.cpp  (lmms-1.2.0-rc8)
skipping to change at line 112 skipping to change at line 112
m_filterFreqModel( 64, 0, 127, 1, this, tr( "Filter Frequency" ) ), m_filterFreqModel( 64, 0, 127, 1, this, tr( "Filter Frequency" ) ),
m_filterQModel( 64, 0, 127, 1, this, tr( "Filter Resonance" ) ), m_filterQModel( 64, 0, 127, 1, this, tr( "Filter Resonance" ) ),
m_bandwidthModel( 64, 0, 127, 1, this, tr( "Bandwidth" ) ), m_bandwidthModel( 64, 0, 127, 1, this, tr( "Bandwidth" ) ),
m_fmGainModel( 127, 0, 127, 1, this, tr( "FM Gain" ) ), m_fmGainModel( 127, 0, 127, 1, this, tr( "FM Gain" ) ),
m_resCenterFreqModel( 64, 0, 127, 1, this, tr( "Resonance Center Frequenc y" ) ), m_resCenterFreqModel( 64, 0, 127, 1, this, tr( "Resonance Center Frequenc y" ) ),
m_resBandwidthModel( 64, 0, 127, 1, this, tr( "Resonance Bandwidth" ) ), m_resBandwidthModel( 64, 0, 127, 1, this, tr( "Resonance Bandwidth" ) ),
m_forwardMidiCcModel( true, this, tr( "Forward MIDI Control Change Events " ) ) m_forwardMidiCcModel( true, this, tr( "Forward MIDI Control Change Events " ) )
{ {
initPlugin(); initPlugin();
connect( &m_portamentoModel, SIGNAL( dataChanged() ), this, SLOT( updateP connect( &m_portamentoModel, SIGNAL( dataChanged() ),
ortamento() ) ); this, SLOT( updatePortamento() ), Qt::DirectConnection );
connect( &m_filterFreqModel, SIGNAL( dataChanged() ), this, SLOT( updateF connect( &m_filterFreqModel, SIGNAL( dataChanged() ),
ilterFreq() ) ); this, SLOT( updateFilterFreq() ), Qt::DirectConnection );
connect( &m_filterQModel, SIGNAL( dataChanged() ), this, SLOT( updateFilt connect( &m_filterQModel, SIGNAL( dataChanged() ),
erQ() ) ); this, SLOT( updateFilterQ() ), Qt::DirectConnection );
connect( &m_bandwidthModel, SIGNAL( dataChanged() ), this, SLOT( updateBa connect( &m_bandwidthModel, SIGNAL( dataChanged() ),
ndwidth() ) ); this, SLOT( updateBandwidth() ), Qt::DirectConnection );
connect( &m_fmGainModel, SIGNAL( dataChanged() ), this, SLOT( updateFmGai connect( &m_fmGainModel, SIGNAL( dataChanged() ),
n() ) ); this, SLOT( updateFmGain() ), Qt::DirectConnection );
connect( &m_resCenterFreqModel, SIGNAL( dataChanged() ), this, SLOT( upda connect( &m_resCenterFreqModel, SIGNAL( dataChanged() ),
teResCenterFreq() ) ); this, SLOT( updateResCenterFreq() ), Qt::DirectConnection
connect( &m_resBandwidthModel, SIGNAL( dataChanged() ), this, SLOT( updat );
eResBandwidth() ) ); connect( &m_resBandwidthModel, SIGNAL( dataChanged() ),
this, SLOT( updateResBandwidth() ), Qt::DirectConnection
);
// now we need a play-handle which cares for calling play() // now we need a play-handle which cares for calling play()
InstrumentPlayHandle * iph = new InstrumentPlayHandle( this, _instrumentT rack ); InstrumentPlayHandle * iph = new InstrumentPlayHandle( this, _instrumentT rack );
Engine::mixer()->addPlayHandle( iph ); Engine::mixer()->addPlayHandle( iph );
connect( Engine::mixer(), SIGNAL( sampleRateChanged() ), connect( Engine::mixer(), SIGNAL( sampleRateChanged() ),
this, SLOT( reloadPlugin() ) ); this, SLOT( reloadPlugin() ) );
connect( instrumentTrack()->pitchRangeModel(), SIGNAL( dataChanged() ), connect( instrumentTrack()->pitchRangeModel(), SIGNAL( dataChanged() ),
this, SLOT( updatePitchRange() ) ); this, SLOT( updatePitchRange() ), Qt::DirectConnection );
} }
ZynAddSubFxInstrument::~ZynAddSubFxInstrument() ZynAddSubFxInstrument::~ZynAddSubFxInstrument()
{ {
Engine::mixer()->removePlayHandlesOfTypes( instrumentTrack(), Engine::mixer()->removePlayHandlesOfTypes( instrumentTrack(),
PlayHandle::TypeNotePlayHandle PlayHandle::TypeNotePlayHandle
| PlayHandle::TypeInstrumentPlayHandle ); | PlayHandle::TypeInstrumentPlayHandle );
m_pluginMutex.lock(); m_pluginMutex.lock();
delete m_plugin; delete m_plugin;
 End of changes. 2 change blocks. 
15 lines changed or deleted 17 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)