Patent ID: 8438019

Claim:
An apparatus comprising: a processor; a memory including machine executable instructions, the memory and the machine executable instructions being configured to, in association with the processor, cause the apparatus to: receive frames of an audio signal in a frequency band; perform a first excitation for a speech like audio signal which is mostly speech signal; and perform a second excitation for a music like audio signal; wherein the apparatus is further caused to: divide the frequency band into at least a first and a second group of sub band audio signals, wherein each sub band audio signal has a narrower bandwidth than said frequency band, and said second group containing sub bands of higher frequencies than said first group; produce information indicative of normalised signal energies of a current frame of the audio signal at least at one sub band; select one excitation among said at least first excitation and said second excitation, the selection based on a defined relation between normalised signal energy of said first group of sub bands and normalised signal energy of said second group of sub bands for the frames of the audio signal and to use said relation in the selection of the excitation; and perform the selected excitation for a frame of the audio signal.