Search found 85 matches

by terrymcg
Thu Feb 02, 2023 10:53 pm
Forum: Module Designer
Topic: Initialization Woes
Replies: 32
Views: 25253

Re: Initialization Woes


- My code does not contain any classical save/restore handler. Whole processing is done with GUI_Update_Timer. At the end of processing values will be written to storage knobs.
I'm interested in how it goes, but I think if you "fight the system", you're just making life harder for yourself... It ...
by terrymcg
Thu Feb 02, 2023 10:36 pm
Forum: Module Designer
Topic: Initialization Woes
Replies: 32
Views: 25253

Re: Initialization Woes


This doesn't seem like a use case I'm familiar with for Observer, although that might just reflect a deficiency in my knowledge, admittedly.
No, it's more likely a reflection if it (Observer) being the one Java design pattern I really know...like Franks Red Hot Sause, I use that sh*t everywhere ...
by terrymcg
Thu Feb 02, 2023 2:15 am
Forum: Module Designer
Topic: Initialization Woes
Replies: 32
Views: 25253

Re: Initialization Woes


That seems to be a never ending story. Now I have much trouble and can't find a way to fix it.

I've been fighting against initialization trouble for several days now. I already applied my new module for admission, but then recalled it, because of data save issues.

To save user set values and ...
by terrymcg
Wed Feb 01, 2023 11:29 pm
Forum: Voltage Modular
Topic: Voltage Modular Feature Requests
Replies: 166
Views: 4973183

Re: Voltage Modular Feature Requests


Here's a big one for me: fix the SVG render code in VM and VMD so that it renders files from programs other than Illustrator correctly, like nearly every other renderer does. I've been tearing my hair, and wasting inordinate amounts of time trying to do simple modifications of existing, working ...
by terrymcg
Mon Dec 26, 2022 3:14 pm
Forum: Module Designer
Topic: Dynamically adding components
Replies: 7
Views: 6750

Re: Dynamically adding components


There might be a more elegant solution (perhaps using the Extra Skins property to fool VMD into loading the resources) but life is too short so I moved on.
This should do the trick, assuming it works the same way as "Extra Resources".

Before the existence of those two new-ish properties, you ...
by terrymcg
Thu Sep 01, 2022 2:19 am
Forum: Module Designer
Topic: Transport CV out triggers
Replies: 19
Views: 10784

Re: Transport CV out triggers


Send a single +5V pulse / sample to a trigger out jack when you want to fire the trigger, otherwise send zeros.

IMO, this is rude ;)

It works, but in "real world modular" no trigger is that short.

I aim to be accepting single cycle triggers, but generating 5ms ones.


On the receiving end, I ...
by terrymcg
Sat Aug 13, 2022 11:44 am
Forum: Module Designer
Topic: Dynamic control creation
Replies: 4
Views: 5656

Re: Dynamic control creation


If you do your own VoltageKnob construction using a skin that isn't part of a knob that was placed using the layout design tool, you'll need to make sure that that skin is included in the module's Extra Skins... list.

Ah, nice tip!

It's not just knobs of course, it's any GUI component that uses ...
by terrymcg
Fri Jul 29, 2022 1:53 am
Forum: Module Designer
Topic: Using units in EditComponentValue
Replies: 18
Views: 14746

Re: Using units in EditComponentValue

Thanks Colin!

Sorry to a Nanny about it, but I've been an O'Reilly customer since before there were pdf's ;)

Their stuff is good and they're worth supporting directly.

Cheers,
--
Terry McG
by terrymcg
Wed Jul 27, 2022 1:00 am
Forum: Module Designer
Topic: Using units in EditComponentValue
Replies: 18
Views: 14746

Re: Using units in EditComponentValue

I'm fairly certain that those PDFDrive copies are bootleg/bogus.

O'Reilly has been publishing Comp. Sci. related texts for decades, and have their own on-line distribution system.

If you want a legit copy of the RegEx text, get it from the source.

https://www.oreilly.com/library/view/mastering ...
by terrymcg
Wed Jul 27, 2022 12:56 am
Forum: Module Designer
Topic: Initialization Woes
Replies: 32
Views: 25253

Re: Initialization Woes


In general Initialize() should just be used to build your object model, event handlers should be used to handle all changes to component state and Get/Set StateInformation() should handle anything that doesn't automatically persist.

This is excellent advice!

I eventually realized that trying to ...

Go to advanced search