Hello everyone,
there's a strange thing I'm noticing when using a widget (knob) to control a modulator, but I guess this would apply to other controlled parameters as well.
Simply put, if I drag the widget with my mouse abruptly, some values of the controlled parameters are skipped. In the case of the modulator, I'm controlling the Pitch of the sampler (-12 to +12 semitones) and if I move the mouse very quick from default value (0) to the minimum or maximum, I can see that the modulator intensity stops randomly at -4, -7 etc. It doesn't happen if I drag the mouse slowly.
I partially solved it by increasing the mouse sensitivity in order to make the widget less "slippery", wondering if it's a know behaviour or if there's something amiss in my script.
Regards,
Giuseppe
Posts
-
Mouse sensitivity and controlled parameters
-
RE: SliderPack for variables storage: strange behaviour
@Giuseppe Thanks David. It's starting to make sense :)
-
RE: SliderPack for variables storage: strange behaviour
@d-healey ok, but given that Hise can't read the numeric value of a given widget until an UI event happens or a new compile is launched, how does one solve the issue?
Say I want to print the value of a given widget at launch, where should I put the Console.print() line?
What I'm trying to understand is how Hise handles the variables storage. -
RE: SliderPack for variables storage: strange behaviour
@Giuseppe New update: no matter what widget I use and/or control callback assigned to it, Hise just won't recall the saved value when launched, A new compile or an interaction with the UI is required to restore those values I need to be persistent.
I'm obviously doing something wrong, but honestly what's the best way to store a value that needs to be recalled at launch? Is using widgets a good solution or is there something that simply makes a variable persistent? -
RE: SliderPack for variables storage: strange behaviour
@d-healey said in SliderPack for variables storage: strange behaviour:
Yes
Update: I just stored the variables in two separate Sliders instead of SliderPacks and it works. It's the SliderPack having this init behaviour for some reasons.
Will try to store the values into a numeric array because having a bunch of knobs just for variable persistence sounds a bit tedious. -
RE: SliderPack for variables storage: strange behaviour
@d-healey thanks again, will give it a try tomorrow!
-
RE: SliderPack for variables storage: strange behaviour
@d-healey said in SliderPack for variables storage: strange behaviour:
Try assigning a control callback to the sliderpack and get the value in there instead of in on init.
Thanks a lot David. I thought about the SliderPack custom callback, but I should have specified that the only reason the SliderPack is there is because to store data (in the real script it will be invisible). Should I create the callback regardless of the user interaction?
PS: yes, I'm coming from there! :)
-
RE: SliderPack for variables storage: strange behaviour
@d-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5cIGiumoyupWVGyVlMZ1LtnFoh4toUT6lVQ8aZEyeSqXgaZEKdSqXooWwcwGudOemNgCaTT18fs1zv2.6itkMgTJvaU4+EH6pAKG
Basically, pad_idx counts the 16 small buttons under the sliders, whereas slot_idx counts the latest clicked slot (square button) in each pad selection.
pad_idx and slot_idx are both stored in the SliderPack, but when Hise is launched the getSliderValueAt() is ineffective. Just compile it and it reads the values from the SliderPack, so pad_idx and slot_idx are correctly assigned .
Sorry if it sounds confused, I'm trying my best to make it clear :) -
RE: SliderPack for variables storage: strange behaviour
@d-healey do you mean a simplified version of my script?
-
SliderPack for variables storage: strange behaviour
Hello everyone,
so I'm storing some numerical values (indexes) in a SliderPack.
I'm trying to initialise the script by recalling said variables from the SliderPack by using getSliderValueAt(), which works correctly except when I launch Hise and open said script, where it seems the variables are just not recalled correctly from the SliderPack. I need to Compile in order to make the getSliderValueAt() method effective.HiseSnippet 7424.3oc6c0zdaacklJ1vIRMI0NS6Lc9XAd7SdxHU6XwC+lwwsTe5vDIYUQYU6oOozPjPRnADfA.TVxItiSW0+BytrrKa2MK8Og9Sn6lsY4ral6E.j7BR.R.d+vTXFk7XI.buG7dOmCduGbv4BrukYKUaaSqLKrzgW1UMyBuqTiKMbNaiyTzLxTeyLKbSoMO3w69E0OrITZ+01rQl0urqhssZ6LKrv0dHtUKr30y39yO7KWWQWwnk5vckIyQlZsT2Qqilyv8tesuPSWeak1pGp0gn0EpUukowFl5l8PH5ZRYyzUo0Wobp5dJ3l8VRY9LE6yxrvOWJWtSZUIa1J4yWLqhR91JJE.07UUOozIsJlsZ11GWLK5+JkYgarUaMGSqFNJNp1YV35qa19xFmY9bCuSvQZ1ZGqqh2.xz.cl8181l5swCQ7dyrwYZ5s2uupxNCRJ6OTwcMOE2OQZWs1ZC1OoBDe.4g8fTAtvaEDdWK.7.R3kk.dg.oEHfz08fzsjZzxRqqyvifwyORptgip0IJH6DIT7Zal25+5RoMLQsvv4dcT9J0ssPaLnGKCYyl8txEJmck6uz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V665df54pVGaG4at84KW280bZc1tlsi7k2tHgajjb+yARay1024vsNnwTI5lFMULX5lBWYHDcIkzFMd17o6cEdr7yBNVp23vqvCl+wfCls1YsmdEdz7OEXzbvVGs0AqeEd37uDX3re8C23y18QaN+Ofh7ilyRR8GMj2n0Ejzue3HzuudL3U6E0l7qB2Ov+71PWqsp09nwr6I+VR3n.TadthkFNly.AakICw8.77ZcTtfLQ11NpcCF55O7Ksck9ZcL6YPv3WqVa0ST5o6bjhdu.g5lYeKyVp11ln3hu9gt.8lRnIh5oqff0FmonYjo9l3c9Pze5e.THKYV+xtJ113fqW3Z0MbTMr0btjDIK7VagBi1zpgihCZTsv0V2r8kMNy74FdwieTesEd5mFnPy6OQzYZ5sGfJa7LgwCh2Rp+rngfw2JDLhBGlGX7ZG56ms0Imn1xYH.uNZx9.5M1c5Ovrmilwo6pftHD4iHsWuNMP2qSKUzY2.4miDtzBuE95Ausyh2FqAZnZz1ci+GzO9GDvauf+Ag9GLSGkVVlMagteIKSj.QN1t6AgIC26kaQocwaKCYNOnWVlLczZq0rUqfhZrNlaV6X9YsiEl0NVbV6XoYsikm0NVY5cbWz1q0ywri2kMYxr69asohiBxGcKCLojq2Zl+WHEXzTM
Seems like I need to recall these variables not in the init callback? in this case, where and how?
-
RE: Controlling FX from a slider?
@d-healey Just fixed, I forgot to associate the callback to the knob. Btw, does ChatGPT understand Hisescript?
-
Controlling FX from a slider?
Hi everyone,
noob question but I can't get this simple thing working: controlling a low pass filter from a knob.
Where's my mistake?HiseSnippet 2773.3oc6a07abjTEuGaWI1S9X2rrZEf.oRVhEmM9ioGO9iP1rY721J1IS73DXO4TS203o1zcWM8G1d.kCHDRbCwwkCn8OAtfD6Ix+.qDHtiBm4xdf6vq5p6oqt8X6YMwSrQLJRtqpdupdue0qp2GcmZdbCpuO2SqvH6z1kpU35n5scBZsTKByQaik0J78QOiaEZS2sFKvn0tKr9x02d2k3NAdbKesEa6R78olZEJL3ZBVJLxPZQ+95GrHwh3XPS6R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xgtVLCvZPXyn8FVWJetqKk6a5xzm65xz8Mcox4ttTouoKybtqKyz2zkYO20kY6a5xbm65xb8McY9yccY9iWW5GdZ6GqgMwviuax+ob.e5CG0CfuNQ.6HnsDswc9FlQnRfCValIaWCCwl0DPjbcmmxmAdl9LvSky.OybF3Y1y.OycF3Y9SjGQQ4WHLfaKiTG5n1Jx.vJrRm.vFT6+.ZqYKwB
-
RE: Pitch modulation beyond +-12 st
@alhug thanks .
Not sure what I'm doing wrong, but if I set the knob range to -12 to +12 with a step equal to 1 (like in this case I guess), every step corresponds to an octave shift. -
RE: Pitch modulation beyond +-12 st
@d-healey yes, I corrected it and works. As I'm reading several topics focused on this, I share my solution here.
After setting as many Constant pitch modulators as the number of octaves needed, here's the custom callback that makes the trick.
const var Pitch_knob = Content.getComponent("Pitch_knob"); Pitch_knob.set("text", "Pitch_knob"); Pitch_knob.set("suffix", " st"); Pitch_knob.setRange(-2, 2, 1/12); Pitch_knob.set("middlePosition", 0); Pitch_knob.setControlCallback(onPitch_knobControl); const var PitchMod = Synth.getModulator("PitchMod"); const var PitchMod2 = Synth.getModulator("PitchMod2"); const var Label1 = Content.getComponent("Label1"); inline function onPitch_knobControl(component, value) { if(value>=-1 && value<=1) { PitchMod.setIntensity(value*12); PitchMod2.setIntensity(0); } if(value<-1) { PitchMod2.setIntensity((value+1)*12); } if(value>1) { PitchMod2.setIntensity((value-1)*12); } Label1.set("text","Pitch: "+Math.round(12*value)+" st"); };
I used a label to show the value in semitones.
-
RE: Pitch modulation beyond +-12 st
@d-healey Here's my snippet. I certainly did something wrong because the second modulator is not controlled properly.
HiseSnippet 2416.3oc2a8zaabbEenjFGIZYm3zfdnnEXg.ZfRhsEWRJJ4l3XJQ8WDIaBRY0jSLC2cH4Ds6NK1corTSLPA5kdqnGysbs25kdn2zWfBTf9EHeDx2f12rytbmkhThl0hRJD5.mYduc989Mu4Mu4sTU83FTeetGJybGbpKEkYdb8ScB5ToCg4f1cCTleC9PtUWaZipr.iNMVam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vuu146qcg9ZWru1K2W6R80dkj1Yvo8+lczxKYehaUBXhJRtNKxKCFS1iZjvdzZ3TqDE8E.CdLi9pDgyMQecjSzr5uFCglYJEL9tRLFWWTYny9ufnJ11m6vc6vcXFoc+A241sEEKOAwCzLjUmqRWuiSEPIr7Hmq2nR4ctd1C1sYo1cXcpTdMHxpsn75MhqPPJLKumqxqjXSCd5PIuQzt9ES63Qz03dQUvTKLL5M6Kmd+XrJWQtYC14kEg61.u9twkz5VAwd+3ZFcCiZyJtw.PiPN.BXF814tjDAeKtkeBd4x23pHbomLfGHGlsGTubLtNykaQ7D77UBkNXDNON42Rx0OFuAUorKdGrLiMMX18BtwGGOL2UMwUMttf5jnlHFwOJv1h9t7cFOM0Qj6bXDLq9SEJ9kB.ozi7CWTsEogOif49.wqVvk3PZ35wOlzXmcquIpuKKgwq9XHsdlQ7aRPrU.+oJWGhXaSDxoCxkYV4b.eoFWb+oYvkxg1i+EzSi99NrjuuG+PAXE76NrvuBOk7qDCgnKKvrh9IM1Duj7mwg+Ray55SccoZq00jw0Nf62g0jrTEvakzluTjYosRNMC6kpPE+D9V5.hcytd7s8HNlzFUZr2xMpUqQN8FU16E02T+wuhbLZittVLCvyP3+fdKaK4uxsk7SLaovUtsTXhYKEuxskhSLaY4qbaY4IlsT5J2VJMwrkUtxskUlX1xpW41xpC2VlDmzNIlCahgGugQ7+n.vhSXO.+5DRryg2WzVSO9WJIFmCNf0lYxZXXHVrdDjIxf0I+XnSgwPmhigNKOF5TZLzYkwPmUuPcD0NbstAba4cxfNptoLArLa1KAroQ+O.BlgWqB
-
RE: Pitch modulation beyond +-12 st
@d-healey Thanks Dave, will have a look at it.
-
Pitch modulation beyond +-12 st
Hi everyone,
seems like in Hise there's no way to pitch modulate beyond the +-12 semitones range.
I'm wondering whether there are plans to increase said range? Maybe double it, or even +-36 semitones?This would be immensely helpful for more sound design oriented instruments, where such pitch modulations are not unusual.
Regards,
Giuseppe -
RE: User defined Component properties via JSON
@Lindon right, thanks Lindon. I missed the indexOf command, much appreciated !
-
RE: User defined Component properties via JSON
@d-healey Thanks David. I was watching your Scripting Best Practices videos about toggling buttons, and I see you use the "continue" command to keep track of which button triggered the callback. As far as I understand it, that gives the string name of the triggering component, but how could I store an index associated to said component? Maybe using an object?