Yes, this is the code, itâs executed one by one:
(
SynthDef(\insert, { arg bus;
ReplaceOut.ar(bus, VSTPlugin.ar(In.ar(bus, 2), 2));
}).add;
)
~synth = Synth(\insert, [\bus, 0]);
~fx = VSTPluginController(~synth);
and here is the result again:
SynthDef:insert
Synth("insert" : 1000)
ERROR: couldn't find SynthDef 'insert' in global SynthDescLib!
RECEIVER:
class VSTPluginController (0x10e8973c0) {
instance variables [19]
name : Symbol 'VSTPluginController'
nextclass : instance of Meta_VSTPluginDesc (0x10ea83dc0, size=19, set=5)
superclass : Symbol 'Object'
subclasses : instance of Array (0x10f30f480, size=1, set=2)
methods : instance of Array (0x10e897540, size=118, set=7)
instVarNames : instance of SymbolArray (0x10e897dc0, size=21, set=4)
classVarNames : nil
iprototype : instance of Array (0x10e897f40, size=21, set=5)
cprototype : nil
constNames : instance of SymbolArray (0x10e8981c0, size=1, set=2)
constValues : instance of Array (0x10e898280, size=1, set=2)
instanceFormat : Integer 0
instanceFlags : Integer 0
classIndex : Integer 324
classFlags : Integer 0
maxSubclassIndex : Integer 325
filenameSymbol : Symbol '/Applications/SamplerCentral 2.6.app/Contents/Resources/SCClassLibrary/Extensions/VSTPlugin/classes/VSTPluginController.sc'
charPos : Integer 0
classVarIndex : Integer 660
}
CALL STACK:
MethodError:reportError 0x1279190a8
arg this = <instance of MethodError>
Nil:handleError 0x127919418
arg this = nil
arg error = <instance of MethodError>
Thread:handleError 0x127917ec8
arg this = <instance of Thread>
arg error = <instance of MethodError>
Object:throw 0x127917738
arg this = <instance of MethodError>
Meta_VSTPluginController:prFindPlugins 0x128079528
arg this = <instance of Meta_VSTPluginController>
arg synth = <instance of Synth>
arg synthDef = nil
var desc = nil
var metadata = nil
var plugins = nil
Meta_VSTPluginController:new 0x128079658
arg this = <instance of Meta_VSTPluginController>
arg synth = <instance of Synth>
arg id = nil
arg synthDef = nil
arg wait = -1
var plugins = nil
var desc = nil
var info = nil
< closed FunctionDef > (no arguments or variables)
Interpreter:interpretPrintCmdLine 0x128079928
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "~fx = VSTPluginController(~s..."
var doc = <instance of CocoaDocument>
Process:interpretPrintCmdLine 0x127918448
arg this = <instance of Main>
For advice: [http://supercollider.sf.net/wiki/index.php/MethodError]