Recording in buffer

MBM's icon

Hello to everybody. Well, I have actually two questions about the patch that I copy below:
- If I record from a microphone into a buffer, when I play with groove this buffer, sounds a "click" just at the end. How could I avoid this?
- Why when you record into a buffer, it doesn´t bang in its right outlet?

Sorry for my pretty bad english :-( This is the patch:

Max Patch
Copy patch and select New From Clipboard in Max.

Thanks and regards.

brendan mccloskey's icon

The click may come from your input source, or from sample discontinuities in the [groove~] loop points; send the message [loopinterp 1] to [groove~] left inlet, although the results may vary depending on the content of the [buffer~].

Another quick solution is to do this:

insert a [*~] object between [groove~] and [ezdac~]; then insert a [trapezoid~ 0.2 0.8] between this [*~] and the [groove~] RIGHT outlet;

Look at the helpfile for the [line~] object too.

Brendan