Hi -
Sorry for this question being slightly OT - it deals with a Quark and a VST, which might mean most don’t have experience here.
I’m attempting to experiment with 7th-order ambisonics in SuperCollider, to my knowledge, the IEM VST is the only way to do that at the current time… (or, at least, the only way without a lot of math.)
For some reason, though, this is telling me that I have too few busses for 7th-order. Any idea what’s wrong with my code?
(
s.options.numOutputBusChannels = 64; // binaural output
s.options.numInputBusChannels = 64;
s.options.memSize = 2.pow(20);
s.reboot;
)
~hoaBus = Bus.audio(s, 64);
(
SynthDef(\encode, {
var src, enc;
src = SinOsc.ar(LFDNoise1.ar(2000).range(100, 1000)) * 0.2 ! 2;
enc = VSTPlugin.ar(src, numOut: 64, id: \encoder);
Out.ar(~hoaBus, enc);
}).add;
SynthDef(\decode, {
var hoa, bin;
hoa = In.ar(~hoaBus, 64);
bin = VSTPlugin.ar(hoa, 64, id: \decoder);
Out.ar(0, bin);
}).add;
)
(
s.waitForBoot {
~encSynth = Synth(\encode,);
~decSynth = Synth(\decode, addAction: \addToTail);
~enc = VSTPluginController(~encSynth, \encoder);
~dec = VSTPluginController(~decSynth, \decoder);
~enc.open("/Library/Audio/Plug-Ins/VST3/IEM/StereoEncoder.vst3");
~dec.open("/Library/Audio/Plug-Ins/VST3/IEM/BinauralDecoder.vst3");
};
~enc.editor;
~dec.editor;