Converted to package, Added threshold listening
Listen based on loudness of signal instead of time