RE: Mute groups in .sfz/P5 Dimension
2007/01/02 22:52:26
(permalink)
I found another detail that I thought I'd add, since it's a little trap I fell into.
In light of Tom's advice, I added the polyphony=1 to my various <group>s (I left the off_mode as is to begin with, since that basically controls whether the sample is instantly muted, or whether the mute tells the sample to enter its envelope's release stage). So, my new <group> looked something like this:
<group> polyphony=1 group=35 off_by=35 key=35 loop_mode=one_shot
// followed by the <region> statements for the various velocity layers
This now worked quite dandily. So, I thought, I could then remove all the 'group=' and 'off_by=' statements for those drums that were in a 'group' (as opposed to a <group>, ugh) on their own (e.g. Kick, Snare,Toms, Rimshot, Crash cymbals and so on), since they hadn't worked for the 'self-mute' as I'd hoped. Of course, for my hats and the bell/ride samples, I kept the mute groups (i.e. 'group=' and 'off_by=') as I'd set them up originally.
So, for my kick drum, I now had
<group> polyphony=1 key=35 loop_mode=one_shot
// followed by the <region> statements for the various velocity layers
where you'll see that I removed the 'group=' and 'off_by=' opcodes; I did the same for the snares, toms, rimshots, crash cymbals, splashes, and so on.
What I now discovered was that all of the instruments from which I'd just removed the 'group=' and 'off_by' statements started to mute each other. It seems that they were all now in the same 'group=' (again, as opposed to <group>) by default, and the polyphony for that 'group=' was set to one. Reinstating the 'group=X' with a different X for each instrument fixed the problem; you don't need the 'off_by' in this example, just the 'group='. So, to complete the story, the sfz opcodes for my kick <group> now looks like this:
<group> polyphony=1 group=35 key=35 loop_mode=one_shot
with the 'group=' making a return, and the 'off_by' still absent.
If you made it all the way through this post, I salute you. Even if you're asleep.
ben