Abstract:
Methods, devices and systems for signal processing an audio signal in a hearing device to determine whether the signal is tonal. The signal is converted at each of a series of successive time windows into samples in the frequency domain across multiple subbands. For at least one of the subbands, a normalized cross-correlation is calculated between two different samples in the same subband. A metric resulting from the calculation is compared to a predetermined threshold to provide a measure of whether the signal is tonal. The signal is considered to be tonal in the frequency of the subband when the metric is greater than or equal to the predetermined threshold, and the signal is considered to be not tonal in the frequency of the subband when the metric is less than the predetermined threshold.
Abstract:
Accessing a circular buffer in memory from a processor may be performed with the aid of precomputed values stored in a pointer descriptor field of a processor storage element, such as a register. The pointer descriptor may store a precomputed value for calculating a memory address in the circular buffer, which may include two values, in which the two values are based, at least in part, on the size of the circular buffer, but neither be the size of the circular buffer. The first value may be used to derive a starting memory location for a circular buffer. The second value may be used in combination with the first value to calculate an end memory location. The start and end locations or addresses, along with the precomputed stored values, are then used to calculate the next address based on the current address of a circular buffer in an efficient manner.