/[svn]/linuxsampler/trunk/src/engines/sfz/Engine.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/sfz/Engine.cpp

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

revision 4012 by schoenebeck, Thu May 25 21:49:40 2017 UTC revision 4013 by schoenebeck, Fri Dec 31 18:08:14 2021 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck    *   *   Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck    *
6   *   Copyright (C) 2005-2009 Christian Schoenebeck                         *   *   Copyright (C) 2005-2021 Christian Schoenebeck                         *
7   *   Copyright (C) 2009-2012 Grigor Iliev                                  *   *   Copyright (C) 2009-2012 Grigor Iliev                                  *
8   *                                                                         *   *                                                                         *
9   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
# Line 221  namespace LinuxSampler { namespace sfz { Line 221  namespace LinuxSampler { namespace sfz {
221          q.key         = itNote->cause.Param.Note.Key; //itNoteOffEvent->Param.Note.Key; <- using note object instead, since note nr might been modified by script          q.key         = itNote->cause.Param.Note.Key; //itNoteOffEvent->Param.Note.Key; <- using note object instead, since note nr might been modified by script
222    
223          // MIDI note-on velocity is used instead of note-off velocity          // MIDI note-on velocity is used instead of note-off velocity
224          q.vel         = itNote->cause.Param.Note.Velocity; //pChannel->pMIDIKeyInfo[q.key].Velocity; <- using note object instead, since velocity might been modified by script          q.vel         = pChannel->pMIDIKeyInfo[q.key].Velocity;
225          itNoteOffEvent->Param.Note.Velocity = q.vel;          itNoteOffEvent->Param.Note.Velocity = q.vel;
226            itNote->cause.Param.Note.Velocity = q.vel;
227    
228          q.bend        = pChannel->Pitch;          q.bend        = pChannel->Pitch;
229          q.bpm         = 0;          q.bpm         = 0;

Legend:
Removed from v.4012  
changed lines
  Added in v.4013

  ViewVC Help
Powered by ViewVC