Welcome to Decent Sampler Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

Hi, I am trying to use different lowpass filters in different groups in which samples have different hiVel  loVel values to get a velocity dependent cutoff. It seems as if only the effect specified in the last group applies to all previous groups, like

<group >
            <sample ... hiVel="63" loVel="0" .../>

             <sample ... hiVel="63" loVel="0" .../>

effects>
            <effect type="lowpass" frequency="200.0"/>
      </effects>

        </group>

<group >

<sample ... hiVel="127" loVel="64" .../>

             <sample ... hiVel="127" loVel="64" .../>

effects>
            <effect type="lowpass" frequency="20000.0"/>

      </effects>
        </group>
always applies the second filter

in Using the Sampler by

2 Answers

0 votes
I'm using per group low pass filter and it works just fine.
From what I see here, there is a mistake in your code :

effects>

To state an effect or any other sub-element in an xml file you have to start with <

like this for example:

<effects>
        <effect type="lowpass" resonance="0.7" frequency="1000.0"/>
</effects>
by michel-pecqueur (640 points)
0 votes

Another mistake,
When you define a group you should at least give it a name like this for example :
<group name="Guitar_f">
Some code for samples goes here
</group>
<group name="Guitar_p">
      <effects>
        <effect type="lowpass" resonance="0.7" frequency="1000.0"/>
      </effects>
Some code for samples goes here
</group>

by michel-pecqueur (640 points)
...