Page 2 of 2

Re: Touch sensitive key noises

PostPosted: Mon Mar 27, 2017 10:52 am
by puciak
Hello Martin,

I'm not sure AttackSelCriteria_HighestVelocity in ReleaseSample table is working right.
I have no switch linkages, all parameters set as you said: one silent loop attack with velocity criteria set to 127, 5 release samples with AttackSelCriteria_HighestVelocity set accordingly (25, 50, 75, 100, 127), ReleaseSelCriteria_HighestVelocity = 127, disabled phase align, amplitude scalling, crossfade time to 1ms and it still play only one sample, the most loud (with criteria set to 127).

I can get this working when I make 5 silent attack samples and then use just ReleaseSelCriteria_PreferThisRelForAttackID parameter, so I think I will leave it like that - it's working.

Re: Touch sensitive key noises

PostPosted: Mon Mar 27, 2017 12:49 pm
by mdyde
Hello Puciak,

I just made a test ODF to verify, and it appears to be working properly for me. Here are my example entries for a pipe with three releases, selected based on the attack velocity:

Code: Select all
   <Pipe_SoundEngine01_ReleaseSample>
      <UniqueID>1060</UniqueID>
      <LayerID>1060</LayerID>
      <SampleID>1</SampleID>
      <LoadSampleRange_StartPositionTypeCode>1</LoadSampleRange_StartPositionTypeCode>
      <LoadSampleRange_StartPositionValue>1</LoadSampleRange_StartPositionValue>
      <LoadSampleRange_EndPositionTypeCode>6</LoadSampleRange_EndPositionTypeCode>
      <LoadSampleRange_EndPositionValue>0</LoadSampleRange_EndPositionValue>
      <AttackSelCriteria_HighestVelocity>127</AttackSelCriteria_HighestVelocity>
      <AttackSelCriteria_MinTimeSincePrevPipeCloseMs>0</AttackSelCriteria_MinTimeSincePrevPipeCloseMs>
      <AttackSelCriteria_HighestCtsCtrlValue>127</AttackSelCriteria_HighestCtsCtrlValue>
      <ScaleAmplitudeAutomatically>Y</ScaleAmplitudeAutomatically>
      <DontBypassAmplitudeScalingIfUserDisablesMultipleReleases>N</DontBypassAmplitudeScalingIfUserDisablesMultipleReleases>
      <PhaseAlignAutomatically>Y</PhaseAlignAutomatically>
      <ReleaseCrossfadeLengthMs>45</ReleaseCrossfadeLengthMs>
      <ReleaseSelCriteria_HighestVelocity>127</ReleaseSelCriteria_HighestVelocity>
      <ReleaseSelCriteria_LatestKeyReleaseTimeMs>99999</ReleaseSelCriteria_LatestKeyReleaseTimeMs>
      <ReleaseSelCriteria_HighestCtsCtrlValue>127</ReleaseSelCriteria_HighestCtsCtrlValue>
      <ReleaseSelCriteria_PreferThisRelForAttackID></ReleaseSelCriteria_PreferThisRelForAttackID>
   </Pipe_SoundEngine01_ReleaseSample>
   <Pipe_SoundEngine01_ReleaseSample>
      <UniqueID>525092</UniqueID>
      <LayerID>1060</LayerID>
      <SampleID>2</SampleID>
      <LoadSampleRange_StartPositionTypeCode>1</LoadSampleRange_StartPositionTypeCode>
      <LoadSampleRange_StartPositionValue>1</LoadSampleRange_StartPositionValue>
      <LoadSampleRange_EndPositionTypeCode>6</LoadSampleRange_EndPositionTypeCode>
      <LoadSampleRange_EndPositionValue>0</LoadSampleRange_EndPositionValue>
      <AttackSelCriteria_HighestVelocity>80</AttackSelCriteria_HighestVelocity>
      <AttackSelCriteria_MinTimeSincePrevPipeCloseMs>0</AttackSelCriteria_MinTimeSincePrevPipeCloseMs>
      <AttackSelCriteria_HighestCtsCtrlValue>127</AttackSelCriteria_HighestCtsCtrlValue>
      <ScaleAmplitudeAutomatically>N</ScaleAmplitudeAutomatically>
      <DontBypassAmplitudeScalingIfUserDisablesMultipleReleases>N</DontBypassAmplitudeScalingIfUserDisablesMultipleReleases>
      <PhaseAlignAutomatically>Y</PhaseAlignAutomatically>
      <ReleaseCrossfadeLengthMs>45</ReleaseCrossfadeLengthMs>
      <ReleaseSelCriteria_HighestVelocity>127</ReleaseSelCriteria_HighestVelocity>
      <ReleaseSelCriteria_LatestKeyReleaseTimeMs>99999</ReleaseSelCriteria_LatestKeyReleaseTimeMs>
      <ReleaseSelCriteria_HighestCtsCtrlValue>127</ReleaseSelCriteria_HighestCtsCtrlValue>
      <ReleaseSelCriteria_PreferThisRelForAttackID></ReleaseSelCriteria_PreferThisRelForAttackID>
   </Pipe_SoundEngine01_ReleaseSample>
   <Pipe_SoundEngine01_ReleaseSample>
      <UniqueID>656164</UniqueID>
      <LayerID>1060</LayerID>
      <SampleID>3</SampleID>
      <LoadSampleRange_StartPositionTypeCode>1</LoadSampleRange_StartPositionTypeCode>
      <LoadSampleRange_StartPositionValue>1</LoadSampleRange_StartPositionValue>
      <LoadSampleRange_EndPositionTypeCode>6</LoadSampleRange_EndPositionTypeCode>
      <LoadSampleRange_EndPositionValue>0</LoadSampleRange_EndPositionValue>
      <AttackSelCriteria_HighestVelocity>40</AttackSelCriteria_HighestVelocity>
      <AttackSelCriteria_MinTimeSincePrevPipeCloseMs>0</AttackSelCriteria_MinTimeSincePrevPipeCloseMs>
      <AttackSelCriteria_HighestCtsCtrlValue>127</AttackSelCriteria_HighestCtsCtrlValue>
      <ScaleAmplitudeAutomatically>N</ScaleAmplitudeAutomatically>
      <DontBypassAmplitudeScalingIfUserDisablesMultipleReleases>N</DontBypassAmplitudeScalingIfUserDisablesMultipleReleases>
      <PhaseAlignAutomatically>Y</PhaseAlignAutomatically>
      <ReleaseCrossfadeLengthMs>45</ReleaseCrossfadeLengthMs>
      <ReleaseSelCriteria_HighestVelocity>127</ReleaseSelCriteria_HighestVelocity>
      <ReleaseSelCriteria_LatestKeyReleaseTimeMs>99999</ReleaseSelCriteria_LatestKeyReleaseTimeMs>
      <ReleaseSelCriteria_HighestCtsCtrlValue>127</ReleaseSelCriteria_HighestCtsCtrlValue>
      <ReleaseSelCriteria_PreferThisRelForAttackID></ReleaseSelCriteria_PreferThisRelForAttackID>
   </Pipe_SoundEngine01_ReleaseSample>