record loops based on threshold

newtfish's icon

Hi,

Im trying to record a loop and sync it to tempo based on user input.

At the moment im detecting when the volume goes over a certain threshold and then triggering to record a loop in sync once the threshold is exceeded. Is this the best way of doing it?

The problem is if the background noise exceeds this threshold, the loop will start recording. Is there a better way of ignoring background noise? Is using a threshold possibly not a good way? Maybe user input to trigger loop recording would be better? (im just worried then about keeping it in sync)