Have a look at s-bitcrusher
http://mccormick.cx/projects/s-abstractions/page/abstractions
just as an inspiration for a GUI maybe, its not exactly what you
want, but its worth a look
Luigi
Am 16.05.2007 um 23:08 schrieb padawan12@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
shouldbe 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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list