Forums > MaxMSP

Volume control for DSP…

February 2, 2009 | 11:11 pm

I have a patch that uses multiple windows for showing quicktime movies. As you probably already know, the movie audio does not go through max directly, but heads on its own right out the coreAudio driver.

To reduce the amount of equipment I use with my setup, I’d like to control the coreAudio drive (internal in this case) volume level with MIDI. Is there anyway to do this inside of Max or has anyone found another method for doing such a thing?

I have implemented some general level control with the quicktime settings for each movie playing, but, I’d rather not leave the gain full up and just bring the movie volume down, this leaves a lot of noise in the air whenever there are silences.

In any case, thanks for the responses in advance :)

Rick


February 2, 2009 | 11:28 pm

You can use [spigot~] to "grab" audio from [jit.qt.movie] and then you are free to do what you want with it in MSP.

lh


February 3, 2009 | 2:23 am

I’ve been down that path before and it does not work fast enough, it’s a problem with the way quicktime changed a few versions ago and the new api additions have not been added to jitter yet (you can siphon off the audio again from the API, so hopefully in the next version of jitter it will be there).

Given I work with 2500 motion jpeg-b files that are an average of 500 gig a piece, I did try preprocessing so I could save the cache file and no matter what I do, using spigot causes really bad drops in the video.

I’m just trying to find a way to control the coreaudio driver which doesn’t look possible.


February 3, 2009 | 8:43 am

If I’m not mistaken, there used to be an object to control the audio level of the system, but that could have been in OS9. I remember eg an object that could dim the screen, and there were a few of such objects that would interface to system stuff. Give it a try at max objects dot com.

_
johan


February 3, 2009 | 9:12 am

depends a bit if you are on tiger or leopard.
1. install soundflower.
2. for tiger:
in audio/midi setup (applications/utilities) select soundflower 2ch as
soundoutput.
in max select soundflower as the input device. then, adc~ ->
gaincontrol -> dac~
3. for leopard:
apple changed the way, the internal sound device is handled.
so first, in audio-midi setup create an aggregated device, which binds
together built- in input and built-in output. give it some meaningful
name.
then in audio/midi setup select soundflower 2ch as soundoutput.
in max select yiour aggregated device as driver and soundflower as the
input device. then, adc~ -> gaincontrol -> dac~

hth
hans

http://www.hans-w-koch.net

Am 03.02.2009 um 00:11 schrieb Rick Burnett:

>
> I have a patch that uses multiple windows for showing quicktime
> movies. As you probably already know, the movie audio does not go
> through max directly, but heads on its own right out the coreAudio
> driver.
>
> To reduce the amount of equipment I use with my setup, I’d like to
> control the coreAudio drive (internal in this case) volume level
> with MIDI. Is there anyway to do this inside of Max or has anyone
> found another method for doing such a thing?
>
> I have implemented some general level control with the quicktime
> settings for each movie playing, but, I’d rather not leave the gain
> full up and just bring the movie volume down, this leaves a lot of
> noise in the air whenever there are silences.
>
> In any case, thanks for the responses in advance :)
>
> Rick


February 3, 2009 | 2:26 pm

Nice. Never thought about this one.
J-F.

> depends a bit if you are on tiger or leopard.
> 1. install soundflower.
> 2. for tiger:
> in audio/midi setup (applications/utilities) select soundflower 2ch as
> soundoutput.
> in max select soundflower as the input device. then, adc~ ->
> gaincontrol -> dac~
> 3. for leopard:
> apple changed the way, the internal sound device is handled.
> so first, in audio-midi setup create an aggregated device, which binds
> together built- in input and built-in output. give it some meaningful
> name.
> then in audio/midi setup select soundflower 2ch as soundoutput.
> in max select yiour aggregated device as driver and soundflower as the
> input device. then, adc~ -> gaincontrol -> dac~
>
> hth
> hans
>
> http://www.hans-w-koch.net
>


Viewing 6 posts - 1 through 6 (of 6 total)