[PD] Strange bug in my patch

Caio Barros caio.barros at gmail.com
Fri Feb 26 03:58:33 CET 2010


Hi,
I'm working in this patch for a composition of mine but I keep getting a bug
and don't know what is wrong.
What my patch does is to load sound files and play them back at random
intervals of time. If you load enough samples, it can create a very dense
and granular sound texture, hence the name Texgen (texture generator). When
I load a sample I can control the minimum and maximum interval between
attacks, degree of tranposition (or pitch shift) and the density of the play
back wich is just how many times the same sample is loaded so it can be
played more times simultaneously.
The problem I'm having is that when I load a sample with density = 1 the
sound doesn't comes out and, that's the strange part, if a creat and object
like, say, a bang button and delete it, the sound magicaly pops out of the
loudspeakers.
I know this is a little inconvenient thig to ask, but can someone help me? I
don't know where else i could look for help.

I attached the patch in this e-mail, and it can be also downloaded here:
http://puredata.info/Members/caiobarros/texgen/
together with a sound for testing it. Just put everything in the same folder
and it should work exept for this bug.

Again sorry for any inconveniences, and thanks for the help.

Caio Barros
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100225/156ea12d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pshifter_puckette.pd
Type: application/octet-stream
Size: 2172 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100225/156ea12d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attackgenerator.pd
Type: application/octet-stream
Size: 4588 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100225/156ea12d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attackcreator.pd
Type: application/octet-stream
Size: 9184 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100225/156ea12d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ag_pitchshifter.pd
Type: application/octet-stream
Size: 675 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100225/156ea12d/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texgen.pd
Type: application/octet-stream
Size: 4707 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100225/156ea12d/attachment-0004.obj>


More information about the Pd-list mailing list