Search found 306 matches
- Wed Feb 23, 2022 10:45 am
- Forum: Module Designer
- Topic: SetText() Failing
- Replies: 13
- Views: 2972
Re: SetText() Failing
A quick fix would be else if(component == clearCaptionsButton && doubleValue > 0.5) { for(int iDex = 0; iDex < page1Caption.length; ++iDex) { page1Caption[iDex].SetText(""); page1Active[iDex] = false; page1Caption[iDex].SetVisible(false); page2Caption[iDex].SetText(""); p...
- Tue Feb 22, 2022 7:25 pm
- Forum: Tips and Tricks
- Topic: Nucleus - Chiptune chord arpeggios
- Replies: 2
- Views: 3328
Nucleus - Chiptune chord arpeggios
Create chiptune style chord arpeggios in less than a minute with VM Nucleus. Also features controlling 8-Step Sequencer playback with note gate. See the short video here: https://twitter.com/martinmonkeybu1/status/1496201741523730433 8-Step Sequencer for chip-tune chord arpeggios Pt.1.voltagepreset ...
- Tue Feb 22, 2022 6:45 pm
- Forum: Module Designer
- Topic: SetText() Failing
- Replies: 13
- Views: 2972
Re: SetText() Failing
If you're using this code in Notify() case Button_Changed you have created a loop by calling clearCaptionsButton.SetValue(0), and you're calling this for every label in your page1Caption array. That could be the cause of your problems. Why are you calling clearCaptionsButton.SetValue(0) anyways?
- Tue Feb 22, 2022 6:10 pm
- Forum: Module Designer
- Topic: SetText() Failing
- Replies: 13
- Views: 2972
Re: SetText() Failing
That's odd. In my Volt Meter module I do exactly that to clear the labels when no jack is connected and it works just fine. Can you provide a bit more context, e.g. in which method do you call label.SetText(""), when do you call it... Alternatively you could try using label.SetText(" ...
- Sun Feb 20, 2022 1:44 pm
- Forum: Tips and Tricks
- Topic: Nucleus - Scale and offset any signal
- Replies: 0
- Views: 4355
Nucleus - Scale and offset any signal
Scaling and offsetting are the two most basic operations in signal processing (and math in general for that matter, remember y = ax + b ?). This can also be done in Nucleus. Utilizing the Attenuverter and the 8-Step Sequencer you can scale and offset any signal. Short video here: https://twitter.com...
- Sun Feb 20, 2022 12:45 pm
- Forum: Module Designer
- Topic: Access to Skin SVGs
- Replies: 5
- Views: 1039
- Sun Feb 20, 2022 12:42 pm
- Forum: Module Designer
- Topic: Why does this code not work?
- Replies: 6
- Views: 1382
Re: Why does this code not work?
That's great news. Glad we could sort this out.
- Sat Feb 19, 2022 2:46 pm
- Forum: Tips and Tricks
- Topic: Nucleus - 8-Step Sequencer as DC source and 12 TET quantizer
- Replies: 1
- Views: 2159
Nucleus - 8-Step Sequencer as DC source and 12 TET quantizer
Did you know you can use the 8-Step Sequencer module as a 0..5V DC source and a 12 TET quantizer?
In this short video on twitter I demonstrate how to do this:
https://twitter.com/martinmonkeybu1/sta ... 6675545092
In this short video on twitter I demonstrate how to do this:
https://twitter.com/martinmonkeybu1/sta ... 6675545092
- Sat Feb 19, 2022 1:03 pm
- Forum: Module Designer
- Topic: Why does this code not work?
- Replies: 6
- Views: 1382
Re: Why does this code not work?
Sorry, I copy-pasted your example code instead of my test code
Try
Try
Code: Select all
fieldLabel = new VoltageLabel[] { field1Label, field2Label, field3Label, field4Label,
field5Label, field6Label, field7Label, field8Label };
- Sat Feb 19, 2022 11:31 am
- Forum: Module Designer
- Topic: Why does this code not work?
- Replies: 6
- Views: 1382
Re: Why does this code not work?
I think this is an execution order problem. GUI elements are initialized in the InitializeControls() method. If you have declared and initialized the fieldLabel array at the bottom of the Java file in the designer (where it says "Add your own variables and functions here"), then the text l...