only when plugin is visible?
-
@d-healey said in only when plugin is visible?:
Have you checked that volumeMeters does contain the references to the floating tiles?
it does contain an array with 3 elements, which are the three meters in existence...
-
@Morphoice Are you assigning laf to these controls anywhere else in your script already?
-
@d-healey you might be on to something there. I just took all the other laf into an extra script and when I comment out the include it seems to work, so there must be something interfering... I have to investigate
-
@d-healey theres another for loop to assign laf to the volume sliders which seems to interfere as it uses v too
for (v in volumeSliders) { v.setLocalLookAndFeel(laf_VolumeSlider); }
if I comment it out the meters work but my volume sliders have no laf
changing the v to another variable doesnt help -
@d-healey also super weird if I press pad1 meter1,2 and 3 moves, if I press pad2, meter 2 and 3 moves and if I press pad 3 only meter 3 moves.... although all are assign a separate synth. I can't make heads or tails of it right now.
-
@Morphoice said in only when plugin is visible?:
as it uses v too
Encapsulate all this stuff into its own functions or namespaces and avoid using
var
. This will solve most of this kind of issue. -
like this?
inline function setlaf_VolumeMeter() { for (v in volumeMeters) { v.setLocalLookAndFeel(laf_VolumeMeter); } } setlaf_VolumeMeter();
that works. doesn't solve the problem of all meters going off though. I made aroud 10 and it's the same n to 10 fire up when drumpad n is pressed, not those of the previous drumpads
-
HiseSnippet 9732.3oc68sDaijjcfjUUY2hr9z0zcOy58iAxQ6rFTcolE+KptlpKVhRpk7HURsn5ZZ6pqo5TLCRlsRlI2LSJUpqolslY50XrWX2s28xJfE1MvbwmL7AeXlScA6CKLfgw.LXgO5pG.eXguTW74ceQDYlLxjLn3O8gToP8QYDwKh2u3EuW7E8XKjlLR9QlZJMZfrBEJ7E2zPuLxzT2HT3naePCTnvWQnzAZV0JVSRQKzpKFJ7kEVW2nQsEMZVOzBGzPxzDIGJb3K9d3BDNxkBEJzy+kQdwcVPRURqLxNIxO2WWoLZMk5JVsRcyBeOEU0kkjQaqTmozYJrZYcsh5p5MAj4hBIB0Pp7tRUQ2SBWrKHDZEIyZgB+VBRoSKWIWt7yKWNS1jyWQZN4x6jd9rH4TYRilGIKOWZ4cpTIT3WYIYEKciRVRVHyPguzB5x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V1mxTElDCwCWc.B7grFpIYMj0f8Mnx.UKsE3y5Hq9NtGBLbbajNEsahj1kTpdOxGRRfCRRUQfhXDvN36grf9fHmTE0qHhcBFmTCn9MEiYBFJwehQCjt3NRlJ.dqd.niSXWOFytvsAo7XMem55F2V7wztPNobya2pjwUQZUspQ5IQLHKsOocv8pqZfsDzM2P55rGHlcl1pVxTe2sZLUqN0jLLuOxvBSpT2G44vSBa+3.utH+2a4vJYcxqUpOzF4b8ar60qiuhdqVhWiYcidQQSEFlvUGPDnPe5QwHpv9sYPxhpcej1LHkkX6CTv6TCbqngB01L4dEAKccUKkFdlE2u4EDXlSKrKtKoUEn.69EDykarym.bCb01pjqIAcISxzOxqm.aCM01JMviU.caDUL2D75UQqJdbbIfcCrJqtN9gceFaT1W6zzv.90so4EiFxQL2hdaXvX6AffjoHJ6.cheabID+c9cD+1t3EVuBCPDVL0xnI5VtiEYfHZqM0nrXQPgFTIfrepcnGhtiAAM15fpjRIDvvjMKonUFYC4V3ZATAdWwjIRjniMqMCBR0F2Mcw8Ywj1sns4ScTbIDZmfuCfayjrUdvZrhDIAyPi.VcqPsVa.MziWFzgvKc1+ePn5Ccg
-
I'm investigating..
btw you should reduce the max voice count of each of your samplers, I doubt you need more than 16 per sampler in an instrument like this. It will reduce RAM/CPU usage.
-
Ok it seems with samplers you have to set the
UseSourceChannels
property for the floating tiles totrue
otherwise it will use the master output - I don't know why this is necessary but should solve the issue for you. -
@d-healey said in only when plugin is visible?:
you should reduce the max voice
true, actually only 1 voice per sampler is needed I guess
@d-healey said in only when plugin is visible?:
with samplers you have to set the UseSourceChannels property
wow thanks, Dave. another one I could never have figured out. I seem to have a lucky hand stumbling upon the hard ones ;)
-
@Morphoice said in only when plugin is visible?:
I seem to have a lucky hand stumbling upon the hard ones
Everything's hard before it's easy ;)
-
@d-healey true :)
-
@d-healey you wouldn't happen to know why the balance/volume of the sampler doesnt affect the meter, would you? I#m having a hard time with them always peaking at 100% no matter how low I turn a voice to be
-
@Morphoice said in only when plugin is visible?:
balance/volume
Try changing the SkewFactor or PaddingSize properties.
-
@d-healey nah the values must be taken from before the samplers balance control, which is funny, as the little indicator on the sampler module itself shows it correctly
-
@Morphoice You should add a simple gain to each of your samplers and connect the peak meters and your volume sliders to those rather than connecting to the sampler's volume knob. The sampler's knob doesn't have any smoothing applied so you can get glitchy sounds when automating it, but with the simple gain this doesn't happen.
-
@d-healey Aye, I'll try that. Sounds like a better solution and will probably fix the 0-1 linear value to dB which I'm having
-
@d-healey the simple gains got everything sorted!
I did this to manage the eprom selection with the button colums
function onControl(control, value) { if (snareProms.contains(control)) { var index = snareProms.indexOf(control); for(e in snareProms) e.setValue( e == control); Console.print(snareMaps[index]); } }
there's the same problem with the controls all being triggered onInit unless I make them not a preset parameter. If I replace the console output with loading the samplemap the plugin get a bunch of commands to load maps at once, would that bother the sampler or be a performance problem? as I understand it the map is just parameters and the sampler lazy loads the samples anyways after it has read the map... however, setting an initial selection doesnt work that way again.
is there a workaround to have my selections saved in a preset that still works?
-
@Morphoice control callbacks should be inline functions and there you can use local instead of var.