Noise Cancelling with Max. Is 1ms delay fast enough?
Hiya, is a 1ms delay fast enough to do noise cancelling with max? E.g. by sticking some mics to the sides of your headphones then having the signal going through an [*~ -1] object inside max then to the headphones.
Thanks,
Rob
be aware that [*~ -1] won't reduce your signal, just invert it.
I guess you'll need some kind of envelope follower to achieve what you want, and scale the signal with it (from 1 to 0)
Yeah,I know it's not quite as simple as just inverting it, it will have to be scaled as well, but my question really was whether 1ms is fast enough, because in actual noise-cancelling headphones, the inverting is done via a small circuit so I guess the latency would be smaller than 1ms.
Brik wrote on Wed, 18 March 2009 18:37Hiya, is a 1ms delay fast enough to do noise cancelling with max? E.g. by sticking some mics to the sides of your headphones then having the signal going through an [*~ -1] object inside max then to the headphones.
Thanks,
Rob
First, no that's not enough. Second, there's no way you're going to get latency that low with Max. Audio interfaces and vector sizes add an appreciable amount of latency. Long answer:
mz
actually you are really looking from the wrong side at it.
the way how to find out how long the latency of you AD DA is,
is using 2 transducers (a stereo speaker setup, or your experiment with the cancellation).
so if you need to find out how they delay has to be for your
experiment to work, just try it out and not calculate.
the delay required for maxmsp alone can be calculated from
the vectorsize, buffersize, and samplingfrequency, but as
soon as you use ASIO or CoreAudio you can just look it up
in your driver control sofwtare.