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

It can't record sound properly when the number of input channels is different from the number of output channels #55

Open
sadmb opened this issue Dec 12, 2023 · 2 comments · May be fixed by #56

Comments

@sadmb
Copy link

sadmb commented Dec 12, 2023

It doesn't record sound properly when you use ofxSoundRecorderObject with the settings like below.

settings.numInputChannels =  2;
settings.numOutputChannels = 4;

...

input.connectTo(recorder).connectTo(mixer).connectTo(output);
recorder.startRecording(ofToDataPath("test.wav", true), true);

The number of channels of the recorder forced to change to 4 and its sound goes noisy.

@roymacdonald
Copy link
Owner

Hi. Thabks for letting me know.
I have not faced this issue but I have an idea of what might be happening. I'll let you know if I can fix it soon.

@sadmb sadmb linked a pull request Dec 12, 2023 that will close this issue
@sadmb
Copy link
Author

sadmb commented Dec 12, 2023

@roymacdonald Thanks for the reply.
I've already fixed it so please check. ;)

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

Successfully merging a pull request may close this issue.

2 participants