> > i don't think this has anything to do with barycentric coordinates, but i > thought it might deal with your mixing gain issue: > > http://music.columbia.edu/pipermail/music-dsp/2010-December/069419.html > > for me, the issue was "splicing" more than "mixing", but i think this issue > of the linear values adding to 1 vs. the squares of the linear values adding > to 1 is addressed. take a look at the whole thread in the archive and tell > us if this speaks to your issue at all. splicing is the same as > 1-dimensional mixing as you move your crossfade fader from one end to the > other. > > one thing you probably want to do is align your different sounds so that the > have the best cross-correlation. you should always be able to avoid a > negative crosscorrelation. if one sound is pure white noise, the > cross-correlation will be pretty much zero and that would be the fully > uncorrelated case.
I have two applications in mind. One is the control to choose the waveform in a subtractive synthesizer, (square, saw, triangle and pulse at the corners). I've been using a 4-way linear crossfade in this case. The other application is in a little app that allows a user to drop in four of their own sounds and mix between them, so I have no control over the sounds or correlation, but it seems best to assume they won't be correlated. As I understand the thread that you linked to, I would need some control or knowledge in order to make use of the "in-between" cases. Aengus. ____________________ www.am-process.org -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp