Volume and Audio

Mainah's icon

So It seems as though there must be an easy solution to this but unfortunately I am not very familiar with this program yet. I am trying to construct a patch that allows me to play several different audio tracks at the same time. They are in MP3 format and I have already set up the Jit.qt.movie object to play them. My problem is that when I open a music file, using the read message I have hooked up to it, it automatically starts playing it. I do not want this since I want all the tracks to start at the same time. Is there a way to make it so that when you open it is does not play the track? my second question is I want to be able to control the volume of all of these tracks via a master slider. Is this possible. Any help would be GREATLY appreciated. Thank you

Ive attatched the max patch so you can have a better idea of where i am at.

Tim Lloyd's icon

For playing back audio, it is advisable to load each sound into a buffer~ object and then use groove~ or play~ to play them back all at the same time.

Just check out their help files and you'll be able to set the patch up again pretty fast.

I'm not sure if you need to use quicktime, but it seems like a more long-winded approach.

For a master slider all you need to do is divide the output of a slider object by 127. (or set it's range to 0. to 1. in the inspector) and connect it to the right input of the *~ objects.

If you want to remove the clicking ^^^^ (try it), connect the output of the slider to a [sig~] and then into a [onepole~ 10] before the [*~] objects. Or check out line, line~, slide, slide~, rampsmooth~ etc...