Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Peak detection & Envelope follower

  1. #1
    Junior Member
    Join Date
    Feb 2021

    Peak detection & Envelope follower

    Hi !

    I try to detect the peaks and the time of the peaks for a bass whose amplitude is modulated by LFO's.

    I first tried with the peak object by sampling the input several times in a second.

    The result is it seems like I get the green values shown in the picture below. I think it is normal because they are actually the peaks of the sound.

    But I want to detect the peaks of the envelope (in red in the picture).

    Do I have to first apply an envelope follower to the signal then apply the peak object to the envelope rather than to the signal ?

    Also, I should mention that my goal is to detect the peaks for a bass modulated by an LFO modulated by another LFO modulated by another LFO... so I think it can't be as straightforward as if using only one sine modulator on the bass carrier like shown in the picture. This is why I think I need peak detector and envelope follower. Tell me .

    Click image for larger version. 

Name:	osc_mod.jpg 
Views:	3 
Size:	204.8 KB 
ID:	28622

  2. #2
    Senior Member
    Join Date
    May 2017
    The waveform looks like amplitude modulation, so I would try rectifying, low pass filtering, and then peak detection. I do not know if that would work or not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts