Seconding the request for multichannels | Using RackAFX/RackAFX Projects | Forum


Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Seconding the request for multichannels
New Member
September 29, 2015 - 9:42 pm
Member Since: September 29, 2015
Forum Posts: 2
sp_UserOfflineSmall Offline

On one page of your website, you mention that you have only been asked for multi-channel capability by one graduate student. I would like to ask for it too; but I don't think I need anything fancy.

In your software-generated project code, you have:

// Default to Stereo Operation:
// Change this if you want to support more/less channels
m_uMaxInputChannels = 2;
m_uMaxOutputChannels = 2;

However, changing them to 6 each still only results in a plugin that Reaper sees as two ins with two outs. I want to make a Surround Sound capable plugin myself; and I even have already made a prototype in ReaJS. I don't even need RackAFX to be able to support playing a surround sound, or say, Analyze its frequency and other responses. For the time being, getting these variables to do what the comments say they will do would be sufficient for me to develop this for VST (hopefully for Mac and AU also). I understand that with only two requests, this will be a relatively low priority if this is not a fairly simple request to support. Hopefully, it will be. In time, especially as RackAFX grows in popularity, there will be others ...


September 30, 2015 - 1:57 am
Member Since: January 29, 2017
Forum Posts: 689
sp_UserOfflineSmall Offline

Thanks for your note, CL. I still have this on the list, but other things (like VS2015 integration) are taking priority right now.

However, if you use -- Make VST -- (or -- Make AU --) then you can have as many channels as you want, but it is up to you to add the extra code to do so. For VST this is not too complicated. In your Processor object, you declare your audio input and output busses, for 5.1 it would be:

addAudioOutput(STR16("Audio Output"), SpeakerArr::k51);
addAudioInput(STR16("AudioInput"), SpeakerArr::k51);

k51 is defined in \VST3 SDK\pluginterfaces\vst\vsttypes.h

That would give you multi-channel busses in and out.

Then, you would need to add the extra code to the process( ) function to process the other channels. This is not so easy - you would need to implement the rackAFX processAudioFrame( ) code directly (rather than calling the function on the embedded object) and you would need to process VST buffers, as usual in VST.

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 1

Members: 768

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 842

Posts: 3347

Moderators: W Pirkle: 689