Re: \instrument doesn't expand

[email protected]
Newsgroups gmane.comp.audio.supercollider.user
Message-ID <[email protected]>
> Am 16.03.2021 um 15:03 schrieb [email protected]:
> 
> Hey All,
> 
> Just curious, is there a reason why this throws an error, or is it bug?
> 
> Pbind(\instrument, [\def, \defvar, \defvar2]).play
> 
> Seems like a reasonable thing to want to do.


At a first glance, yes, but array expansion in combination with other streams would be difficult to handle. There have been discussions about this, the implementation would probably open a can of worms. At least there are workarounds:

https://scsynth.org/t/one-pattern-playing-multiple-synths/604 <https://scsynth.org/t/one-pattern-playing-multiple-synths/604>

https://www.listarc.bham.ac.uk/lists/sc-users-2018/msg62866.html <https://www.listarc.bham.ac.uk/lists/sc-users-2018/msg62866.html>

https://www.listarc.bham.ac.uk/lists/sc-users-2013/msg34083.html <https://www.listarc.bham.ac.uk/lists/sc-users-2013/msg34083.html>


Greetings

Daniel

-----------------------------
http://daniel-mayer.at
-----------------------------


> 
> S.
> 
> _______________________________________________
> sc-users mailing list
> 
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.