help with fadeout

Grubby's icon

Hey I've been trying to solve what would seem to be a simple problem for the last couple of days and I just can't seem to gett it to work.

basically I'm building a patch which involves an automatic fadeout of live audio. So i have a 2min counter and after that 2mins a bang is sent out, i want this bang to turn down the audio via the 'signal level fader' from wherever it may be to 0 in, say, 1second. So i know i need a line object and a trigger, etc. but it seems a pain to make it fade to 0 from any number in the 0-157 range of the fader. It needs to be able to fade out to 0 from whatever range it is at, as when the piece is performed live the levels will be different from place to place.

It seemed simple enough in thought, thinking that if i took the number coming out of the fader (saying what number it was at in the 0-157 range) and put this into a line object which also had a 0 sent into it and a 1000ms fade time, but it seems max won't allow the fader to have information going out of it which is then sent back in.........confused?

well if any one cares to help I would be greatful (the piece is due in tmw at 4:00pm so the sooner the better!

Cheers

Nick

nathan wolek's icon

On Mar 6, 2007, at 1:07 PM, Nick wrote:
> but it seems max won't allow the fader to have information going
> out of it which is then sent back in.........confused?

check out the [int] object. send manual fader updates to the right
inlet. bang the left inlet when you need the number for your [line].

-------------------
Nathan Wolek, PhD --- nwolek@stetson.edu
Assistant Professor of Music Technology
Stetson University - DeLand, FL
http://www.nathanwolek.com

Chris Muir's icon

At 11:07 AM -0700 3/6/07, Nick wrote:
>It seemed simple enough in thought, thinking that if i took the number coming out of the fader (saying what number it was at in the 0-157 range) and put this into a line object which also had a 0 sent into it and a 1000ms fade time, but it seems max won't allow the fader to have information going out of it which is then sent back in.........confused?

Something like this?:

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

-C

--
Chris Muir | "There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue." - Brian Eno

lawrence casserley's icon

The trick is to feed the output of the fader through line with a very
short fade time, eg send the fader through a message box containing
$1 10 to line and the output of line to control your level - then if
you bang the message 0 1000 into your line (not through the $1 10
box) it will ramp to zero from wherever it is in one second.

Best

L

On 6 Mar 2007, at 18:07, Nick wrote:

> It seemed simple enough in thought, thinking that if i took the
> number coming out of the fader (saying what number it was at in the
> 0-157 range) and put this into a line object which also had a 0
> sent into it and a 1000ms fade time, but it seems max won't allow
> the fader to have information going out of it which is then sent
> back in.........confused?
>

Lawrence Casserley - lawrence@lcasserley.co.uk
Lawrence Electronic Operations - www.lcasserley.co.uk
Colourscape Music Festivals - www.colourscape.org.uk