[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Convolution - impulse response



Hi,

On Wednesday 24 October 2007 22:42:48 Paolo Olocco wrote:
> i try it but buffer play anyway, i have no convolution with other file,
> because any change on the other parameters have no effect.

You seem to mix client and server things in the SynthDef, see the Help file 
ClientVsServer
for an explanation of this.

check
PlayBuf
to see how you can play sound from a Buffer.

sincerely,
Marije


>
>
> this is my code:
>
> b = Buffer.read(s,"sounds/a11wlk01.wav");
> b.numFrames.postln;
>
> (
> 	var b1;
> 	b1 = Buffer.read(s,"sounds/IR.wav");
> 	b1.numFrames.postln;
> 	{ var input, kernel;
>
> 	Out.ar(0,
> 		Convolution2.ar(
> 			b.play,
> 			b1.bufnum,
> 			0.5,
> 			16384,//512,
> 			0.5));
> 	 }.play;
>
> )
>
> What's the problem?
> Paolo
>
> nescivi wrote:
> > On Wednesday 24 October 2007 20:42:39 Paolo Olocco wrote:
> >> Hi,
> >> I have a little problem, maybe trivial.
> >> i would create a system of convolution for an audio file with another
> >> audio
> >> file, an Impulse response of my bathroom for example, for a sort of
> >> auralization.
> >>
> >> I use convolution2 but the in parameters, the first, is the processing
> >> target. How can say to it that in is my buffer?
> >
> > You can play the buffer, and use it as an input to Convolution2.
> >
> > sincerely,
> > Marije
> > _______________________________________________
> > sc-users mailing list
> > sc-users@xxxxxxxxxxxxxxx
> > http://www.create.ucsb.edu/mailman/listinfo/sc-users