COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 05-01-2016, 02:05 AM   #1
unevens
Human being with feelings
 
Join Date: Apr 2016
Posts: 5
Default vst3 can't have more than 6 channels

I noticed that plugins with more than 6 ins or outs, when built for the VST3
target, are broken.
The issue is that if there are more than 6 inputs, the resulting plugin will have 0 inputs, and if there are more than 6 ouputs it will have 0 outputs.
I'm using WDL-OL on Windows 10, Reaper 5.16 x64.

Last edited by unevens; 05-01-2016 at 02:07 AM. Reason: typo
unevens is offline   Reply With Quote
Old 05-01-2016, 05:00 AM   #2
Tired_Joe
Human being with feelings
 
Join Date: Apr 2015
Posts: 55
Default

I noticed the same.

My problem is, I can´t understand whats behind the
Code:
#define PLUG_CHANNEL_IO "1-1 3-1 2-1 4-1 3-2 2-2 4-2"
in resource.h

And I don´t know if I am doing it right. But it works für inputs <= 6


I tried to have more than one Sidechain, but without success.
Tired_Joe is offline   Reply With Quote
Old 05-01-2016, 05:22 AM   #3
unevens
Human being with feelings
 
Join Date: Apr 2016
Posts: 5
Default

the code

#define PLUG_CHANNEL_IO "1-1 3-1 2-1 4-1 3-2 2-2 4-2"

means that the plugin can either have
1 input 1 output
3 inputs 1 output
and so on...
You can see the details by following the code path from the costroctor of IPlug, the string is parsed and the numbers are used to initialize the IOChannels.

Configurations as 3-1 2-1 4-1 give you more than one sidechain channel. The common stereo sidechain is the 4-2 configuration, in which you just have to listen to inputs[2] and inputs[3] is ProcessDoubleReplacing(). That's where the sidechain happen.
unevens 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 07:41 AM.


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