Re: [Csnd-dev] expression with multiple outputs
joachim heintz <[email protected]> Sun, 21 Sep 2025 22:35:41 +0900
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <[email protected]> |
my assumption was that if out(a1,a2) works, it should also work if the two arguments are the outputs of an expression, like here. On 21/09/2025 22:28, Eduardo Moguillansky wrote: > pan2 returns two outputs, not an array. So I would say that it is a > limitation in the sense that for that to work one would need to add a > variant of pan2 which returns an array. > > On Sun, Sep 21, 2025 at 3:18 PM joachim heintz <[email protected] > <mailto:[email protected]>> wrote: > > nchnls = 2 > 0dbfs = 1 > > instr 1 > sound:a = pinkish(.1) > out(pan2(sound,random:i(0,1))) > endin > schedule(1,0,1) > > error: opcode 'pan2' for expression with arg types ai returns out-args > != 1, line 14 > > is this a limitation, or is it supposed to work? > > thanks - > joachim >