Hello.
Can anyone tell me what this means, and what I might do about it:
exception in GraphDef_Recv: name too long > 31 chars
SynthDef(\gran, {
arg trate = 100, pos = 44100, rate = 1, buf = 0, vol = 0.6;
var dur, out;
dur = 4 / (trate / 2.2);
out = Control.names([\out]).kr(Array.new(8));
//rate = Dseq([10, 1, 1, 0.5, 0.5, 0.2, 0.1], inf);
Out.ar(out, TGrains.ar(2, Impulse.ar(LinLin.kr(trate, 0, 600, 1.0,
70.1)),
buf, rate, LinLin.kr(pos, 0, 600, BufDur.kr(buf),0), dur, Dseq([-1, 1],
inf), vol, 4));
}).send(s);
I've also tried this:
SynthDef(\gran, {
arg trate = 100, pos = 44100, rate = 1, buf = 0, vol = 0.6;
var dur, out;
dur = 4 / (trate / 2.2);
out = Control.names([\out]).kr(Array.newClear(8));
//rate = Dseq([10, 1, 1, 0.5, 0.5, 0.2, 0.1], inf);
Out.ar(out, TGrains.ar(2,
Impulse.ar(LinLin.kr(trate, 0, 600, 1.0,
70.1)), buf, rate, LinLin.kr(pos, 0, 600, BufDur.kr(buf),0), dur, Dseq([-1,
1], inf), vol, 4));
}).send(s);
But this results in this:
ERROR: Message 'asFloat' not understood.
RECEIVER:
nil
ARGS:
CALL STACK:
DoesNotUnderstandError:reportError 15425700
arg this = <instance of DoesNotUnderstandError>
Nil:handleError 1910A840
arg this = nil
arg error = <instance of DoesNotUnderstandError>
Thread:handleError 190FF660
arg this = <instance of Thread>
arg error = <instance of DoesNotUnderstandError>
Object:throw 1558D3B0
arg this = <instance of DoesNotUnderstandError>
Object:doesNotUnderstand 190AD040
arg this = nil
arg selector = 'asFloat'
... etc ...
This almost works:
SynthDef(\gran, {
arg trate = 100, pos = 44100, rate = 1, buf = 0, vol = 0.6;
var dur, out;
dur = 4 / (trate / 2.2);
out = Control.names([\out]).kr(Array.newClear(8).fill(0));
//rate = Dseq([10, 1, 1, 0.5, 0.5, 0.2, 0.1], inf);
Out.ar(out, TGrains.ar(2,
Impulse.ar(LinLin.kr(trate, 0, 600, 1.0,
70.1)), buf, rate, LinLin.kr(pos, 0, 600, BufDur.kr(buf),0), dur, Dseq([-1,
1], inf), vol, 4));
}).send(s);
... but the problem with this is that each time the synth is called by a
routine it automatically outputs on bus 0 rather than the bus I actually
want it to output to.
How can I sort out this Array so it is not interpreted as containing floats
yet doesn't contain any values, which are to be specified later?
Cheers,
Will.
--
View this message in context:
http://www.nabble.com/Output-bus-arrays-via-routine-or-%22GraphDef_Recv%3A-name-too-long%22.-tp22460648p22460648.html
Sent from the Supercollider - User mailing list archive at Nabble.com.
_______________________________________________
sc-users mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/