View Single Post
Old 29 September 2013, 20:23   #11
Mrs Beanbag
Glastonbridge Software
 
Mrs Beanbag's Avatar
 
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,243
Quote:
Originally Posted by robinsonb5 View Post
If your aim is games, by the way, consider devoting three channels to audio, and mixing multiple virtual channels of sound effects into a single fourth channel - sound effects can be resampled in advance, if necessary, since they're generally only required to play at one pitch.
That is a good idea, I'm interested in music but this could be done on one channel for a drum track.

After looking at that source code for a while, it looks like they don't bother with volume control, and it appears to be fixed-point arithmetic for the resampling, nearest neighbour.

I tried writing a resampler once (although with no intention of speed), I had to add interpolation for it to sound any good, nearest neighbour sounded dreadful. But Octamed et al don't sound bad.
Mrs Beanbag is offline  
 
Page generated in 0.06551 seconds with 11 queries