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

Re: [sc-users] recording a Pbind into a Buffer



Hiho,

On Monday 01 December 2008 07:27:31 Dan Stowell wrote:
> I have a Pbind which generates 8 seconds of sound. I'd like to play it
> and record it into an 8-second-long Buffer at the same time, but I'm
> not sure about the neatest way to do this without losing some of the
> beginning/end. How would you do it?
>
> This seems like it loses a bit of the beginning...
>
> s.bind{
> 	Synth(\mything_rec, [\recbuf: ~recbuf], addAction: \addToTail);
> 	p.play; // the pbind
> }
>
> ...and without the "s.bind" it loses some of the end!
>
> I also tried things like
>
>   Ppar([p, Pbind(\instrument, \mything_rec, \recbuf, ~recbuf,
> \addAction: \addToTail) ]).play;
>   Ppar([p, Pfunc{ Synth(\mything_rec, [\recbuf: ~recbuf], addAction:
> \addToTail) }]).play;
>
> but I don't seem to be finding the right way of doing it (and I'm not
> sure I can ensure the recording synth comes last).

put the pattern synths and  the record synth in different groups, which you 
organise in the right order beforehand should do the trick with the recording 
synth coming last for sure.

Does pattern play not also have a standard latency, of probably around 0.1 
seconds?

You could also try to instantiate the recording synth first, but turn on 
recording later, as the pattern starts to play (RecordBuf has a switch for 
that).

sincerely,
Marije

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/