[PD] Looping samples with tabread4~

Luigi Rensinghoff luigi.rensinghoff at freenet.de
Wed May 16 23:16:49 CEST 2007

Have a look at s-bitcrusher


just as an inspiration for a GUI maybe, its not exactly what you  
want, but its worth a look


Am 16.05.2007 um 23:08 schrieb padawan12 at obiwannabe.co.uk:

> You're on exactly the right track and thinking all the right things.
> An important value to grab is the length of the sample (in samples)
> which you can get from [soundfiler]. Multiply your [phasor~] by the
> magnitude of the loop and add it to an offset in samples and that  
> should
> be the table index you need.
> (please excuse awful html formatting , using webmailer )
> andy
> Hi!
> Maybe I haven’t looked hard enough but I just haven’t been able to  
> find any examples on building a sample playback engine  that will  
> allow for sample-start, loop-start and loop-end positions to be  
> set. The question is what would be the easiest way to achieve this.
> I have been thinking about ways to achieve the sample clock driver  
> but since I’m new to PD perhaps my thinking is too complex.
> My ideas have been:
> Should I try generating the sample clock driver using two phasor~  
> objects where one phasor~ handles sample-start ‘til loop-end and  
> let the other one (loop-start ‘til loop-end) kick in once the first  
> one has completed it’s first and single run.
> Perhaps using a vline~ for the first part instead of a phasor~
> Simply using one phasor~ object and offsetting the start value of  
> it’s second cycle to the loop-start position
> Simply using a vline~ object and “loop it” with a different start  
> position the second time onwards.
> I suppose I would have to use the samphold~ object to make the  
> shift between phasor~ or vline~ or just to offset the start  
> position of a phasors~ second cycle.
> Any ideas or examples on how to best achieve this would be more  
> than welcome.
> /Mikael
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070516/8194021d/attachment.htm>

More information about the Pd-list mailing list