/[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 832 by persson, Sun Feb 5 10:24:05 2006 UTC revision 841 by persson, Sat Mar 4 16:23:53 2006 UTC
# Line 335  namespace LinuxSampler { namespace gig { Line 335  namespace LinuxSampler { namespace gig {
335                      pLFO1->ExtController = 0; // no external controller                      pLFO1->ExtController = 0; // no external controller
336                      bLFO1Enabled         = false;                      bLFO1Enabled         = false;
337              }              }
338              if (bLFO1Enabled) pLFO1->trigger(pDimRgn->LFO1Frequency,              if (bLFO1Enabled) {
339                                               start_level_max,                  pLFO1->trigger(pDimRgn->LFO1Frequency,
340                                               lfo1_internal_depth,                                 start_level_max,
341                                               pDimRgn->LFO1ControlDepth,                                 lfo1_internal_depth,
342                                               pDimRgn->LFO1FlipPhase,                                 pDimRgn->LFO1ControlDepth,
343                                               pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE);                                 pDimRgn->LFO1FlipPhase,
344                                   pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE);
345                    pLFO1->update(pLFO1->ExtController ? pEngineChannel->ControllerTable[pLFO1->ExtController] : 0);
346                }
347          }          }
348    
349    
# Line 378  namespace LinuxSampler { namespace gig { Line 381  namespace LinuxSampler { namespace gig {
381                      pLFO2->ExtController = 0; // no external controller                      pLFO2->ExtController = 0; // no external controller
382                      bLFO2Enabled         = false;                      bLFO2Enabled         = false;
383              }              }
384              if (bLFO2Enabled) pLFO2->trigger(pDimRgn->LFO2Frequency,              if (bLFO2Enabled) {
385                                               start_level_max,                  pLFO2->trigger(pDimRgn->LFO2Frequency,
386                                               lfo2_internal_depth,                                 start_level_max,
387                                               pDimRgn->LFO2ControlDepth,                                 lfo2_internal_depth,
388                                               pDimRgn->LFO2FlipPhase,                                 pDimRgn->LFO2ControlDepth,
389                                               pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE);                                 pDimRgn->LFO2FlipPhase,
390                                   pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE);
391                    pLFO2->update(pLFO2->ExtController ? pEngineChannel->ControllerTable[pLFO2->ExtController] : 0);
392                }
393          }          }
394    
395    
# Line 421  namespace LinuxSampler { namespace gig { Line 427  namespace LinuxSampler { namespace gig {
427                      pLFO3->ExtController = 0; // no external controller                      pLFO3->ExtController = 0; // no external controller
428                      bLFO3Enabled         = false;                      bLFO3Enabled         = false;
429              }              }
430              if (bLFO3Enabled) pLFO3->trigger(pDimRgn->LFO3Frequency,              if (bLFO3Enabled) {
431                                               start_level_mid,                  pLFO3->trigger(pDimRgn->LFO3Frequency,
432                                               lfo3_internal_depth,                                 start_level_mid,
433                                               pDimRgn->LFO3ControlDepth,                                 lfo3_internal_depth,
434                                               false,                                 pDimRgn->LFO3ControlDepth,
435                                               pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE);                                 false,
436                                   pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE);
437                    pLFO3->update(pLFO3->ExtController ? pEngineChannel->ControllerTable[pLFO3->ExtController] : 0);
438                }
439          }          }
440    
441    

Legend:
Removed from v.832  
changed lines
  Added in v.841

  ViewVC Help
Powered by ViewVC