Avatar

Please consider registering
Guest

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 sp_TopicIcon
Seconding the request for multichannels
No permission to create posts
September 29, 2015
9:42 pm
Avatar
CodeLurker
New Member
Members
Forum Posts: 1
Member Since:
September 29, 2015
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 ...

TIA,
CodeLurker

September 30, 2015
1:57 am
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
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: 36

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143