Re: How to find silence in a buffer~?

Forums > MaxMSP > How to find silence in a buffer~?
Aug 21 2011 | 10:28 pm

I just had a go but am a bit tired :p … I’m not sure if this will always work even if the buffer starts and/or ends with silence … it probably does but you should test it :)

If it does work properly I can explain how it works if you need me to. Also, you could replace the [== 0.] part with whatever you need to. For example, to find any sample higher than a given dBFS value, put {[abs 0.] into [> 0.]} and then set the "threshold" of [> 0. ] with [float] into [dbtoa ] …

I think there are externals around to do this though. Alex Harker’s [descriptors~ ] would probably work.

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required