Forum Replies Created
-
AuthorPosts
-
Select it in the Modulator list. In the General Tab on the right go down to ComponentRectangle (it’s under the Component generic heading.
This control will have 4 numbers eg
568 216 88 32The first is the X Position, the second the Y Position, the third the X Size, the 4th the Y size.
Change these and press enter and the component will move/resize.
Also, locking things can make them difficult to select, so don’t lock stuff till you are positive you don’t need to move it anymore.
The Puppeteer
http://godlike.com.auThe main reason for not being able to select things is generally overlapping modulators.
What you can do is select them in the modulator list and then type in new values in the size/position box (Sorry can’t remember the name of the specific field but it has a format like 10 20 200 300. The first numbers are the position of the top left and the other 2 define the size.
Another option is to temporarily hide the modulators that are in the way using the setVisible property.
The Puppeteer
http://godlike.com.auI’ll try to do some work on this tonight. I’ll mark my changes using Track Changes so you can incorporate the changes into the master document.
I’ll add a procedure on how to create and assign a method to a modulator/panel
I’ll add a number of code examples.
LUA Method for sending MIDI from a modulator.
Using Tables for Value Lookups from a custom list (because setMappedValue and getMappedValue doesn’t seem to work for fixed image sliders. This also shows how to build and use a general function in ctrlr
LUA Methods for setting Modulator and Panel Properties and how to work out how to reference them.
LUA Method for setting modulator values
Some discussion about Initializing the Panel, global variables and some strategies about being efficient with LUA programming (though I’ve still got lots to learn here).The Puppeteer
http://godlike.com.auI think it pulls the name from the Name field. But you also need to set the VSTIndex. Start numbering these from 1 and you should be good to go.
The Puppeteer
http://godlike.com.auWe’re in the process of writing one
The Puppeteer
http://godlike.com.auI’ve started making notes for Chapter 3. Hopefully I’ll get the last bit of my panel out of the way tonight and can spend a little bit of time on chapter 3 shortly.
The Puppeteer
http://godlike.com.auPlugin Host -> Output Device is required if you wish to pass note data (for example) from your DAW to your synth. Without this, the plugin will not pass on any MIDI messages, only the ones that it generates itself.
The Puppeteer
http://godlike.com.auIt depends on the panel, the synth and Midi connectivity.
If midi is connected and the synth transmits the control message when you move the knob then it may work.Midi cc’s seem to work on the panel I’m programming, for example.
The Puppeteer
http://godlike.com.auAs best I can tell, I start losing resources when I add a new resource to the panel (ie if I add a new graphic, or new slider image and use it on the panel.)
The Puppeteer
http://godlike.com.auHi Atom
Here’s the panel. Can you let me know when you’ve got it?
The Puppeteer
http://godlike.com.auHere is an example of what happens now in the latest build of the panel in the first post of this thread.
Atom, do you have any idea what’s happening here?
Attachments:
You must be logged in to view attached files.The Puppeteer
http://godlike.com.auI’m still having issues with the resources on export, even after they all show OK in the panel. There’s something messed up with the resource caching.
Have got beta users reporting back that the standalone has no sliders or knobs in it (ie all the resources are missing).
I’ve tried deleting the AppData folders and still no joy. This really needs to be fixed, or at the very least we need to work out a reliable work around.
The Puppeteer
http://godlike.com.auHi Zeoka,
I lost some resources again today. It’s new resources that don’t show up on mine.
The way I fixed it was as follows.
Note: When I refer to Double clicking on the panel or bpanel will open restricted instances (even if they are not saved as restricted). I do this from within explorer on windows, ie not using the file open dialog of ctrlr.
Open up the panel that works.
Export as a bpanel (compressed with all resources).
Exit out of ctrlr.
If you double click on the panel file, it should open up in the same state as the restricted instance (ie resources will be missing).
Close the restricted ctrlr instance.
Double click on the new bpanel file. You may get a bunch of errors as it tries to import the resources that it already has cached, somewhere.
Double click on the panel file, and all the resources should be there.
Now open Ctrlr properly from the ctrlr.exe file (I can’t remember if I closed the bpanel first.)
Now you should be able to export properly.If it happens again, I’ll try to record my screen to youtube to show the procedure.
The Puppeteer
http://godlike.com.auI had issues with resources as well.
Not really sure how I fixed it. I think it was fixed by loading an old bpanel with the resources, and while it was open, I double clicked on the new panel in windows explorer, and it seemed to fix it.
The Puppeteer
http://godlike.com.auAs Dasfaker is written it will output the correct values, but the display in the button will cycle through 0,1,2.
To make it cycle through 1,2,4 and output the correct values put this in the uiButtonContent Box
1=1
2=2
4=4or you could do something like
Lopass = 1
Hipass = 2
Bandpass = 4The expression before the equals sign is what is displayed. The value after the equals sign is what is output.
- This reply was modified 8 years, 10 months ago by Puppeteer.
The Puppeteer
http://godlike.com.auThanks Zeoka, I’ll have to go through that to see if it will work for what I’m trying to do.
In the first bit of code you posted above, are the numbers in SZ the x co-ordinate for the top left corner of each of your modulators?
The Puppeteer
http://godlike.com.auI’ll work around this for the time being by hiding and showing sliders and reassigning vstIndex instead of reassigning the MIDI value.
Does anyone know if there’s problems with reassigning vstIndex while the plugin is running in a host. Is it likely to cause any problems?
The Puppeteer
http://godlike.com.auI’ve found a strange bug with this.
I can change the midi cc number fine and if I’m using the virtual faders just to send Midi, its all good.
However, receiving Midi is a different issue. The virtual fader only receives and responds to the original midi cc.
For example, if the fader was originally data (cc6) and I change it to cc12, the fader still receives and responds to cc6, not cc12.
Is there something I need to do to refresh it, or set the midi in cc, or something else I’m missing to get it to respond to the correct incoming message?
The Puppeteer
http://godlike.com.auThese are all launched in the 64 bit VST Instance in Win 8.1 and Ableton Live 9 Suite.
All images are direct screen grabs at 1:1 pixel size and the sizes don’t correspond with the settings in any way I can see.
- This reply was modified 8 years, 10 months ago by Puppeteer.
The Puppeteer
http://godlike.com.auHi Atom,
I’ve attached a few screenshots showing the issues.
The background image is 700 x 420 px
The first is the default exported instance at that size, but there are controls missing. image “panel sized to background.png”
It doesn’t fit, so I try 800 x 500 – it should fit there, we’ve still got scroll bars and the background has been stretched. image “panel sized 800.png”
So I try to set it to that size but make sure that the background won’t stretch, by setting it to only reduce in size (have tried other options to, but all with the same result). The settings are in the 3rd attachment – Showing Settings.png
This is the output from those settings, still not right, and still with scroll bars.
image “With Shown Settings.png”Attachments:
You must be logged in to view attached files.The Puppeteer
http://godlike.com.au -
AuthorPosts