COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 08-31-2017, 05:53 AM   #161
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 481
Default

Framework is now updated to support latest VST 3.6.7+ SDK. Plugins builds nicely but there are some warnings on mac, though plugins works nicely... I will check this in the future.
__________________
Website: https://youlean.co, Facebook: https://www.facebook.com/itsYoulean/
Youlean is online now   Reply With Quote
Old 09-08-2017, 11:43 AM   #162
Bobflip
Human being with feelings
 
Join Date: Nov 2016
Posts: 96
Default

Hi there, I canít find the post any more, but did I see you say that you have basic .ini/preference file saving implemented into WDL-Youlean? Itís just coming to the point where I need to look into putting that into my plug.
Bobflip is offline   Reply With Quote
Old 09-09-2017, 09:30 AM   #163
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 481
Default

Quote:
Originally Posted by Bobflip View Post
Hi there, I canít find the post any more, but did I see you say that you have basic .ini/preference file saving implemented into WDL-Youlean? Itís just coming to the point where I need to look into putting that into my plug.
Yes, look at IPlugConfigFile. It is tested just briefly but it should work...
__________________
Website: https://youlean.co, Facebook: https://www.facebook.com/itsYoulean/
Youlean is online now   Reply With Quote
Old 09-09-2017, 09:37 AM   #164
Bobflip
Human being with feelings
 
Join Date: Nov 2016
Posts: 96
Default

Ah nice one, thanks! I'll get stuck into that over the weekend.
Bobflip is offline   Reply With Quote
Old 09-09-2017, 07:38 PM   #165
Bobflip
Human being with feelings
 
Join Date: Nov 2016
Posts: 96
Default

Ok, so no luck so far. I have the following code in my .h file and in OnParamChange:

Code:
IPlugConfigFile myPlugPrefs;


case kPrefsSaveButton:
	myPlugPrefs.SetFilePath("C:\\test.ini");

	myPlugPrefs.WriteValue("defaultgroup", "test variable", 12.0, "test comment");
	myPlugPrefs.WriteFile();
          
	// Hide the Preferences window
	preferencesGroup->HideControls(true);
	break;
I've tried forward and backward slashes on the file path, first singly, then after some Googling found I should be doubling them up. But no test.ini file appears at C:\

I'm also not sure how I should approach saving prefs on OSX, I think a lot of software uses the com.<companyname>.<productname>.plist files in <username>-Library-Preferences-Preferences format, but those appear to be saved as XML files.
Bobflip is offline   Reply With Quote
Old 09-17-2017, 02:12 PM   #166
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 481
Default

Quote:
Originally Posted by Bobflip View Post
Ok, so no luck so far. I have the following code in my .h file and in OnParamChange:

Code:
IPlugConfigFile myPlugPrefs;


case kPrefsSaveButton:
	myPlugPrefs.SetFilePath("C:\\test.ini");

	myPlugPrefs.WriteValue("defaultgroup", "test variable", 12.0, "test comment");
	myPlugPrefs.WriteFile();
          
	// Hide the Preferences window
	preferencesGroup->HideControls(true);
	break;
I've tried forward and backward slashes on the file path, first singly, then after some Googling found I should be doubling them up. But no test.ini file appears at C:\

I'm also not sure how I should approach saving prefs on OSX, I think a lot of software uses the com.<companyname>.<productname>.plist files in <username>-Library-Preferences-Preferences format, but those appear to be saved as XML files.
Sorry for late reply. Are you using mac or windows?
__________________
Website: https://youlean.co, Facebook: https://www.facebook.com/itsYoulean/
Youlean is online now   Reply With Quote
Old 09-17-2017, 02:16 PM   #167
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 481
Default

New update is available. This time I have added true retina support on mac and DPI awareness on windows. If you use GUIResize you can activate true retina mode by adding one line of code to the constructor: pGraphics->UseSystemGUIScaling();

BTW, on windows it took me one half an hour to implement but on mac close to 4 days. I really hate mac...

Please test this as I am not yet sure if it works perfectly in every DAW, though I have tested it in several DAWs...
__________________
Website: https://youlean.co, Facebook: https://www.facebook.com/itsYoulean/
Youlean is online now   Reply With Quote
Old 09-17-2017, 05:02 PM   #168
Bobflip
Human being with feelings
 
Join Date: Nov 2016
Posts: 96
Default

Quote:
Originally Posted by Youlean View Post
Sorry for late reply. Are you using mac or windows?
No probs! I'm mainly developing on Mac but am testing things on Windows as well to keep things in check. In this case I was testing with Windows, I figured as it was .ini file based it'd better to get things working in Windows and then get expand it to work on Mac as well. But yeah, this was with Windows 10.



Also regarding your second comment, unfortunately I don't have access to a Retina Mac so can't test the new features (spot the Hackintosh guy...). Would it still be useful for you for me to test the feature anyway?
Bobflip is offline   Reply With Quote
Old 09-17-2017, 05:37 PM   #169
olilarkin
Human being with feelings
 
olilarkin's Avatar
 
Join Date: Apr 2009
Location: York, UK
Posts: 979
Default

nice :-)
__________________
VirtualCZ | pMix | Endless Series | WDL-OL | Linkedin | Patreon
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)
olilarkin is online now   Reply With Quote
Old 09-19-2017, 06:56 AM   #170
olilarkin
Human being with feelings
 
olilarkin's Avatar
 
Join Date: Apr 2009
Location: York, UK
Posts: 979
Default

can we get a loudness meter beta that does retina? :-) you need a good demo project
__________________
VirtualCZ | pMix | Endless Series | WDL-OL | Linkedin | Patreon
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)
olilarkin is online now   Reply With Quote
Old 09-19-2017, 07:04 AM   #171
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 481
Default

Quote:
Originally Posted by olilarkin View Post
can we get a loudness meter beta that does retina? :-) you need a good demo project
Good demo project to showcase retina support?

Well I am in middle of updating Loudness Meter to V2, the problem is that there is a lot of changes under the hood so it will take a while until I finish it. One of the main problems is that I will introduce "Pro" version that will have couple of more features like dynamic hisogram so it will be a challenge to set everything up for sure... Hopefully if everything goes well I will be able to support development of new plugins and updates to the framework... We will see.
__________________
Website: https://youlean.co, Facebook: https://www.facebook.com/itsYoulean/
Youlean is online now   Reply With Quote
Old 09-19-2017, 11:10 AM   #172
olilarkin
Human being with feelings
 
olilarkin's Avatar
 
Join Date: Apr 2009
Location: York, UK
Posts: 979
Default

to demo the nice cairo rendering
__________________
VirtualCZ | pMix | Endless Series | WDL-OL | Linkedin | Patreon
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)
olilarkin is online now   Reply With Quote
Old 09-19-2017, 01:31 PM   #173
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 481
Default

Quote:
Originally Posted by olilarkin View Post
to demo the nice cairo rendering
Thanks. I will try to make some basic cairo graphics for controls in the next few weeks like I promised.
__________________
Website: https://youlean.co, Facebook: https://www.facebook.com/itsYoulean/
Youlean is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.