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

Function-plot scales each channel separately #1077

Closed
telephon opened this issue Apr 5, 2014 · 0 comments
Closed

Function-plot scales each channel separately #1077

telephon opened this issue Apr 5, 2014 · 0 comments
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: class library SC class library comp: Qt GUI sclang Qt components -- for IDE tickets, use "env: SCIDE" instead

Comments

@telephon
Copy link
Member

telephon commented Apr 5, 2014

Currently, function plot scales each audio channel separately - I don't think this was intended. This can lead to very misleading plots.

Compare:

{ PanAz.ar(5, SinOsc.ar, -0.199, 1, 2, 0.5) }.plot(minval: -1, maxval: 1); 
{ PanAz.ar(5, SinOsc.ar, -0.2, 1, 2, 0.5) }.plot(minval: -1, maxval: 1);

… with this strange result:

{ PanAz.ar(5, SinOsc.ar, -0.199, 1, 2, 0.5) }.plot(minval: -1, maxval: 1); // channels 0 and 1
{ PanAz.ar(5, SinOsc.ar, -0.2, 1, 2, 0.5) }.plot(minval: -1, maxval: 1) // channels 0 and 5?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: class library SC class library comp: Qt GUI sclang Qt components -- for IDE tickets, use "env: SCIDE" instead
Projects
None yet
Development

No branches or pull requests

1 participant