Hi John, I made an object to do just that. zeroxpos~ Have a look at the help file - it finds the 1st, 2nd or 3rd etc zero crossing within a block of audio. It's quite tricky to remove discontinuities though, and even when you start a chunk on a zero-crossing point it does not guarantee there won't be a click. Often there is anyway (because the signal goes from no activity to lots instantaneously).
A a very short <5ms fade as Tim suggests might be better - but try it anyway. Best, Ed --- On Tue, 4/8/09, john canning <johnnyboy7...@hotmail.co.uk> wrote: > From: john canning <johnnyboy7...@hotmail.co.uk> > Subject: [PD] Finding zero crossing > To: "Pure Data" <pd-list@iem.at> > Date: Tuesday, 4 August, 2009, 4:29 PM > > > > #yiv1578664307 .hmmessage P > { > margin:0px;padding:0px;} > #yiv1578664307 { > font-size:10pt;font-family:Verdana;} > > > > Hi Folks, > > I have built a loop cutter that lets you rearrange a loop > using radio buttons. The main playback object is a phasor~. > Each radio button sends a number corresponding to a specific > 16th to the phasor~ which then jumps to the correct part of > the loop. The main trouble I'm having is audio > discontinuities as I have no way of shifting the cuts to > land on zero crossings. Has anyone any idea how to fix this, > either automatically or manually? > > Cheers, > John > > Windows Live Messenger: Thanks for 10 great > years-enjoy free winks and emoticons. Get > Them Now > > -----Inline Attachment Follows----- > > _______________________________________________ > Pd-list@iem.at > mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list