Re: [Csnd-dev] expression with multiple outputs

Eduardo Moguillansky <[email protected]> Sun, 21 Sep 2025 15:28:54 +0200
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAHFFss+GcqPWZSTra2RF4VUYt=YkjS=nayPX9cKZUV9GpwmKGg@mail.gmail.com>
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]> 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
>