September 29, 2015
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 ...
January 29, 2017
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);
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.
Most Users Ever Online: 36
Currently Browsing this Page:
Guest Posters: 1
Newest Members:Matt, dspstudent, strings4v, TheSmile, semihyavuzz, alfredLue, danioc, midnightskate3, Alia5, Shamal Sundar
Moderators: W Pirkle: 209
Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 209