@Lindon well try the global cable route. That'd what I would do. I'd expect it to be accurate enough...
Posts made by DanH
-
RE: Can't compile a network with a Global LFO Mod node.... / Scriptnode LFO design
-
RE: Can't compile a network with a Global LFO Mod node.... / Scriptnode LFO design
@Lindon I think the key might be to build the LFO once (or use the example Christoph made).
Keep the LFO network as the starting point for all your scriptnode designs where you'll need it, and then it won't be an issue.
But yeah, annoying all the same!
-
RE: Can't compile a network with a Global LFO Mod node.... / Scriptnode LFO design
@Lindon either build the LFO inside scriptnode or try using a global cable who's value is controlled by a global lfo node in a different, uncompiled, network... There was a question mark over the accuracy of this method by I never got round to testing it. @oskarsh did you?
-
RE: Seeking Understanding: Artifact Analysis in Multiband Distortion
@Mighty23 tried the snippet, I don't see any artefacts here, even with the same settings
-
RE: AudioWaveform and sampleIndex setting
@Lindon I've been meaning to get around this for ages. What's your method?
-
RE: disable right click on audio waveform
@meto396 could be one for the source code...
-
RE: AudioWaveform LAF, How to Mono?
@Natan having said that if the sample map is actually mono the AudioWaveform will only display one channel
-
RE: AudioWaveform LAF, How to Mono?
@Natan you could hide one of the channels with a panel / inside a panel ?
-
RE: Broadcaster Mouse Events - remove double click?
@d-healey ok turns out disabling double click with the broadcaster wouldn't ever help but I managed to edit the source code to get the desired effect :)
Thanks for the help! Always learning
-
RE: Broadcaster Mouse Events - remove double click?
@d-healey said in Broadcaster Mouse Events - remove double click?:
|| event.doubleClick
like this?
if (!event.drag && !event.clicked && !event.hover || event.doubleClick)
If so it doesn't change behaviour
-
RE: Broadcaster Mouse Events - remove double click?
@d-healey Ok so double clicking is still allowed.... Possibly because all those conditions are still actually met when double clicking...
-
RE: Broadcaster Mouse Events - remove double click?
@d-healey Not sure I follow... do you mean like this?
eqWatcher.addListener("RefreshFunction", "sets the table data from FloatingTile12", function(component, event) { if(event.drag || event.clicked || event.hover) { for (k = 0; k < numOfNodes; k++) { //stuff happens } } if (!event.drag && !event.clicked && !event.hover) { return; } });
-
RE: Broadcaster Mouse Events - remove double click?
@d-healey Thanks currently I only have this in the callback:
if(event.drag || event.clicked || event.hover)
Do I want a
if(event.doubleclick) { ///Nothing Here }
as well?
-
RE: Engine.loadFromJSON if undefined...
@d-healey said in Engine.loadFromJSON if undefined...:
if (!isDefined(data.newThing))
Hmmm... I had tried that. No errors but doesn't do the new thing either....
EDIT - Actually I'd already written some other stuff below which cancelled out the changes to this if statement
So it did work, thanks for confirming!!
-
Broadcaster Mouse Events - remove double click?
Very new to broadcasters.... I'm currently using
eqWatcher.attachToComponentMouseEvents("FloatingTile12", "All Callbacks", "Mouse Listener for FloatingTile12");
But I don't want to enable anything for double clicking with the mouse - Is there a way to be selective with mouse events?
-
Engine.loadFromJSON if undefined...
I use Engine.loadFromJSON to load a settings file to configure a few bits and pieces. I'm trying to add a new line of data (not normally an issue) but in this case I want something to happen if the data doesn't exist (yet). So for new users this works fine but for existing users who already have a Settings.json file but which doesn't contain the new line of data I can't find a way of checking if the data exists or not and, if not, doing something... Any ideas welcome! My script below....
reg myJSONObj = Engine.loadFromJSON("..//Settings.js"); if(myJSONObj == "") { myJSONObj = { "analysers": 1, "nodes": 1, "lock": 0, "newthing": 1 }; Engine.dumpAsJSON(myJSONObj , "..//Settings.js"); }; inline function checkOnLoadSettings() { local data = Engine.loadFromJSON("..//Settings.js"); if ((data.newthing) !isDefined) //if (data.newthing == "") { newthing.showControl(1); }
-
RE: extend tags area
Would be nice if the tags had a mouse over object so we could highlight them when a user is hovering over them...