instant bang from audio out.

Nov 18, 2013 at 2:57pm

instant bang from audio out.

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?

thanks

#271622
Nov 18, 2013 at 6:59pm

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.

#271635
Nov 19, 2013 at 1:20am

Thanks mzed : )

#271640
Nov 19, 2013 at 1:21am

Thanks mzed, I shall check out edge~ : )

#271641
Nov 19, 2013 at 7:20am

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.

#271667
Nov 19, 2013 at 8:17am

hi,

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.

#271684

You must be logged in to reply to this topic.