/[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 406 by schoenebeck, Fri Feb 11 13:13:54 2005 UTC revision 407 by persson, Wed Feb 23 19:14:14 2005 UTC
# Line 326  namespace LinuxSampler { namespace gig { Line 326  namespace LinuxSampler { namespace gig {
326    
327          Volume = pDimRgn->GetVelocityAttenuation(itNoteOnEvent->Param.Note.Velocity) / 32768.0f; // we downscale by 32768 to convert from int16 value range to DSP value range (which is -1.0..1.0)          Volume = pDimRgn->GetVelocityAttenuation(itNoteOnEvent->Param.Note.Velocity) / 32768.0f; // we downscale by 32768 to convert from int16 value range to DSP value range (which is -1.0..1.0)
328    
329            Volume *= pDimRgn->SampleAttenuation;
330    
331          // setup EG 1 (VCA EG)          // setup EG 1 (VCA EG)
332          {          {
333              // get current value of EG1 controller              // get current value of EG1 controller

Legend:
Removed from v.406  
changed lines
  Added in v.407

  ViewVC Help
Powered by ViewVC