Search found 29 matches

by Captain
Mon Mar 04, 2019 7:35 am
Forum: Module Designer
Topic: MD 1.3.3 crashing
Replies: 3
Views: 113

Re: MD 1.3.3 crashing

Oops, sorry for starting a new topic about this same issue. But apparently a fix is on the way, so all good. :)
by Captain
Sun Mar 03, 2019 9:26 pm
Forum: Module Designer
Topic: AnalogFilter.ProcessSample() high CPU with value zero
Replies: 0
Views: 77

AnalogFilter.ProcessSample() high CPU with value zero

This might have something to do with how filters work, but out of interest: I noticed that when you call the AnalogFilter.ProcessSample() function with a value of zero, completing the call takes about 6-7 times longer than with non-zero values (at least on my Mac). Any other sample value, no matter ...
by Captain
Sun Mar 03, 2019 9:13 pm
Forum: Module Designer
Topic: 1.3.3 crash when right-clicking module & searching
Replies: 2
Views: 83

Re: 1.3.3 crash when right-clicking module & searching

Ah yes, thanks! At least I can now remove modules. :D
by Captain
Sun Mar 03, 2019 8:00 pm
Forum: Module Designer
Topic: 1.3.3 crash when right-clicking module & searching
Replies: 2
Views: 83

1.3.3 crash when right-clicking module & searching

Module Designer 1.3.3 on OS X 10.14.3, I'm experiencing two kinds of crashes: - When I run the test client and right-click on any module (the one I'm coding, or any other), the test client immediately crashes. MD stays open, and I have to choose "Stop running" to be able to run the module again. Qui...
by Captain
Sun Mar 03, 2019 12:32 pm
Forum: Module Designer
Topic: Interfaces and enums in Module tree display
Replies: 1
Views: 84

Interfaces and enums in Module tree display

Currently the Module Designer does not seem to recognize interfaces and enumerations in the source code, so they are missing from the Module tree on the left side of the source code (or in case of enums that include methods, only the method names are visible, which looks a little strange). I guess t...
by Captain
Sat Mar 02, 2019 9:45 am
Forum: Module Designer
Topic: Understanding Set/GetUserProperty
Replies: 6
Views: 173

Re: Understanding Set/GetUserProperty

I wrote a class that uses a text label to show an option from a list of options (like a filter type etc), a hidden knob to store the index value of the currently selected option, and then either a popup menu or click-n-drag to select a different option. Whenever I need to check which option is selec...
by Captain
Fri Mar 01, 2019 3:29 pm
Forum: Module Designer
Topic: Oscillator phase & SetCycle()
Replies: 7
Views: 307

Re: Oscillator phase & SetCycle()

So it is! You are welcome, and thanks for the fix! Life (or at least the module coding part of it) is much easier now... :mrgreen:
by Captain
Thu Feb 28, 2019 3:19 pm
Forum: Module Designer
Topic: Understanding Set/GetUserProperty
Replies: 6
Views: 173

Re: Understanding Set/GetUserProperty

You are welcome! One ”lazy man’s approach” to store persistent number values is to include/generate hidden knobs or sliders, and just get/set their values. I have used this in my (still very much unfinished) modules, not sure if I’m breaking some conventions here, but it seems to work perfectly. :D
by Captain
Thu Feb 28, 2019 11:57 am
Forum: Module Designer
Topic: Understanding Set/GetUserProperty
Replies: 6
Views: 173

Re: Understanding Set/GetUserProperty

Looks like the properties are not automatically saved with either full or module presets, so it's just for storing runtime data. Other than that, there's not much to it, it's just a simple way to store and retrieve any object "inside" any GUI object with a string key. A couple of things to keep in m...
by Captain
Tue Feb 26, 2019 7:26 pm
Forum: Module Designer
Topic: Oscillator phase & SetCycle()
Replies: 7
Views: 307

Re: Oscillator phase & SetCycle()

Great! Good to know a fix is on the way 8-) Thanks!