@Chazrox
I think @d-healey made one.
Check his Github...
Posts
-
RE: Can we 'get' hex Colour value from Mouse position?posted in Scripting
-
RE: Stock Table Upgrade?posted in General Questions
@It_Used
I am not in front of my computer but there is a .reset() function. -
RE: Duplicate Script FX Networkposted in General Questions
@DanH
Or did you want to duplicate the effect in the same project? Then I think I misunderstood you... -
RE: Duplicate Script FX Networkposted in General Questions
@DanH
Normally, it should work quite simply as follows if you do not have any precompiled DLLs in your ScriptFX:1. Copy ScriptFX

2. Create a new effect in a new project and select the previously copied ScriptFX at the bottom.

-
RE: A follow up on the custom tables...posted in General Questions
I just saw this new thread... :-)
Here's some info for you that I noticed recently:
If you use the content callback of a table as follows:Table.setContentCallback(tableCallback); inline function tableCallback(i) { // Your code }ireturns the index of the point that you control from outside, for example from a panel or a slider.
This was very useful for my use case. -
RE: Stock Table Upgrade?posted in General Questions
Here's some info for you that I noticed recently:
If you use the content callback of a table as follows:Table.setContentCallback(tableCallback); inline function tableCallback(i) { // Your code }ireturns the index of the point that you control from outside, for example from a panel or a slider.
This was very useful for my use case. -
RE: Stock Table Upgrade?posted in General Questions
@DanH
@griffinboy
@HISEnberg
@ustk
Please do not change the mouse behavior of the current table (left click, right click, double click, etc.). That would not only break my project but certainly many others as well.It would be better to create a new one, a Flex Table, like @Christoph-Hart did with the Flex Envelope. :-)
-
RE: Convolution Reverb doesn't work after export in DAW.posted in Newbie League
@Yannrog
No, you just need to make sure that the audio files are in theAudioFilesfolder or a subfolder ofAudioFiles. -
RE: How do I declare this array?posted in Scripting
GPT gave me this and it works...:
const msoXModulationTempSave = []; const var NUM_LAYERS = 4; const var I_SIZE = 16; const var J_SIZE = 8; const var K_SIZE = 2; // weil du [..][..][..][0] benutzt, mind. 1 Element for (l = 0; l < NUM_LAYERS; l++) { msoXModulationTempSave.push([]); for (i = 0; i < I_SIZE; i++) { msoXModulationTempSave[l].push([]); for (j = 0; j < J_SIZE; j++) { // letzte Dimension mit Nullen füllen var last = []; for (k = 0; k < K_SIZE; k++) last.push(0); msoXModulationTempSave[l][i].push(last); } } } -
How do I declare this array?posted in Scripting
Hello everyone! :-)
How do I declare the
msoXModulationTempSavearray so that themsoXModulationTempSave[layerIndex][i][j][0]assignment works in the for loop?I get the following error message:
Cannot assign to this expression!Many thanks,
Olifor(i = 0; i < allGlobalMods.length; i++) { for(j = 0; j < 16; j++) { if(!mm.canConnect(allGlobalMods[i].getId(), allXKnobs[layerIndex][j].get("matrixTargetId"))) { msoXModulationTempSave[layerIndex][i][j][0] = allGlobalMods[i].getId(); // save source id Console.print(msoXModulationTempSave[layerIndex][i][j][0]); } } } -
RE: Randomise start point of LFO Modulator?posted in General Questions
@dannytaurus
I'm not sure what you mean by “free running,” but you can make sure that the LFO doesn't respond to note-on commands and is therefore not triggered by a note.You do this with the
IgnoreNoteOnattribute. The attribute has the number 10 and must be set totrue. -
RE: Setting ControlCallback w/ Loops ?posted in Scripting
@d-healey
Yes, that's right! Thanks for the tip! :-) -
RE: Setting ControlCallback w/ Loops ?posted in Scripting
@Lindon
Yes, the components will be added in the order specified in the component list.As for the index, I use a function that I call first in the callback and that returns the index. Something like this:
inline function getIndexAsInt(component) { local index = component.getId().replace("knbVolume", "").getIntValue(); return index; } inline function getIndexAsString(component) { local index = component.getId().replace("knbVolume", ""); return index; }The return value can then be used in the callback to determine the correct component....
-
RE: Setting ControlCallback w/ Loops ?posted in Scripting
@Chazrox
Or even shorter...const TheGains = Synth.getAllEffects("Simple Gain"); const SampleVolumeKnobs = Content.getAllComponents("knbVolume"); for(k in SampleVolumeKnobs) k.setControlCallback(onSampleVolumeKnobsControl); -
RE: Table -> Disable deletion by right-clickingposted in General Questions
@dannytaurus said in Table -> Disable deletion by right-clicking:
And, yeah - you're right about that weird right-click behaviour. Every right click shifts the curve by a certain amount, probably related to the mouse Y position.
But looking more into the existing right-click-to-change-curve behaviour - I'm not sure I like that very much either. If you right-click-drag up/down to change a curve, but then drag left-right it affects all the other curves, which will probably be quite surprising to the user.
Yes, none of this is ideal! I'll take another look at it when I get a chance and let you know if I've been able to improve the behavior. In principle, it should be possible!
To prevent the curves of other points from changing when you drag to the left or right, you could create an index when you first click. In other words, the index of the point in question. And only this point would then be changed. I'll try to implement this when I get a chance. -
RE: Table -> Disable deletion by right-clickingposted in General Questions
@dannytaurus said in Table -> Disable deletion by right-clicking:
Oh, I just assumed we could react to mouse actions on a table in our own scripts? Maybe not. I've never done it.
You can use a broadcaster. However, this only allows you to add additional functionality. I don't think this overwrites the original behavior of a table. I think you can only do this in the source code.
-
RE: Table -> Disable deletion by right-clickingposted in General Questions
@dannytaurus said in Table -> Disable deletion by right-clicking:
Or should we just override them in the plugin scripts?
What do you mean by that?
MASTER OF THE UNIVERSE LEVEL! 