@d-healey Thanks David
Posts made by Giuseppe
-
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+95GrHwh3XPS6RS6YblAcSlMKHs2ZUeHyxZUhIcGlsB0UptgA2YItEODDuAQkzbIFufrG8QDAYCfzJbkULYAbu5Aj.puVggVja1tdK9ANR5eFym0vhJZnqUGlHY2qxsLERrnWskZwrLqk.C9ZvjVKETFTBJuOZKlIqS+ofy6FM.NkCU7nv.YEuAyHd5phWIEwqKhTAEQZHoHcKTcCOlaP5HB44ZnMbBndMI.rqJJRZ0F3egPhsNpSvj1jWPW0CZzgiwzKWpz33YKU512qXwolxmF3iI3W3vafC3XC4dNNnEE6JrEvMnAGPoN3IJWASbLw2A9qe.vYjoB1laFZQ..vGaPb9gA383.Ks4BJmPuLP53XeNtMOD6PolXhO1l3zV7WwZ3DZ2f5g4Mwbi.x9TeXhEzd.wIPHOwSOMUflDCjrSKpy3Q8YD5Gvsg01xB2.LcRz.4zqHcLAh3yBXTewDSLZwn6Km26LQjNEqv9sXMClrXQXhf91m3gkGJhfn6iSf18nAKwsc4NPiwFMkjQAbMs0j.9N1nAzCCFcb7oPkeXylrCEzAByQIXahydzwln73X3e5SoWtKSgMyzzhViKzStCLUkNBQwmpWB.LAdMF2Ic73w.dxo7awMAUO5RCghuUBrFq3P6Q6JSkOEtJmksMIMnV5GKHKGVvRwhLGKl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xZUFIDiDW3xSJaVMMwGTRH0wnsZcLeRbC7u5e9OdPVece6pOIjX0cfN+lvqexe52+myq5u4KH0Icf6CPcTP7+MwQMTusgcxRcueKgXW5xi79cPwF.XAXe4QtuI5IWlDVYVOXX08BtPFPUTNeXQJ58SwqeT+PijoBzm3mkeMGCRcDo3FEhgU97MRdccP5uZ9Qad1hTVGRfVuu3k94RbH655w2mr65aTeEsbEV.gleRHEXlQx63SfSn6oT5.hsMQPmNPWggkqA7v1bQsFFBMaIsM4Oj1N940YoOuI+YBgUfoqyhdDlkxykHBwIVyrh+n2aflR9AV4O0ZrPepqKEuPnIii2g62h0fL0RfUIYO9TwpEdtRXC6oVhJ9HumZGhciPO9ZdDGS5tKs6lyr61auaI8cWZyGWeE8IOfru1xgtVLCvZPXyn8FVWJetqKk6a5xzm65xz8Mcox4ttTouoKybtqKyz2zkYO20kY6a5xbm65xb8McY9yccY9iWW5GdZ6GqgMwviuax+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.iNMVamMpWqQEtSfG2xGs9otDeepIJSlo2VnRl4lAE94md15DKhiAMoKD5PNyftGylEjza0xeAyxZKhI8.lshzEKuqA2oB2h2Ef2z3bHWhwQj1zmSDhMEFk4NaZxB3d0CHATeTlYVmadZ8N7W4Hk+PlOqoEUzPGUGdPxt2haYJPrnWTkNLKypwzfOBdnUSHkokjxGf2mYx50eB47dgCnkngJejYpzva5TvSWEd4Tf2.fTFEHMiDRO.W2vi4FjLh.O2EuqS.0qEAncUnHkEM0eaZrXoi5D7XaxQzs7fF8zXQ874x8PsR4x8QeZV3Cv99AZGS7zjK8G4vap8Ts3GPaZPEtsK2AZr3BIhr.ncRqG6SgQCnmDrvC0tDo761pE6DgbZ9AmWfZDm1zEeT9GpA+oujd9A7HrYllVzpbeV.i6.OpbmSnHe2JDKqlfC0hbmjwiFCzoOieetIX5gaMDFNzrqEAVaiLbn8BCTo7WhVZ4Sq2djlTK8gxxxgWHb8g4XwbnZs55XHrUsAXGKZDq5CgmtUW5Gk8a0zz.casXXasO+oORW6C+P4ne1S0AAxNWL3Drkv6vAXySkJ7wgrdOIxmVDAYOmDipq6RqUagOYeBPDd7tNlfu1GKQDnxqSvymAv469NIb97znI+vgyXMmuVPhJr2y4AzW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sk7SLaovUtsTXhYKEuxskhSLaY4qbaY4IlsT5J2VJMwrkUtxskUlX1xpW41xpC2VlDmzNIlCahgGugQ7+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?
-
RE: User defined Component properties via JSON
@d-healey Yes, as @ustk said I'm manually opening the JSON of the component and just adding another line with an integer index, which ranges from 0 to number of components for each component. It keeps track of which component triggered a callback that is associated to all of said components.
-
User defined Component properties via JSON
Hello,
I have added a user defined Component property (an integer to be used as an index for a series of toggling buttons) via the Components JSON.
I was wondering if this can be considered good practice? I find it very handy as said property is predefined for a series of buttons in an array, so once one is clicked the integer returns which one was.Regards,
Giuseppe -
RE: Selecting sound layer via Combobox
@d-healey d'oh...:person_facepalming_light_skin_tone:
-
RE: Selecting sound layer via Combobox
@d-healey I've noticed that for some reason some zones are highlighted more than others in my Sample Map. Does this mean anything?
-
RE: Selecting sound layer via Combobox
@d-healey Thanks. I managed to get it by simply using setVelocity with no global modulators.
function onNoteOn() { local menu_select = sample_vel_map[ComboBox1.getValue()-1]; Console.print(menu_select); Message.setVelocity(menu_select); }
Well, I actually tried with a Global Velocity Modulator first, but I couldn't see a differenct except that the voice count goes 4x:
Here I'm just holding a single note:
Why does the global modulator affects the voice count?
-
Selecting sound layer via Combobox
Hello everyone,
I'm attempting my first simple project, I want to create an instrument where I have a number of pads/textures and a menu to select just one of them from the batch. As I understand that using many samplers is bad practice, I thought to stack said sounds on different velocity levels in the same sampler, and then selecting only one via scripting (yes, very Kontakt but that's where I come from).A screenshot of my sampler:
Here's what I have in the NoteOn CB:
function onNoteOn() { local menu_select = sample_vel_map[ComboBox1.getValue()-1]; Console.print(menu_select); Message.ignoreEvent(1); Synth.playNote(Message.getNoteNumber(), menu_select+1); }
menu_select is a variable that reads the velocity values from a predefined array, according to the sound selection from a combobox.
It works at isolating only one sound layer and muting the others, but I lose control of the volume envelope, which I guess is because of the ignoreEvent command. In other words, the sample keeps playing and ignores note off messages.
I also understand that the NoteOff command is deprecated, but I can't find a way to set an event in the NoteOn callback so that I can use NoteOffByEventId in the NoteOff CB.
Any idea?
Also, is my approach valid or should I rethink it? -
RE: Script Watch Table empty?
@d-healey Hey David, unfortunately I didn't manage to make a screenshot, but as @ustk mentioned a simple re-start solved it.
Only thing I remember is that I did something that disconnected the Code Editor and when I returned on one of the callbacks the Script Watch was gone. -
Script Watch Table empty?
Hello everyone,
apologies in advance for the noob question but I've just got back to learning Hise after a long time.
I have the latest Hise Build on MacOS, for some reasons the ScriptWatchTable is empty all the time, no matter which variables I'm declaring.
What am I overlooking?Best,
Giuseppe -
RE: Loop Xfade shape
@Christoph-Hart Thanks! Btw, it seems like Hise ignores the fade. Sounds to me like the loop starts abruptly from point corresponding the minimum value of the Xfade (where it should start fading).
-
Loop Xfade shape
How can I change the shape of the Xfade loop in Sample Editor? By default I have this very steep parabolic curve, which obviously is not what I need to create a smooth loop point transition.