In noise cancellation, an important sample that needs to be obtained is the reference or "noise" sample. This sample represents the background noise that is to be canceled out from the desired audio signal.The reference sample should ideally capture only the noise component without any desired audio signal. This reference sample is typically obtained by placing a microphone in close proximity to the noise source or in an environment where only the background noise is present.