Write data to files every second
Record noise level in decibels instead of peak amplitude