You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to playback an aiff file with the play.go example, playback is almost correct still the sound is weird like there is some kind of bandpass filter shadowing a frequency range. There is no problem with the file it plays correctly in other players. Are all files supposed to play correctly in the example or maybe I should change the some configurations ?
Not sure if this is a problem with the code or it is supposed to be that way.
Thanks for any support
The text was updated successfully, but these errors were encountered:
Ok, I am pretty sure what is happening is that I am using a stereo file and the example is supposed to play mono, still could someone guide me to make it play properly ?
It might be as simple as passing 2 instead of 1 as the second argument to OpenDefaultStream. This assumes your audio file has the samples interleaved (left, right, left, right, ...), which I think is typical. If they're not interleaved, it will take a bit more work to pass them to the portaudio stream.
Trying to playback an aiff file with the play.go example, playback is almost correct still the sound is weird like there is some kind of bandpass filter shadowing a frequency range. There is no problem with the file it plays correctly in other players. Are all files supposed to play correctly in the example or maybe I should change the some configurations ?
Not sure if this is a problem with the code or it is supposed to be that way.
Thanks for any support
The text was updated successfully, but these errors were encountered: