Change amplitude, duration and frequency of audio file with values from sigmund

Dominic Co's icon

Hi all,

I did some research, but couldnt find an answer I could understand.

I'm using sigmund external patch to identify the pitch and amplitude of a guitar string when plucked. Then, depending on the pitch detected using the split element, it would play a audio file modified by the amplitude, pitch, and length of the played note linearly.

Attached is the program thus far, but the problem is when a pitch is detected, the audio file plays for the duration of its length rather than the length of the audio signal from the plucked guitar string and it acts and sounds more like a button rather than a smooth transition. Its pitch and amplitude are pretty weird as well.

Any suggestions would be super appreciated cause I'm a total newbie when it comes to Max MSP and music in general!

Max Patch
Copy patch and select New From Clipboard in Max.