Patent Document ID: 7634413
Application ID: 11067080
Patent Status: 1

Claim One:
1. A volatile or non-volatile machine-readable storage medium storing one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to perform: in a single pass of an audio stream that comprises a plurality of blocks of audio data, performing, for at least one block of audio data of the plurality of blocks of audio data, the steps of: computing a first bitrate based on a noise-to-masking ratio target for the block of audio data; determining whether the first bitrate is within a specified range; if the first bitrate is not within the specified range, then computing a target bitrate; computing, based on said target bitrate, a final bitrate at which the block of audio data is encoded; wherein the final bitrate is within the specified range; and outputting the block of audio data encoded using the final bitrate; if the first bitrate is within the specified range, then outputting the block of audio data encoded using the first bitrate.