Control the trigger signal for a playlist
Hello
I’m trying to create a patch in Max that is able to play pre-recorded sounds from a playlist, being triggered by an input level (microphone) that is controlled through a threshold value.
My problem is to understand how to stop the information from the signal (mic input) to constantly activate the player, preventing the sound (in this case music) to play to end and only then being able to be triggered again my the input signal.
I believe its a question of priorities. The first priority is the trigger from the mic input, then when the sound/music is being played, this becomes the priority to any bang from the mic input, until it stops and reads again the trigger from the mic input.
Was I clear? Could someone take some time to help me. :)
(I attach the patch I created already)
Many many thanks.
Best,
Luís
Can anyone help me? :)
I still couldn't solve the problem.
Best
Yeah, it's kind of odd how you're going from signal to float to signal to float in your patch.
check out these great snippets made by Rodrigo. They're very useful:
making it simpler: