The problem is that map doesn’t know whether 128 refers to a control or audio bus, so it just assumes a control bus. If you pass a Bus object instead of a number, it should work. This is mentioned in the documentation of Node.map:
Integer bus indices are assumed to refer to control buses. To map a control to an audio bus, you must use a Bus object.
hey,
I somehow still get in to trouble when I try to map NodeProxy inputs:
Ndef(\k, { K2A.ar([1, 2, 3, 4]) });
Ndef(\x, { \test.ar.poll; 0 });
Ndef(\x).set(\test, Bus(index: (Ndef(\k).bus.index))); // sets \test to the index of the bus, is this expected behaviour?
Ndef(\x).set(\test, Ndef(\k).asMap[0]);