| CPC H04R 3/12 (2013.01) [H04R 3/04 (2013.01); H04R 2420/07 (2013.01); H04R 2430/01 (2013.01)] | 20 Claims |

|
1. A method comprising:
receiving, by an audio device, audio data comprises a sequence of audio data blocks, wherein the sequence of audio data blocks comprises at least one gap;
buffering in a repeat buffer, by the audio device, each audio data block in order according to the sequence of audio data blocks;
accessing, in the repeat buffer, by the audio device upon detecting the at least one gap, a previous audio data block preceding the at least one gap;
determining, by the audio device, a frequency index indicative of a frequency content of the previous audio data block based at least in part on at least one energy measurement of the previous audio data block;
determining, based on the frequency index, by the audio device, a maximum number of allowed repeats of the previous audio block based at least in part on the frequency index and an inverse correlation to eight different maximum number of repeats settings divided on an octave basis; and
repeatedly performing, by the audio device, a gap fill process for the at least one gap in the sequence of audio data blocks with the previous audio block until at least one of:
the gap is filled, or
the maximum number of allowed repeats is achieved.
|