Re: sndio play multiple wav files ?

Paul Wisehart <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
On Fri, Jun 05, 2026 at 11:46:19PM +0200, Jan Stary wrote:
> 
> If they use the same sample encoding and have the same number of channels
> and use the same sample rate, then make one output sample the average
> of the input samples, obviously. Doing the arithmetics might overflow
> though, so you might want to convert to floats and do the arithmetics
> there and then convert back to the sample encoding you want to play.
> 
> And if they do not use the same sample rate, you have resampling to do;
> and if they do not use the same sample encoding, you need to convert;
> and if they have different number of channels, you need to remix somehow.
> 
> > Any pointers or places to look?
> 
> Look what aucat does with more than one -i
> 

Thanks, this is super helpful :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.