/[svn]/linuxsampler/trunk/src/engines/common/InstrumentScriptVMFunctions.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/InstrumentScriptVMFunctions.cpp

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

revision 3215 by schoenebeck, Thu May 25 14:46:47 2017 UTC revision 3216 by schoenebeck, Thu May 25 15:16:28 2017 UTC
# Line 1631  namespace LinuxSampler { Line 1631  namespace LinuxSampler {
1631          if (m_vm->m_event->scheduleTime == pNote->triggerSchedTime) {          if (m_vm->m_event->scheduleTime == pNote->triggerSchedTime) {
1632              pNote->cause.Param.Note.Key = value;              pNote->cause.Param.Note.Key = value;
1633              m_vm->m_event->cause.Param.Note.Key = value;              m_vm->m_event->cause.Param.Note.Key = value;
1634          }¬†else {          } else {
1635              wrnMsg("change_note(): note number can only be changed when note is new");              wrnMsg("change_note(): note number can only be changed when note is new");
1636          }          }
1637    
# Line 1671  namespace LinuxSampler { Line 1671  namespace LinuxSampler {
1671          if (m_vm->m_event->scheduleTime == pNote->triggerSchedTime) {          if (m_vm->m_event->scheduleTime == pNote->triggerSchedTime) {
1672              pNote->cause.Param.Note.Velocity = value;              pNote->cause.Param.Note.Velocity = value;
1673              m_vm->m_event->cause.Param.Note.Velocity = value;              m_vm->m_event->cause.Param.Note.Velocity = value;
1674          }¬†else {          } else {
1675              wrnMsg("change_velo(): velocity can only be changed when note is new");              wrnMsg("change_velo(): velocity can only be changed when note is new");
1676          }          }
1677    

Legend:
Removed from v.3215  
changed lines
  Added in v.3216

  ViewVC Help
Powered by ViewVC