knyst icon indicating copy to clipboard operation
knyst copied to clipboard

Using Mult node on stereo output shifts balance slightly to the right

Open Tuurlijk opened this issue 4 months ago • 9 comments

Hi,

Big thanks for writing knyst! I have just started exploring rust audio and came across this great lib.

I was getting to grips with connecting up graphs for a stereo file. I used a sound test file to sort out the correct parameters for the nodes. I want to be able to set the volume for the wav file. I think the way to do that with knyst is to use a Mult node.

When using one mult node per channel on a stereo wav, the balance is shifted to the right ear. You can hear this clearly in this sample application: https://github.com/Tuurlijk/knyst-croptesting

Am I not connecting the graph correctly? Or mising something else? Without Mult, the file plays correctly.

I also tried with (chatgpt-fixed-up) untable code for the inner workings of Mult, same result.

Tuurlijk avatar Oct 03 '24 07:10 Tuurlijk