Questions about infinite looping audio clip and amplification(volume) transformation

sonicfusiondesignlab's icon

I am new of MaxMSP. The system is designed to detect the volume of the soundscape and adjust the volume of a playing audio clip. I stuck in the conditional trigger function. Is there any suggestion how to create an infinite loop audio clip? And how to transform the volume of soundscape into the signal for the infinite loop audio clip?

Looking for answers. Thank you :)

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

Holland Hopson's icon

For starters, it looks like the output of meter~ is attached directly to the bang and to the conditional. This means the bang will be activated regardless of the volume of the meter~. FYI: pasting a patch using Edit > Copy Compressed will help forum users debug it. Hope this helps.

sonicfusiondesignlab's icon

Cool, thank you for your suggestion.

sonicfusiondesignlab's icon


There is no reaction in the patch. I'm wondering why it happened. In addition, is there any infinite loop function ? Thanks!

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

Holland Hopson's icon

Here's an edited version of your patch. The help file for sfplay~ explains how to enable looping. I've added 2 approaches for controlling volume with an input signal: envelope following and an ADSR envelope. I recommend you spend some time with Max tutorials 2, 3, and 5 to learn more about message flow. Good luck

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