ccrma / chuck

ChucK Music Programming Language
http://chuck.stanford.edu/
GNU General Public License v2.0
799 stars 127 forks source link

Array constructors for ugens only affects first element of array #425

Closed nshaheed closed 5 months ago

nshaheed commented 7 months ago
Step s(2)[2] => blackhole;

while(100::ms => now) {
    <<<s[0].last(), s[1].last()>>>;
}

This outputs

2.000000 0.000000
2.000000 0.000000
2.000000 0.000000
2.000000 0.000000
2.000000 0.000000
2.000000 0.000000
2.000000 0.000000

afaik both of these values should be 2

gewang commented 5 months ago

after testing, the array constructors seem to be working properly; this appears to be a behavior (possible bug) with => between arrays. more investigation underway...

gewang commented 5 months ago

semantics for => connecting arrays of UGens have been updated in d070fa8fffaaf59f19ad6b2dcaf66c17e62a6aae