Detection or processing of peak/envelop signals