Forums > MaxMSP

instant bang from audio out.

November 18, 2013 | 2:57 pm

Hi there.

How can i receive an instant bang or value as soon as a signal comes out of a cycle~ or (*~ 0.2) object for example?

I tried meter~ to a .float and a bang; but meter samples every 10ms

I think peakamp~ goes down to 1 ms= 44.1 samples (at 44.1khz)

But can I get a value from the first sample to exit an audio out?


November 18, 2013 | 6:59 pm

In short, no.

edge~, or something like it, might be your best bet, but the max scheduler is simply not sample-accurate. If you need that kind of temporal accuracy then you should stay in the signal domain.

November 19, 2013 | 1:20 am

Thanks mzed : )

November 19, 2013 | 1:21 am

Thanks mzed, I shall check out edge~ : )

November 19, 2013 | 7:20 am

Are you looking for the presence of signal or are you looking for a value or range of values?

If it’s the former, use adstatus to see if audio processing is on.

November 19, 2013 | 8:17 am


Thanks it was just to see when a signal came out of a port asap. I shall be trying out edge~ later tonight.

side note:
I just noticed, I sent two messages above, this forum is slow when sending messages.
no confirmation for ages after hitting send, my Internet is fast and my pc. unusual this has been going on for so long. not just for me but others too.

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

Forums > MaxMSP