I need some input on a patch I am making. The patch is posted below - it is a kind of basic sampler. An index shuffles around inside a soundfile and puts out grains / blocks of sound. The problem is the envelope - I took the envelope from a Gen help file and it works with a kind of data smoothing algorithm (with the history module). It seems to work ok but there are a few clicks...also when the speed of the metro driving the trigger is increased the envelope doesn't always reach zero (some kind of feedback pushes it upwards). The questions I have: 1) should I forget this kind of envelope. It is coolish but perhaps it won't function well in this context (suggestions for another type are welcome). 2) should I put this inside Poly~? This would solve some of the problems of overlapping etc. but I don't think that is what is at issue here....Any help much appreciated!