I am looking for elegant way to disable/enable playing of sample depending on CC value.
There is currently nice and simple way with loCC/hiCC. But in some cases this way dramatically increases number of regions and size of sfz file. May be I am missing something, but is there more elegant way than one loCC/hiCC for region?
CC99 | Sample
0-9 | A
10-19 | B
20-29 | A
30-39 | B
We have 2 samples, but have to use 4 regions:
Code: Select all
Now if I have something around 30 segments of CC values with 7 samples (and considering keyswitches, velocity switches and other CCs and this was only for 1 key!)... OMG... Lots and lots of copy-paste and regions. (Which of course could be done, but may be there is another way?.. )
Main problem here (as I see it) is that we have no OR mechanism for deciding if region will play or not (only AND in some form)...
I have come already to solution that seems to work. (not so elegant though, and I am not sure that it won't make more harm in future if I choose this way)
Through custom curves and delay. (May be there is better way than using delay, but 100 seconds seem enough to be sure that sample will never actually play)
Code: Select all
<curve> curve_index=183 v0=0 v9=0 v10=1 v19=1 v20=0 v29=0 v30=1 v39=1
<curve> curve_index=184 v0=1 v9=1 v10=0 v19=0 v20=1 v29=1 v30=0 v39=0
1) Less regions
2) Simple coding
1) There are only around 240 curves available (I will need around 170 just for this task, not many left in reserve)
2) Eats voices (I am not sure if it really eats CPU processing power, needs testing or answer from developers)
3) Possible problems of using delay for what it wasn't actually designed (?)
Any other ideas?