Thanks mauritohm.
Instr(\reverb,{arg inbus=2,mix=0.5,room=0.5,damp=4,vol=0.3, outbus=2;
var out, in;
in = In.ar(inbus + 16, 2);//Input channels offset is +16 so to get the second input add 16.
out = FreeVerb.ar(in, mix, room, damp, vol);
Out.ar(outbus, out);
});
)
p = Patch(\reverb, [2, 0.5, 0.5, 4, 0.3, 2]);
p.play;
ERROR: numChannels is nil Patch Patch("reverb")
CALL STACK:
Exception:reportError
arg this = <instance of Error>
Nil:handleError
arg this = nil
arg error = <instance of Error>
Thread:handleError
arg this = <instance of Thread>
arg error = <instance of Error>
Object:throw
arg this = <instance of Error>
AbstractPlayer:topMakePatchOut
arg this = <instance of Patch>
arg agroup = <instance of Group>
arg private = false
arg bus = nil
AbstractPlayer:makePatchOut
arg this = <instance of Patch>
arg agroup = <instance of Group>
arg private = false
arg bus = nil
arg bundle = <instance of MixedBundle>
AbstractPlayer:prepareToBundle
arg this = <instance of Patch>
arg agroup = <instance of Group>
arg bundle = <instance of MixedBundle>
arg private = false
arg bus = nil
AbstractPlayer:prPlay
arg this = <instance of Patch>
arg atTime = nil
arg bus = nil
arg timeOfRequest = 29943.628170553
var bundle = <instance of MixedBundle>
AbstractPlayer:play
arg this = <instance of Patch>
arg group = nil
arg atTime = nil
arg bus = nil
var timeOfRequest = 29943.628170553
Interpreter:interpretPrintCmdLine
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "p.play;"
var doc = nil
var ideClass = <instance of Meta_ScIDE>
Process:interpretPrintCmdLine
arg this = <instance of Main>
^^ The preceding error dump is for ERROR: numChannels is nil Patch Patch("reverb")