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

Different amplitude value for a VariableRateDataReader #76

Closed
new-soul opened this issue Mar 3, 2020 · 1 comment
Closed

Different amplitude value for a VariableRateDataReader #76

new-soul opened this issue Mar 3, 2020 · 1 comment

Comments

@new-soul
Copy link

new-soul commented Mar 3, 2020

I want to use VariableRateDataReader play t tone with SegmentedEnvelope.I know it can control the volume of tone.But how can I implement the different volume for left and right channel?
Thanks!

@new-soul new-soul closed this as completed Mar 6, 2020
@new-soul
Copy link
Author

new-soul commented Mar 6, 2020

You can connect your mono output to a Pan unit and it will control gain for left/right.
https://github.com/philburk/jsyn/blob/b006311f7290fd63a789bed8a7867121aa8096f6/src/com/jsyn/unitgen/Pan.java

Or you can connect it to two multipliers and control it exactly the way you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant