COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 08-19-2017, 11:41 AM   #1
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 536
Default IPlug - Youlean [TODO]

Write here anything you would like for me to add to the framework. I won't promise to add your request but it would be nice to see in what way are we going.

What I would like to to is:

1. Remove LICE - We don't need it as we now have Cairo and it will make GUI faster.

2. Stay aways from SWELL as much as possible - What I am going after is to have everything rendered by Cairo. In that way we might be able to make mobile apps too using this framework (if we figure compiling Cairo to arm). Also mobile apps would then require no significant modifications to make it run (hopefully none).

Also what do we need from SWELL to build plugins anyways..?
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is online now   Reply With Quote
Old 08-20-2017, 11:22 PM   #2
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: Holland
Posts: 2,834
Default

Quote:
Originally Posted by Youlean View Post
Also what do we need from SWELL to build plugins anyways..?
Well, it provides all sorts of useful Win32 calls/structs on OSX, e.g. CreateThread()...
Tale is offline   Reply With Quote
Old 08-21-2017, 10:16 PM   #3
mibes
Human being with feelings
 
Join Date: Apr 2017
Posts: 35
Default

if you remove LICE will that remove the multi-bitmap knob controls etc?

Personally I find those really useful...
mibes is offline   Reply With Quote
Old 08-22-2017, 12:20 AM   #4
Nowhk
Human being with feelings
 
Join Date: Mar 2016
Posts: 226
Default

IMidiQueue.h: order notes ALSO by Note Numbers (increasing/decreasing) instead of just MIDI offset.

Example: if DAW sends 3 different notes at the same time with the same MIDI offset (example C5, C7 and C9, so MIDI Number 60, 84 and 108) there are no guarantees it will send them in this exact order.
FL Studio for example can send 108, 84 and 60. And the next time 84, 108, 60. And so on.

Thus, if I have some kind of "poly" limit (to max 2 or 1 voices for example) the played notes result different each time.
Nowhk is offline   Reply With Quote
Old 08-22-2017, 08:07 AM   #5
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 536
Default

Quote:
Originally Posted by Tale View Post
Well, it provides all sorts of useful Win32 calls/structs on OSX, e.g. CreateThread()...
Yes indeed but CreateThread() is not compatible with ARM, so it might be better to use c++11 for creating threads. SWELL is awesome if you want to make a real APP, but if you want to create just a plugin, I am not sure if we really need it.

Currently SWELL is used in plugins to do:
-Manage threads.
-Create right click menus.
-Create message popup box.
-Save settings to text file.
-Opens file selector window?
-Anything else?
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is online now   Reply With Quote
Old 08-22-2017, 08:09 AM   #6
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 536
Default

Quote:
Originally Posted by mibes View Post
if you remove LICE will that remove the multi-bitmap knob controls etc?

Personally I find those really useful...
You can load bitmaps from cairo and it will be much faster to work with it, also GUI scaling will be much faster (up to 5x). So, you will have multi-bitmap knob controls with cairo too...
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is online now   Reply With Quote
Old 08-22-2017, 08:12 AM   #7
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 536
Default

Quote:
Originally Posted by Nowhk View Post
IMidiQueue.h: order notes ALSO by Note Numbers (increasing/decreasing) instead of just MIDI offset.

Example: if DAW sends 3 different notes at the same time with the same MIDI offset (example C5, C7 and C9, so MIDI Number 60, 84 and 108) there are no guarantees it will send them in this exact order.
FL Studio for example can send 108, 84 and 60. And the next time 84, 108, 60. And so on.

Thus, if I have some kind of "poly" limit (to max 2 or 1 voices for example) the played notes result different each time.
OK, I will look at this in the future. This seems legit. If you have any fix for that that you can share, please let me know...
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is online now   Reply With Quote
Old 08-22-2017, 11:49 PM   #8
Nowhk
Human being with feelings
 
Join Date: Mar 2016
Posts: 226
Default

Quote:
Originally Posted by Youlean View Post
OK, I will look at this in the future. This seems legit. If you have any fix for that that you can share, please let me know...
I just place this task on my "ToDo" list. I've not think to it yet. I'll let you know if I do somethings, of course

Ah, and would be nice to fix this also: https://forum.cockos.com/showthread.php?t=186686
Nowhk is offline   Reply With Quote
Old 08-22-2017, 11:52 PM   #9
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 536
Default

Quote:
Originally Posted by Nowhk View Post
Ah, and would be nice to fix this also: https://forum.cockos.com/showthread.php?t=186686
Indeed. I will look at it very soon. As far as I see we need to remove mutex lock, but I will see..
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is online now   Reply With Quote
Old 08-23-2017, 01:45 AM   #10
olilarkin
Human being with feelings
 
olilarkin's Avatar
 
Join Date: Apr 2009
Location: Huddersfield, UK
Posts: 1,016
Default

a colleague has fixed that problem with fruity loops...will do a clean commit soon, but requires modifying cockos mutex.h so want to check with justin
__________________
VirtualCZ | pMix | Endless Series | WDL-OL | Linkedin | Facebook
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)
olilarkin is offline   Reply With Quote
Old 08-23-2017, 02:16 AM   #11
Nowhk
Human being with feelings
 
Join Date: Mar 2016
Posts: 226
Default

Quote:
Originally Posted by olilarkin View Post
a colleague has fixed that problem with fruity loops...will do a clean commit soon, but requires modifying cockos mutex.h so want to check with justin
Nice one! I'm curious why with OnParamChange IPlug suggest to place a lock (even if its already locked by SetParameterFromGUI). A sort of "double lock".

The same apply for example with ProcessMidiMsg: it is called inside VSTDispatcher, which (as before) already lock it.

Correctly, nobody suggest to lock inside ProcessMidiMsg.
Why so on OnParamChange? Incomprehension on "manual"?

I don't think I need to lock also within ProcessMidiMsg...
Nowhk is offline   Reply With Quote
Old 08-24-2017, 09:49 AM   #12
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 536
Default

Quote:
Originally Posted by olilarkin View Post
a colleague has fixed that problem with fruity loops...will do a clean commit soon, but requires modifying cockos mutex.h so want to check with justin
That's great!
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is online now   Reply With Quote
Old 08-24-2017, 10:32 PM   #13
nosonic
Human being with feelings
 
Join Date: Aug 2017
Posts: 6
Default

How about retina support?
Especially text looks on my retina macbook very ugly :-(
nosonic is offline   Reply With Quote
Old 08-25-2017, 12:38 AM   #14
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 536
Default

Quote:
Originally Posted by nosonic View Post
How about retina support?
Especially text looks on my retina macbook very ugly :-(
I will implement that very soon. Probably in the next 10-15 days...
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is online now   Reply With Quote
Old 08-25-2017, 12:46 AM   #15
nosonic
Human being with feelings
 
Join Date: Aug 2017
Posts: 6
Default

I saw a pull request for this, but I think it hasn't been merged yet
https://github.com/olilarkin/wdl-ol/pull/38
nosonic is offline   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 06:29 AM.


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