Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Knob PNG Rendering Issues
No permission to create posts
July 8, 2017
10:32 pm
Avatar
Skyler
Member
Members
Forum Posts: 47
Member Since:
November 17, 2015
sp_UserOfflineSmall Offline

Hello,

I am curious to the nature of this issue.

I have around 55 unique knobs all created within Knobman.

After I load my RackAfx's Gui within the 32 bit .dll

Most of my knobs do not show up, however the parameter is still affected, if I drag the image like it were to be there.  

The bug is not replicatable, as in "each compile tends to be sparatic"

//--------------------------------------------------------------------------------

I have gotten a 64 bit .dll to open in Ableton without any issues.  I am currently finishing a 64 bit plug-in and walking with blind faith that the knobs will be on the other side.

But have not ran tests because Ableton does not recognize my 64 .dll  anymore.  I hope this wont be an issue after I "make a vst" and follow Will's tutorial!

Has anyone experienced this?

July 9, 2017
10:31 am
Avatar
W Pirkle
Admin
Forum Posts: 140
Member Since:
January 28, 2017
sp_UserOnlineSmall Online

1. I have never had any issues with knob graphics generated in KnobMan, and following the instructions from the video links I've posted repeatedly for importing them into RackAFX -- this includes both custom views and stock CAnimKnob objects. You have to make sure you have set the number of images and dimensions correctly in both KnobMan and the GUI Designer when you select/render the images. Numerous students of mine have created their own custom knob graphics in KnobMan all last semester, using the same version of RackAFX that is currently released, without any issues or disappearing graphics. 

2. I have not had an issue with 64-bit versions of a RackAFX DLLs in Ableton. In fact, for the v6.8 release, I specifically tested Ableton (since it is VST2 only and uses the Steinberg supplied VST2 wrapper) on both Mac and Win, both 64-bit, and both without issues, including custom views. You should not need to use Make VST to get your plugin working properly, unless you have something very customized that you want to do in the VST3 project that can't be done elsewhere (e.g. picking up quarter note timing information for MIDI, etc...)

- Will

July 10, 2017
4:51 pm
Avatar
Skyler
Member
Members
Forum Posts: 47
Member Since:
November 17, 2015
sp_UserOfflineSmall Offline

I have the dimensions correct and the filmstrip is correct, however it is a 211px size knob with 500 to 1000 "strips."  This problem still occurs with strips that are 250 in length.

 

I have also found that a project will load into Ableton with no problems, until I add a custom view.  Once, I add a custom view Ableton no longer recognizes my .dll.

July 11, 2017
12:11 am
Avatar
Skyler
Member
Members
Forum Posts: 47
Member Since:
November 17, 2015
sp_UserOfflineSmall Offline

After a few more test's I have found that the recognition error by Ableton occurs within the checkUpdateGUI.

If I delete all my code within the function Ableton can recognize and load my plug in.

But once I add something like 

m_pInvisible2->setVisible(false);

It is not recognize... any thoughts?

Most of my knobs are setting views to false and true... 

July 11, 2017
6:37 am
Avatar
Skyler
Member
Members
Forum Posts: 47
Member Since:
November 17, 2015
sp_UserOfflineSmall Offline

So I have found the issue, which was not checking my pointer's first for the viewcontainers.

July 12, 2017
7:25 pm
Avatar
Skyler
Member
Members
Forum Posts: 47
Member Since:
November 17, 2015
sp_UserOfflineSmall Offline

Has anyone found a way to control the "tension" of a knob?

July 13, 2017
10:09 am
Avatar
W Pirkle
Admin
Forum Posts: 140
Member Since:
January 28, 2017
sp_UserOnlineSmall Online

There isn't a way to specifically control the tension of a knob but there is a built-in way to allow the user to make very accurate fine-adjustments of the knob by holding down the <SHIFT> key while dragging the mouse. This is encoded in the RackAFX.uidesc (XML) file on the line that codes the CAnimKnob. The XML attribute is named "zoom-factor" and is at the very end of the XML line of code. The current version of RackAFX uses the same default value for this as VSTGUI does - 1.5. If you click shift and drag, you will only notice a slight "zoom" effect. But you can increase this value to allow for more accurate control; the next release of RackAFX will use a default value of 10 rather than 1.5 to make the fine-adjustment much more fine. Just look in the .uidesc file and alter the zoom factor for any CAnimKnob you like:

<view angle-range="270" angle-start="135" ... class="CAnimKnob" ... zoom-factor="10"/>

You can play with this value, but I've found that zoom factors between 5 and 10 seem to work the best.

- Will

August 17, 2017
11:50 am
Avatar
Skyler
Member
Members
Forum Posts: 47
Member Since:
November 17, 2015
sp_UserOfflineSmall Offline

Hey Will,

Thank you for recommending Luke, it has been a fruitful connection.

Is there anyway to enable the zoom factor in a custom class?

August 17, 2017
12:11 pm
Avatar
Skyler
Member
Members
Forum Posts: 47
Member Since:
November 17, 2015
sp_UserOfflineSmall Offline

Well I did some digging, and I believe by modifying your reverse knob class with this code.

 

value = oldVal + ((value - oldVal) / zoomFactor);

 

This is from vst gui, under the kShift if statement.  This should just make it permanently "zoomed"

August 17, 2017
4:18 pm
Avatar
W Pirkle
Admin
Forum Posts: 140
Member Since:
January 28, 2017
sp_UserOnlineSmall Online

You will need to hardcode the zoom factor to make it permanent. The actual variable named zoomFactor will be altered as the user drags the mouse with the shift key down.

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online: W Pirkle
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Derek: 41

Peter: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 478

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 29

Topics: 479

Posts: 1870

Newest Members:

certvalue111, sobhana s, sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 140

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 140