Search found 124 matches

by AndyMac
Sun May 10, 2020 6:28 am
Forum: Module Designer
Topic: Questions re Additional Java Files
Replies: 20
Views: 760

Re: Questions re Additional Java Files

Then I would suggest using the Java logging API. The only reason to use VoltageModule.Log() would be to write to the one single file. The reason I was using their logging API was so that it also shows up in the debug window when testing, and so it can be switched on or off through VM settings. I'm ...
by AndyMac
Sat May 09, 2020 5:13 pm
Forum: Module Designer
Topic: Questions re Additional Java Files
Replies: 20
Views: 760

Re: Questions re Additional Java Files

Thanks Martin, and your approach seems like a really well thought out and constructed model.
by AndyMac
Sat May 09, 2020 4:41 pm
Forum: Module Designer
Topic: Questions re Additional Java Files
Replies: 20
Views: 760

Re: Questions re Additional Java Files

The logging was very specific logging for some activities I have when the module opens (Initialisation stage) to deal with some configuration stuff - so does not happen when any real audio processing going on - but agree, in normal situations, this would not be something you would do except for debu...
by AndyMac
Sat May 09, 2020 3:30 pm
Forum: Module Designer
Topic: Questions re Additional Java Files
Replies: 20
Views: 760

Re: Questions re Additional Java Files

I was coming to the same conclusion (but you have explained it really well here). I can do a workaround in these cases by making the shared code return information that the main code in the module can deal with - not ideal, but I can move 95%+ of the code that I want to make shared to ensure consist...
by AndyMac
Sat May 09, 2020 2:51 pm
Forum: Module Designer
Topic: Questions re Additional Java Files
Replies: 20
Views: 760

Re: Questions re Additional Java Files

Thank you :-)
by AndyMac
Sat May 09, 2020 12:36 pm
Forum: Module Designer
Topic: Questions re Additional Java Files
Replies: 20
Views: 760

Re: Questions re Additional Java Files

Thanks - I'd already got this in. It looks like Log and LogError have been changed from static (in v1) to non-static (in v2) and the static versions deprecated. ShowMessageBox does not look like it was ever static. Any other thoughts?
by AndyMac
Sat May 09, 2020 11:12 am
Forum: Module Designer
Topic: Questions re Additional Java Files
Replies: 20
Views: 760

Questions re Additional Java Files

I am wanting to modularise my modules to better share utility code. Much of what I want to do (probably showing my lack of Java skills) I have now worked out after some trial and error - but can't seem to work out how to access some methods in the VoltageModule class - specifically Log, LogError and...
by AndyMac
Wed Apr 08, 2020 2:33 pm
Forum: Module Designer
Topic: Feature Request: decimal places in the Digital Counter control
Replies: 4
Views: 2387

Re: Feature Request: decimal places in the Digital Counter control

The basics are sort of simple in approach (I like simple). I fixed the decimal place for the displays (makes it easier), format the number as a fixed decimal place string (or create the string that I want to display), using fixed length everything so that the formatted number was either left or righ...
by AndyMac
Wed Apr 08, 2020 1:23 pm
Forum: Module Designer
Topic: Feature Request: decimal places in the Digital Counter control
Replies: 4
Views: 2387

Re: Feature Request: decimal places in the Digital Counter control

This was done by a combination of custom skins for the Digital Counter (with wider spacing), an image for the decimal place, and coding of a function to display this all, including things like alphanumerics so it can also show "Error" (or "Err" in limited space). On some, I've cheated and included s...
by AndyMac
Sun Nov 24, 2019 7:29 pm
Forum: Module Designer
Topic: Ben Davis Modules - issue and question/contacts
Replies: 2
Views: 603

Re: Ben Davis Modules - issue and question/contacts

Thanks Ben
And I hope the Black Friday sale goes well for you.