Search found 152 matches

by AndyMac
Tue Feb 19, 2019 7:58 am
Forum: Module Designer
Topic: Calculating BPM/Sync rate from a gate/trigger input
Replies: 5
Views: 6533

Re: Calculating BPM/Sync rate from a gate/trigger input

Just reread that explanation - brilliant --- that simple!

Makes a lot of sense.

I (rather stupidly) had not realised that ProcessSample() was going to be such an accurate "time source" in this way!

:lol:
by AndyMac
Mon Feb 18, 2019 9:51 pm
Forum: Module Designer
Topic: Calculating BPM/Sync rate from a gate/trigger input
Replies: 5
Views: 6533

Re: Calculating BPM/Sync rate from a gate/trigger input

Brilliant. Thanks for that. Will try this tomorrow. Simple when you know how :-)
by AndyMac
Mon Feb 18, 2019 9:27 pm
Forum: Module Designer
Topic: Calculating BPM/Sync rate from a gate/trigger input
Replies: 5
Views: 6533

Re: Calculating BPM/Sync rate from a gate/trigger input

Thanks Dan, that makes complete sense.... but how do you work out how many samples apart the two trigger pulses are? I've looked in the library and also at the objects visible in the debug window but can't see anything that would provide this.
by AndyMac
Sun Feb 17, 2019 3:09 pm
Forum: Module Designer
Topic: Creating classes that can reference GUI items
Replies: 2
Views: 3310

Re: Creating classes that can reference GUI items

Thanks - I think I know what I was doing wrong (at least to a point) and will try the...

VoltageAudioJack jack = jackVariableNameInGUI;
jack.GetValue();

Not sure whether this will allow me to pass the name of the jack to a new class, but will have a go next week!
by AndyMac
Sun Feb 17, 2019 3:06 pm
Forum: Module Designer
Topic: Problems with GUI Update Timer
Replies: 2
Views: 2907

Re: Problems with GUI Update Timer

I'll have a look at this next week to see if I can get more on what is causing it. Thanks
by AndyMac
Sun Feb 17, 2019 10:03 am
Forum: Module Designer
Topic: Simulate a clock signal / printing values
Replies: 7
Views: 7818

Re: Simulate a clock signal / printing values

I've been doing the text box thing quite a lot recently. The log options looks quite nice - does this get optimised out for the published versions? But think having watch variables and break of variable change in the debugger would make the experience much better.
by AndyMac
Sun Feb 17, 2019 9:58 am
Forum: Module Designer
Topic: Creating classes that can reference GUI items
Replies: 2
Views: 3310

Creating classes that can reference GUI items

Maybe my lack of detailed understanding of Java coding, or the lack of detailed development documentation, but now I have a way to calculate the BPM from a gate reasonably accurately/reliably (although far from perfect), I was thinking about making it into a class that I can generalise and use ...
by AndyMac
Sat Feb 09, 2019 6:02 pm
Forum: Module Designer
Topic: Problems with GUI Update Timer
Replies: 2
Views: 2907

Problems with GUI Update Timer

I have a number of modules that use GUI Update Timer for some of the onscreen display behaviour, but on some of them the timer does not seem to be firing correctly. In all cases the StartGuiUpdateTimer() is being called in the initialize section.

For example, when used as a VST3 in Cubase 10, the ...
by AndyMac
Sat Feb 09, 2019 12:11 pm
Forum: Module Designer
Topic: Calculating BPM/Sync rate from a gate/trigger input
Replies: 5
Views: 6533

Calculating BPM/Sync rate from a gate/trigger input

I am trying to work out the best way to do this accurately so that some of my modules can use this, as well as the host BPM, to control their speed. I am currently using System.nanoTime() on the leading edge of the gates, but seems to have quite a bit of drift this way and so am using averaging (but ...
by AndyMac
Thu Feb 07, 2019 6:43 pm
Forum: Module Designer
Topic: Logarithmic Sliders/Knobs
Replies: 6
Views: 6541

Re: Logarithmic Sliders/Knobs

Excellent - thanks

Go to advanced search