4 ms·
How is this possible? Doing ANC would require the sound to be played at the exact same microsecond as the target sound.
by mschuster91 13y ago
How is this possible? Doing ANC would require the sound to be played at the exact same microsecond as the target sound.
- mikeash 13y agoI would guess that the sounds are both enqueued, and then playback of both actually starts slightly later, perhaps when the audio hardware indicates that it's ready to start accepting data.
- rasz_pl 13y agoVERY low audio latency on iOS. Its not android
- colanderman 13y agoCloser to exact same millisecond. 44.1 kHz sampling rate + 64(ish)-sample buffer granularity = ~1 millisecond.
- chronial 13y agoEven that is an overly harsh requirement. While being close does not completely remove the sound but still does severly reduce its volume: http://www.wolframalpha.com/input/?i=sin%28x%29+-+sin%28x-0.2%29%2C+sin%28x%29+-+sin%28x-0.5%29%2C+sin%28x%29 http://www.wolframalpha.com/input/?i=sin%28x%29+-+sin%28x-0....
- colanderman 13y agoNo, not really. If you're off by a millisecond (the minimum, assuming 64-sample buffers and 64 kHz sampling rate), frequencies which are even multiples of 500 Hz will be nullified, those which are odd multiples of 500 Hz will be amplified, and the rest will fall somewhere between those extremes. (This is known as a "comb filter"; see [1] and [2].) Your examples demonstrate the behavior of such filtering only for frequencies much less than 500 Hz, which will indeed be attenuated. However, a camera "click" sound, being both brief and noisy, contains lots of high-frequency content which will be, on the whole, preserved. In fact, assuming the "click" sound can be approximated by white noise, its total energy will be doubled by such filtering! So yes, you do need to play the sounds within the same millisecond. [1] http://en.wikipedia.org/wiki/Comb_filter http://en.wikipedia.org/wiki/Comb_filter [2] http://en.wikipedia.org/wiki/File:Comb_filter_response_ff_neg.svg http://en.wikipedia.org/wiki/File:Comb_filter_response_ff_ne...