Es geschah am Monday 11 October 2010 als Andreas Persson schrieb: > > It seems this routing problem is just about audio channel 1. Is that > > delay effect mono? ATM the LadspaEffect class creates as many audio > > channels as the LADSPA effect tells. > > Yes, it's mono. And the error disappeared when I use a stereo effect > instead. > > It would probably be nice to have mono effects supported too, but I'm > not sure if the stereo signal should be mixed before sent to the mono > effect or if the effect should be automatically doubled.
I would say almost every effect in practice is a so called "linear time-invariant" (LTI) system. So simply mixing the signals before applying the effect should be sufficient. Assuming that there might be an effect which is not LTI, and therefore creating another separate effect instance is thus a waste of resources IMO. So I would just create "mix" AudioChannels in LadspaEffect::InitEffect() for all audio channels that are not provided by the effect itself. CU Christian ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel