I'm pretty new to pure data and I'm trying to write a patch that will loop a recorded sound but it has a little bump or click everytime it restarts. I've been trying to set it up so that I run two loops simultaneously, crossfading between them so that the clicks happen when the one clicking is at zero volume, if that makes sense. But I can't figure out the cross-fading part. I've read that polygate~ does crossfading, but I can't figure out how to use it. Can anyone help me? I've only been at this pure data thing for about a week, so I hope you have some patience.
-
Crossfade with polygate
-
Hi,
Try using a [vline~] for volume ramps.
[tabread~ $0-sample]
|
| [0, 1 1000 0(
| |
| [vline~]
| |
[*~]
|
[dac~]Although it might be easier to make sure the sample loops perfectly in another piece of software first.
-
Also, is it important that the file loops exactly to the end? It wouldn't be possible with just crossfading as you need some sound material to fade up/down with (even if you had duplicate files playing).
You'll have to fade down before the file ends and fade up after it has started. Depending on the material that might be an issue.
The only way I've got perfect loops is manually edit it in Logic or Pro Tools.