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

Send to bus without creating new synths #286

Closed
jleben opened this issue May 6, 2012 · 1 comment
Closed

Send to bus without creating new synths #286

jleben opened this issue May 6, 2012 · 1 comment

Comments

@jleben
Copy link
Member

jleben commented May 6, 2012

[Issue migrated from SourceForge | ID: 3011090 | Submitted by 'sonoro1234']
[http://sourceforge.net/support/tracker.php?aid=3011090]

p = ProxySpace.push;
// a 3 channel test sound
~test3 = { SinOsc.ar([2, 3, 5] * 100) * 0.2 };
~test3.playN([2, 4,7]) // playN to 3 non-adjacent channels CPU 5%
~test3.playN(Array.fill(400,{|i| i})) //CPU 45%

As I see sending to a bus should not use so much more CPU. It creates 400 new synths for doing the job as they are all doing the same calculation (not different sound to each bus)

Does it make sense??

@jleben
Copy link
Member Author

jleben commented May 6, 2012

[Comment migrated from SourceForge | Submitted by 'jrhb']

playN is meant as a Monitor for speakers, not for routing - try the Out UGen for routing to multiple channels.

@jleben jleben closed this as completed May 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant