[CM] LADSPA implementation
e deleflie
edeleflie@gmail.com
Wed, 20 Jun 2007 22:13:54 +1000
is it possible that this line only re-samples the first channel in the sound?
> (src-sound (/ (srate insound) 44100) 1.0 insound)
I seem to be getting correct results by doing:
(src-sound (/ (srate insound) 44100) 1.0 insound 0)
(src-sound (/ (srate insound) 44100) 1.0 insound 1)
(src-sound (/ (srate insound) 44100) 1.0 insound 2)
(src-sound (/ (srate insound) 44100) 1.0 insound 3)
Etienne
>
> I'll keep debugging this .... but if anyone can see if my usage of
> src-sound is incorrect (to resample a 4 ch file) please let me know
> ...
>
> Etienne
>
> On 6/20/07, Bill Schottstaedt <bil@ccrma.stanford.edu> wrote:
> > > However, the content of the insound is in there with it ...
> >
> > This must be deliberate on the part of the plugin. Snd doesn't add
> > anywhere -- it sets the input buffer values from the reader, then
> > calls the plugin, then writes whatever the plugin returns, again without
> > adding anything. I don't know which ambisonics plugin you're
> > using (or perhaps they're all the same one under 1000 names),
> > but the "AMB" plugins appear to me to be adding the input back
> > into the output (I just glanced at the code, and have never paid
> > much attention to this stuff, so maybe I'm confused) -- ask the
> > plugin developer what is going on.
> >
> >
>