COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 02-27-2010, 07:40 AM   #1
cc_
Human being with feelings
 
Join Date: Mar 2009
Posts: 256
Default cc's iplug additions

I posted a previous version of my additions on some other thread earlier, I thought I'd start a new thread so I can keep it updated...

New in 2010_04_20:
- based on wdl 2010.04.19
- prompt for user input working in non-composited carbon windows
- IFaderMultiControl
- GetChunk/SetChunk VST presets working

Main additions:
New functionality:
- ISwitch2Control : A switch that has extra states in between the normal ones
which are used when the mouse is down.
- ISpinnerControl : a text control you can change by dragging like a knob
- IEditableTextControl : a text control you can click and edit the text
- IFaderMultiControl : a fader control that uses a multiframe bitmap
- ISubject.h : an interface so you can get your code to run when a control
is changes (eg for making text readouts of a control's value, or
making nudge buttons etc)
- New IPlug GetTime() function that returns all the info I needed to
create notes that are synced to the host position
and handle looping properly (the AU one hasn't been tested very well)
- GetChunk / SetChunk with VST presets working.
There is a function MakePresetState() you must overide when you
have added your own data to the preset chunk - see Example/IPlugExample.cpp
for an example of how to do this.

Things that weren't yet implemented on OSX (I have only tested these on 10.5):
- Alt click to edit the value of a control
- Prompt for file save / open
- set the value of EXPORT correctly in IPlug_include_in_plug_hdr.h
this means you can now enable "Symbols Hidden By Default" and strip the binary
(before it was relying on _all_ the symbols being in the binary to find the
one symbol it needs: the plugin's entry point)
- AU MIDIOut - but I haven't yet found a host that supports this, so it's pretty useless.

Licence is the same as WDL...
Attached Files
File Type: zip cc_iplug_2010_04_20.zip (440.4 KB, 251 views)

Last edited by cc_; 04-20-2010 at 10:10 AM. Reason: updated to 2010_04_20 version
cc_ is offline   Reply With Quote
Old 02-27-2010, 12:06 PM   #2
Soundbytes
Human being with feelings
 
Soundbytes's Avatar
 
Join Date: May 2006
Posts: 58
Default

Thanks for making these available.
For my Synthedit based plugins I have created a control that works like your ISpinnerControl. So this comes just very handy for the transition to the new framework.

Andreas
Soundbytes is offline   Reply With Quote
Old 02-28-2010, 07:16 AM   #3
olilarkin
Human being with feelings
 
olilarkin's Avatar
 
Join Date: Apr 2009
Location: UK
Posts: 1,163
Default

thanks cc!
__________________
VirtualCZ | pMix | Endless Series | iPlug2 | Linkedin | Facebook
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)
olilarkin is offline   Reply With Quote
Old 03-02-2010, 02:07 PM   #4
stahlwerk
Human being with feelings
 
Join Date: Nov 2009
Posts: 4
Default

Thanks!

Just saw this, and it is perfect timing for me, I just about to start thinking about how to do the user prompting in OSX, now I do not have to do that.

Tank you, thank you, thank you!!!
stahlwerk is offline   Reply With Quote
Old 03-05-2010, 01:32 PM   #5
Astralp
Human being with feelings
 
Join Date: Dec 2009
Posts: 73
Default

Thanks CC, great to see file handling and text entry, they were both on my todo list. I also have some additions here, mainly Popup Menu, though not implemented for Mac yet. I've had a couple of frustrating sessions trying but haven't achieved it yet. Works great on windows though.

Also there is a setDefault and also set value by it's int/enum value which others may find useful.

for the popup I have made a basic control to demonstrate.

Andy
Attached Files
File Type: txt Iplug additions.txt (4.6 KB, 351 views)
Astralp is offline   Reply With Quote
Old 04-20-2010, 10:12 AM   #6
cc_
Human being with feelings
 
Join Date: Mar 2009
Posts: 256
Default

New version 2010_04_20:
- based on wdl 2010.04.19
- prompt for user input working in non-composited carbon windows
- IFaderMultiControl
- GetChunk/SetChunk VST presets working

see attachment in first post of thread.
cc_ 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 05:28 AM.


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