Help! new to max msp, how to control a qt.mov audio with keyboard press

I am very new to this! I have currently got a patch with a working jit.qt.movie on a loop. I need to be able to turn the audio of the jit.qt.movie on with a keyboard button. The audio should be off until the key is pressed and only stay on for a minute….

Look in the jit.qt.movie help file, and you’ll see an attribute called "vol" which controls track volume. You want to set it to 0 for silence (with a message like "vol 0") and 1 for full volume. You could trigger those messages with the output of the key object. The delay object might get you your timing.