/[svn]/linuxsampler/trunk/src/engines/gig/Voice.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/Voice.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 921 by persson, Sat Jul 22 14:22:53 2006 UTC revision 922 by persson, Mon Oct 2 18:40:10 2006 UTC
# Line 338  namespace LinuxSampler { namespace gig { Line 338  namespace LinuxSampler { namespace gig {
338              }              }
339              if (bLFO1Enabled) {              if (bLFO1Enabled) {
340                  pLFO1->trigger(pDimRgn->LFO1Frequency,                  pLFO1->trigger(pDimRgn->LFO1Frequency,
341                                 start_level_max,                                 start_level_min,
342                                 lfo1_internal_depth,                                 lfo1_internal_depth,
343                                 pDimRgn->LFO1ControlDepth,                                 pDimRgn->LFO1ControlDepth,
344                                 pDimRgn->LFO1FlipPhase,                                 pDimRgn->LFO1FlipPhase,
# Line 835  namespace LinuxSampler { namespace gig { Line 835  namespace LinuxSampler { namespace gig {
835              if (EG3.active()) finalSynthesisParameters.fFinalPitch *= EG3.render();              if (EG3.active()) finalSynthesisParameters.fFinalPitch *= EG3.render();
836    
837              // process low frequency oscillators              // process low frequency oscillators
838              if (bLFO1Enabled) fFinalVolume *= pLFO1->render();              if (bLFO1Enabled) fFinalVolume *= (1.0f - pLFO1->render());
839              if (bLFO2Enabled) fFinalCutoff *= pLFO2->render();              if (bLFO2Enabled) fFinalCutoff *= pLFO2->render();
840              if (bLFO3Enabled) finalSynthesisParameters.fFinalPitch *= RTMath::CentsToFreqRatio(pLFO3->render());              if (bLFO3Enabled) finalSynthesisParameters.fFinalPitch *= RTMath::CentsToFreqRatio(pLFO3->render());
841    

Legend:
Removed from v.921  
changed lines
  Added in v.922

  ViewVC Help
Powered by ViewVC