Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subinstr number of arguments is tied to nchnls (messing with music model) #41

Open
anton-k opened this issue Feb 15, 2017 · 0 comments
Open
Labels

Comments

@anton-k
Copy link
Contributor

anton-k commented Feb 15, 2017

Suprisingly it's true. It leads to bugs in the very simple programs like.
By some strange design decision the number of outputs in the subinstr have to be
not greater than nchnls`. We use subinstr to return the signals from "dynamic" instruments,
for passsing the signals from child to parent:

> let guitar = fst $ loopSnd "StereoGuitarSample.wav"
> dac guitar

The csound proceeds with error:

INIT ERROR in instr 20: subinstr: number of output args greater than nchnls
ar0	ar1	subinstr.i	19	

Consider substituting the subinstr with reading from dynamically allocated channels.

@anton-k anton-k added the bug label Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant