|
08-19-2017, 11:41 AM
|
#1
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
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 is planned:
1. Remove LICE - We don't need it as we now have Cairo and it will make GUI faster. So switch to Cairo. Also I will make Cairo necessary for build soon!
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.
For discussion:
1. Not sharing bitmaps in same process. It will increase RAM by couple of megs for every plugin instance but it will make GUI resizing super convenient and fast too.
Last edited by Youlean; 12-02-2017 at 11:47 AM.
|
|
|
08-20-2017, 11:22 PM
|
#2
|
Human being with feelings
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
|
Quote:
Originally Posted by Youlean
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()...
|
|
|
08-21-2017, 10:16 PM
|
#3
|
Human being with feelings
Join Date: Apr 2017
Posts: 36
|
if you remove LICE will that remove the multi-bitmap knob controls etc?
Personally I find those really useful...
|
|
|
08-22-2017, 12:20 AM
|
#4
|
Human being with feelings
Join Date: Mar 2016
Posts: 234
|
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.
|
|
|
08-22-2017, 08:07 AM
|
#5
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
Quote:
Originally Posted by Tale
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?
|
|
|
08-22-2017, 08:09 AM
|
#6
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
Quote:
Originally Posted by mibes
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...
|
|
|
08-22-2017, 08:12 AM
|
#7
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
Quote:
Originally Posted by Nowhk
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...
|
|
|
08-22-2017, 11:49 PM
|
#8
|
Human being with feelings
Join Date: Mar 2016
Posts: 234
|
Quote:
Originally Posted by Youlean
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
|
|
|
08-22-2017, 11:52 PM
|
#9
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
Quote:
Originally Posted by Nowhk
|
Indeed. I will look at it very soon. As far as I see we need to remove mutex lock, but I will see..
|
|
|
08-23-2017, 01:45 AM
|
#10
|
Human being with feelings
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
|
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
|
|
|
08-23-2017, 02:16 AM
|
#11
|
Human being with feelings
Join Date: Mar 2016
Posts: 234
|
Quote:
Originally Posted by olilarkin
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...
|
|
|
08-24-2017, 09:49 AM
|
#12
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
Quote:
Originally Posted by olilarkin
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!
|
|
|
08-24-2017, 10:32 PM
|
#13
|
Human being with feelings
Join Date: Aug 2017
Posts: 6
|
How about retina support?
Especially text looks on my retina macbook very ugly :-(
|
|
|
08-25-2017, 12:38 AM
|
#14
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
Quote:
Originally Posted by nosonic
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...
|
|
|
12-02-2017, 11:45 AM
|
#16
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
I am bumping this post for everybody that are using my framework. Please comment here what you need to be changed or added. Discussion will help a lot and it is necessary if we want to have smooth updates...
|
|
|
12-03-2017, 02:49 AM
|
#17
|
Human being with feelings
Join Date: Mar 2016
Posts: 234
|
|
|
|
12-03-2017, 05:18 AM
|
#18
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
Quote:
Originally Posted by Nowhk
|
That might be useful, but I guess this is really low priority for now.
|
|
|
12-04-2017, 03:33 AM
|
#19
|
Human being with feelings
Join Date: Mar 2016
Posts: 234
|
Quote:
Originally Posted by Youlean
That might be useful, but I guess this is really low priority for now.
|
I see, thanks! I hope to have implemented it easily this morning, check the other topic
|
|
|
12-04-2017, 03:45 AM
|
#20
|
Human being with feelings
Join Date: May 2015
Location: Serbia
Posts: 654
|
Quote:
Originally Posted by Nowhk
I see, thanks! I hope to have implemented it easily this morning, check the other topic
|
Thanks, I will check it out!
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 03:45 PM.
|