Wav audio select output and volume left/right
Posted: Thu Sep 05, 2024 5:09 pm
I'm using an 8 channel Gigaport eX with installed ASIO drivers (Windows 11). I'm looking for the best way with Purebasic to select the audio output (there are 4 stereo to select from) AND set the pan or volume for left and right separately WHILE playing the wav file.
I've looked at the bass library and there is a lot there to absorb for my little brain and... I don't know if that would be the best solution.
I've been able to select the output and play a raw pcm file with sample code from github. But I really need to do it with a wav (or mp3) file and also be able to set volume for left/right independently. If anyone can point me in the right direction that would be awesome.
I've looked at the bass library and there is a lot there to absorb for my little brain and... I don't know if that would be the best solution.
I've been able to select the output and play a raw pcm file with sample code from github. But I really need to do it with a wav (or mp3) file and also be able to set volume for left/right independently. If anyone can point me in the right direction that would be awesome.