-
|
Hi - I'd like to dynamically control the balance between a left and right headphone. It seems like something like this may be possible with the Position property on CreateSource, but I always get sound coming out of both headphones. Is there another way to change the left/right headphone balance? This is related to this old question: https://github.com/orgs/bonsai-rx/discussions/1816 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @petersaj There might be several methods to achieve what you are looking for, depending on what sounds you are playing.
If you want to go down the
Workflow attached with these methods I played around with: #2525 adjust_stereo_volume.zip Notes: For reference, I copied the setup from https://groups.google.com/g/bonsai-users/c/0_S_ImisKe0/m/PogcWX0tCQAJ, which has more details on |
Beta Was this translation helpful? Give feedback.



Hi @petersaj There might be several methods to achieve what you are looking for, depending on what sounds you are playing.
Bonsai.Dsp.FunctionGenerator, you can duplicate the waveform for two channels, independently scale them with different values forConvertScale, thenConcatthem for playback.If you want to go down the
CreateSourceroute, there are also two ways to do it.CreateSource"speaker" using theOpenALcartesian coordinate system, but it might be a bit tricky figuring out the coordinates for both the listener and speaker, which is pro…