Systems, methods, and apparatus for multichannel signal amplitude balancing
Granted 27 Nov 2012 · 1 office action
Assignee: Qualcomm Technologies, Inc.
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Hyun Jin Park, Kwokleung Chan · Examiner: Susan McFadden · AU 2626 · TC 2600
Life of the application
9 dated eventsAbstract
A method for processing a multichannel audio signal may be configured to control the amplitude of one channel of the signal relative to another based on the levels of the two channels. One such example uses a bias factor, which is based on a standard orientation of an audio sensing device relative to a directional acoustic information source, for amplitude control of information segments of the signal.
Description
22 parts›CLAIM OF PRIORITY UNDER 35 U.S.C. §119 The…
CLAIM OF PRIORITY UNDER 35 U.S.C. §119
The present application for patent claims priority to Provisional Application No. 61/058,132 entitled “SYSTEM AND METHOD FOR AUTOMATIC GAIN MATCHING OF A PAIR OF MICROPHONES,” filed Jun. 2, 2008 and assigned to the assignee hereof.
Reference to Co-pending Applications for Patent
The present application for patent is related to the following co-pending U.S. patent applications:
U.S. patent application Ser. No. 12/197,924, entitled “SYSTEMS, METHODS, AND APPARATUS FOR SIGNAL SEPARATION,” filed Aug. 25, 2008 and assigned to the assignee hereof, and
U.S. patent application Ser. No. 12/334,246, entitled “SYSTEMS, METHODS, AND APPARATUS FOR MULTI-MICROPHONE BASED SPEECH ENHANCEMENT,” filed Dec. 12, 2008 and assigned to the assignee hereof.
›BACKGROUND
1. Field
This disclosure relates to balancing of an audio signal having two or more channels.
2. Background
Many activities that were previously performed in quiet office or home environments are being performed today in acoustically variable situations like a car, a street, or a café. Consequently, a substantial amount of voice communication is taking place using mobile devices (e.g., handsets and/or headsets) in environments where users are surrounded by other people, with the kind of noise content that is typically encountered where people tend to gather. Such noise tends to distract or annoy users in phone conversations. Moreover, many standard automated business transactions (e.g., account balance or stock quote checks) employ voice recognition based data inquiry, and the accuracy of these systems may be significantly impeded by interfering noise.
For applications in which communication occurs in noisy environments, it may be desirable to separate a desired speech signal from background noise. Noise may be defined as the combination of all signals interfering with or otherwise degrading the desired signal. Background noise may include numerous noise signals generated within the acoustic environment, such as background conversations of other people, as well as reflections and reverberation generated from each of the signals. Unless the desired speech signal is separated and isolated from the background noise, it may be difficult to make reliable and efficient use of it. In one particular example, a speech signal is generated in a noisy environment, and speech processing methods are used to separate the speech signal from the environmental noise. Such speech signal processing is important in many areas of everyday communication, since noise is almost always present in real-world conditions.
Noise encountered in a mobile environment may include a variety of different components, such as competing talkers, music, babble, street noise, and/or airport noise. As the signature of such noise is typically nonstationary and close to the user's own frequency signature, the noise may be hard to model using traditional single microphone or fixed beamforming type methods. Single microphone noise reduction techniques typically require significant parameter tuning to achieve optimal performance. For example, a suitable noise reference may not be directly available in such cases, and it may be necessary to derive a noise reference indirectly. Therefore multiple microphone based advanced signal processing may be desirable to support the use of mobile devices for voice communications in noisy environments.
›SUMMARY
A method of processing a multichannel audio signal according to a general configuration includes calculating a series of values of a level of a first channel of the audio signal over time and calculating a series of values of a level of a second channel of the audio signal over time. This method includes calculating a series of values of a gain factor over time, based on the series of values of a level of the first channel and the series of values of a level of the second channel, and controlling the amplitude of the second channel relative to the amplitude of the first channel over time according to the series of values of the gain factor. This method includes indicating that a segment of the audio signal is an information segment. In this method, calculating a series of values of a gain factor over time includes, for at least one of the series of values of the gain factor and in response to said indicating, calculating the gain factor value based on a corresponding value of the level of the first channel, a corresponding value of the level of the second channel, and a bias factor. In this method, the bias factor is based on a standard orientation of an audio sensing device relative to a directional information source. Execution of such a method within an audio sensing device, such as a communications device, is also disclosed herein. Apparatus that include means for performing such a method, and computer-readable media having executable instructions for such a method, are also disclosed herein.
An apparatus for processing a multichannel audio signal according to a general configuration includes means for calculating a series of values of a level of a first channel of the audio signal over time, and means for calculating a series of values of a level of a second channel of the audio signal over time. This apparatus includes means for calculating a series of values of a gain factor over time, based on the series of values of a level of the first channel and the series of values of a level of the second channel; and means for controlling the amplitude of the second channel relative to the amplitude of the first channel over time according to the series of values of the gain factor. This apparatus includes means for indicating that a segment of the audio signal is an information segment. In this apparatus, the means for calculating a series of values of a gain factor over time is configured to calculate at least one of the series of values of the gain factor, in response to the indication, based on a corresponding value of the level of the first channel, a corresponding value of the level of the second channel, and a bias factor. In this apparatus, the bias factor is based on a standard orientation of an audio sensing device relative to a directional information source. Implementations of this apparatus in which the means for calculating a series of values of a level of a first channel is a first level calculator, the means for calculating a series of values of a level of a second channel is a second level calculator, the means for calculating a series of values of a gain factor is a gain factor calculator, the means for controlling the amplitude of the second channel is an amplitude control element, and the means for indicating is a information segment indicator are also disclosed herein. Various implementations of an audio sensing device that includes a microphone array configured to produce the multichannel audio signal are also disclosed herein.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIGS. 1A to 1D show various views of a multi-microphone wireless headset D 100 .
FIGS. 2A to 2D show various views of a multi-microphone wireless headset D 200 .
FIG. 3A shows a cross-sectional view (along a central axis) of a multi-microphone communications handset D 300 .
FIG. 3B shows a cross-sectional view of an implementation D 310 of device D 300 .
FIG. 4A shows a diagram of a multi-microphone media player D 400 .
FIGS. 4B and 4C show diagrams of implementations D 410 and D 420 , respectively, of device D 400 .
FIG. 5A shows a diagram of a multi-microphone hands-free car kit D 500 .
FIG. 5B shows a diagram of a multi-microphone writing device D 600 .
FIG. 6A shows a block diagram of an implementation R 200 of array R 100 .
FIG. 6B shows a block diagram of an implementation R 210 of array R 200 .
FIG. 7A shows a cross-section of an example in which a microphone of array R 100 may be mounted within a device housing behind an acoustic port.
FIG. 7B shows a top view of an anechoic chamber arranged for a pre-delivery calibration operation.
FIG. 8 shows a diagram of headset D 100 mounted at a user's ear in a standard orientation relative to the user's mouth.
FIG. 9 shows a diagram of handset D 300 positioned in a standard orientation relative to the user's mouth.
FIG. 10A shows a flowchart of a method M 100 of processing a multichannel audio signal according to a general configuration.
FIG. 10B shows a flowchart of an implementation M 200 of method M 100 .
FIG. 11A shows a flowchart of an implementation T 410 of task T 400 .
FIG. 11B shows a flowchart of an implementation T 460 of task T 400 .
FIG. 12A shows a flowchart of an implementation T 420 of task T 410 .
FIG. 12B shows a flowchart of an implementation T 470 of task T 460 .
FIG. 13A shows a flowchart of an implementation T 430 of task T 420 .
FIG. 13B shows a flowchart of an implementation T 480 of task T 470 .
FIG. 14 shows an example of two bounds of a range of standard orientations relative to the user's mouth for headset D 100 .
FIG. 15 shows an example of two bounds of a range of standard orientations relative to the user's mouth for handset D 300 .
FIG. 16A shows a flowchart of an implementation M 300 of method M 100 .
FIG. 16B shows a flowchart of an implementation T 510 of task T 500 .
FIG. 17 shows an idealized visual depiction of approximate angles of arrival for various types of information and noise source activity.
FIG. 18A shows a flowchart for an implementation T 550 of task T 510 .
FIG. 18B shows a flowchart for an implementation T 560 of task T 510 .
FIG. 19 shows an idealized visual depiction of approximate angles of arrival for activity by three different information sources.
FIG. 20A shows a flowchart of an implementation M 400 of method M 100 .
FIG. 20B shows a flowchart of an example in which execution of task T 500 is conditional on the outcome of task T 400 .
FIG. 21A shows a flowchart of an example in which execution of task T 550 is conditional on the outcome of task T 400 .
FIG. 21B shows a flowchart of an example in which execution of task T 400 is conditional on the outcome of task T 500 .
FIG. 22A shows a flowchart of an implementation T 520 of task T 510 .
FIG. 22B shows a flowchart of an implementation T 530 of task T 510 .
FIG. 23A shows a flowchart of an implementation T 570 of task T 550 .
FIG. 23B shows a flowchart of an implementation T 580 of task T 550 .
FIG. 24A shows a block diagram of a device D 10 according to a general configuration.
FIG. 24B shows a block diagram of an implementation MF 110 of apparatus MF 100 .
FIG. 25 shows a block diagram of an implementation MF 200 of apparatus MF 110 .
FIG. 26 shows a block diagram of an implementation MF 300 of apparatus MF 110 .
FIG. 27 shows a block diagram of an implementation MF 400 of apparatus MF 110 .
FIG. 28A shows a block diagram of a device D 20 according to a general configuration.
FIG. 28B shows a block diagram of an implementation A 110 of apparatus A 100 .
FIG. 29 shows a block diagram of an implementation A 200 of apparatus A 110 .
FIG. 30 shows a block diagram of an implementation A 300 of apparatus A 110 .
FIG. 31 shows a block diagram of an implementation A 400 of apparatus A 110 .
FIG. 32 shows a block diagram of an implementation MF 310 of apparatus MF 300 .
FIG. 33 shows a block diagram of an implementation A 310 of apparatus A 300 .
FIG. 34 shows a block diagram of a communications device D 50 .
›DETAILED DESCRIPTION · 1 of 18
Unless expressly limited by its context, the term “signal” is used herein to indicate any of its ordinary meanings, including a state of a memory location (or set of memory locations) as expressed on a wire, bus, or other transmission medium. Unless expressly limited by its context, the term “generating” is used herein to indicate any of its ordinary meanings, such as creating, computing, or otherwise producing. Unless expressly limited by its context, the term “calculating” is used herein to indicate any of its ordinary meanings, such as computing, evaluating, smoothing, and/or selecting from a plurality of values. Unless expressly limited by its context, the term “obtaining” is used to indicate any of its ordinary meanings, such as calculating, deriving, receiving (e.g., from an external device), and/or retrieving (e.g., from an array of storage elements). Where the term “comprising” is used in the present description and claims, it does not exclude other elements or operations. The term “based on” (as in “A is based on B”) is used to indicate any of its ordinary meanings, including the cases (i) “based on at least” (e.g., “A is based on at least B”) and, if appropriate in the particular context, (ii) “equal to” (e.g., “A is equal to B”). Similarly, the term “in response to” is used to indicate any of its ordinary meanings, including “in response to at least.”
References to a “location” of a microphone of a multi-microphone audio sensing device indicate the location of the center of an acoustically sensitive face of the microphone, unless otherwise indicated by the context. The term “channel” is used at times to indicate a signal path and at other times to indicate a signal carried by such a path, according to the particular context. Unless otherwise indicated, the term “series” is used to indicate a sequence of two or more items. The term “logarithm” is used to indicate the base-ten logarithm, although extensions of such an operation to other bases are within the scope of this disclosure.
Unless indicated otherwise, any disclosure of an operation of an apparatus having a particular feature is also expressly intended to disclose a method having an analogous feature (and vice versa), and any disclosure of an operation of an apparatus according to a particular configuration is also expressly intended to disclose a method according to an analogous configuration (and vice versa). The term “configuration” may be used in reference to a method, apparatus, and/or system as indicated by its particular context. The terms “method,” “process,” “procedure,” and “technique” are used generically and interchangeably unless otherwise indicated by the particular context. The terms “apparatus” and “device” are also used generically and interchangeably unless otherwise indicated by the particular context. The terms “element” and “module” are typically used to indicate a portion of a greater configuration. Unless expressly limited by its context, the term “system” is used herein to indicate any of its ordinary meanings, including “a group of elements that interact to serve a common purpose.” Any incorporation by reference of a portion of a document shall also be understood to incorporate definitions of terms or variables that are referenced within the portion, where such definitions appear elsewhere in the document, as well as any figures referenced in the incorporated portion.
It may be desirable to produce a portable audio sensing device that has an array R 100 of two or more microphones configured to receive acoustic signals. For example, a hearing aid may be implemented to include such an array. Other examples of a portable audio sensing device that may be implemented to include such an array and used for audio recording and/or voice communications applications include a telephone handset (e.g., a cellular telephone handset); a wired or wireless headset (e.g., a Bluetooth headset); a handheld audio and/or video recorder; a personal media player configured to record audio and/or video content; a personal digital assistant (PDA) or other handheld computing device; and a notebook computer, laptop computer, or other portable computing device.
Each microphone of array R 100 may have a response that is omnidirectional, bidirectional, or unidirectional (e.g., cardioid). The various types of microphones that may be used in array R 100 include (without limitation) piezoelectric microphones, dynamic microphones, and electret microphones. In a device for portable voice communications, such as a handset or headset, the center-to-center spacing between adjacent microphones of array R 100 is typically in the range of from about 1.5 cm to about 4.5 cm, although a larger spacing (e.g., up to 10 or 15 cm) is also possible in a device such as a handset. In a hearing aid, the center-to-center spacing between adjacent microphones of array R 100 may be as little as about 4 or 5 mm. The microphones of array R 100 may be arranged along a line or, alternatively, such that their centers lie at the vertices of a two-dimensional (e.g., triangular) or three-dimensional shape.
FIGS. 1A to 1D show various views of a multi-microphone portable audio sensing device D 100 . Device D 100 is a wireless headset that includes a housing Z 10 which carries a two-microphone implementation of array R 100 and an earphone Z 20 that extends from the housing. Such a device may be configured to support half- or full-duplex telephony via communication with a telephone device such as a cellular telephone handset (e.g., using a version of the Bluetooth™ protocol as promulgated by the Bluetooth Special Interest Group, Inc., Bellevue, Wash.). In general, the housing of a headset may be rectangular or otherwise elongated as shown in FIGS. 1A , 1 B, and 1 D (e.g., shaped like a miniboom) or may be more rounded or even circular. The housing may also enclose a battery and a processor and/or other processing circuitry (e.g., a printed circuit board and components mounted thereon) and may include an electrical port (e.g., a mini-Universal Serial Bus (USB) or other port for battery charging) and user interface features such as one or more button switches and/or LEDs. Typically the length of the housing along its major axis is in the range of from one to three inches.
›DETAILED DESCRIPTION · 2 of 18
Typically each microphone of array R 100 is mounted within the device behind one or more small holes in the housing that serve as an acoustic port. FIGS. 1B to 1D show the locations of the acoustic port Z 40 for the primary microphone of the array of device D 100 and the acoustic port Z 50 for the secondary microphone of the array of device D 100 .
A headset may also include a securing device, such as ear hook Z 30 , which is typically detachable from the headset. An external ear hook may be reversible, for example, to allow the user to configure the headset for use on either ear. Alternatively, the earphone of a headset may be designed as an internal securing device (e.g., an earplug) which may include a removable earpiece to allow different users to use an earpiece of different size (e.g., diameter) for better fit to the outer portion of the particular user's ear canal.
FIGS. 2A to 2D show various views of a multi-microphone portable audio sensing device D 200 that is another example of a wireless headset. Device D 200 includes a rounded, elliptical housing Z 12 and an earphone Z 22 that may be configured as an earplug. FIGS. 2A to 2D also show the locations of the acoustic port Z 42 for the primary microphone and the acoustic port Z 52 for the secondary microphone of the array of device D 200 . It is possible that secondary microphone port Z 52 may be at least partially occluded (e.g., by a user interface button).
FIG. 3A shows a cross-sectional view (along a central axis) of a multi-microphone portable audio sensing device D 300 that is a communications handset. Device D 300 includes an implementation of array R 100 having a primary microphone MC 10 and a secondary microphone MC 20 . In this example, device D 300 also includes a primary loudspeaker SP 10 and a secondary loudspeaker SP 20 . Such a device may be configured to transmit and receive voice communications data wirelessly via one or more encoding and decoding schemes (also called “codecs”). Examples of such codecs include the Enhanced Variable Rate Codec, as described in the Third Generation Partnership Project 2 (3GPP2) document C.S0014-C, v1.0, entitled “Enhanced Variable Rate Codec, Speech Service Options 3, 68, and 70 for Wideband Spread Spectrum Digital Systems,” February 2007 (available online at www-dot-3gpp-dot-org); the Selectable Mode Vocoder speech codec, as described in the 3GPP2 document C.S0030-0, v3.0, entitled “Selectable Mode Vocoder (SMV) Service Option for Wideband Spread Spectrum Communication Systems,” January 2004 (available online at www-dot-3gpp-dot-org); the Adaptive Multi Rate (AMR) speech codec, as described in the document ETSI TS 126 092 V6.0.0 (European Telecommunications Standards Institute (ETSI), Sophia Antipolis Cedex, FR, December 2004); and the AMR Wideband speech codec, as described in the document ETSI TS 126 192 V6.0.0 (ETSI, December 2004). In the example of FIG. 3A , handset D 300 is a clamshell-type cellular telephone handset (also called a “flip” handset). Other configurations of such a multi-microphone communications handset include bar-type and slider-type telephone handsets. FIG. 3B shows a cross-sectional view of an implementation D 310 of device D 300 that includes a three-microphone implementation of array R 100 that includes a third microphone MC 30 .
FIG. 4A shows a diagram of a multi-microphone portable audio sensing device D 400 that is a media player. Such a device may be configured for playback of compressed audio or audiovisual information, such as a file or stream encoded according to a standard compression format (e.g., Moving Pictures Experts Group (MPEG)-1 Audio Layer 3 (MP3), MPEG-4 Part 14 (MP4), a version of Windows Media Audio/Video (WMA/WMV) (Microsoft Corp., Redmond, Wash.), Advanced Audio Coding (AAC), International Telecommunication Union (ITU)-T H.264, or the like). Device D 400 includes a display screen SC 10 and a loudspeaker SP 10 disposed at the front face of the device, and microphones MC 10 and MC 20 of array R 100 are disposed at the same face of the device (e.g., on opposite sides of the top face as in this example, or on opposite sides of the front face). FIG. 4B shows another implementation D 410 of device D 400 in which microphones MC 10 and MC 20 are disposed at opposite faces of the device, and FIG. 4C shows a further implementation D 420 of device D 400 in which microphones MC 10 and MC 20 are disposed at adjacent faces of the device. A media player may also be designed such that the longer axis is horizontal during an intended use.
FIG. 5A shows a diagram of a multi-microphone portable audio sensing device D 500 that is a hands-free car kit. Such a device may be configured to be installed in the dashboard of a vehicle or to be removably fixed to the windshield, a visor, or another interior surface. Device D 500 includes a loudspeaker 85 and an implementation of array R 100 . In this particular example, device D 500 includes a four-microphone implementation R 102 of array R 100 . Such a device may be configured to transmit and receive voice communications data wirelessly via one or more codecs, such as the examples listed above. Alternatively or additionally, such a device may be configured to support half- or full-duplex telephony via communication with a telephone device such as a cellular telephone handset (e.g., using a version of the Bluetooth™ protocol as described above).
FIG. 5B shows a diagram of a multi-microphone portable audio sensing device D 600 that is a writing device (e.g., a pen or pencil). Device D 600 includes an implementation of array R 100 . Such a device may be configured to transmit and receive voice communications data wirelessly via one or more codecs, such as the examples listed above. Alternatively or additionally, such a device may be configured to support half- or full-duplex telephony via communication with a device such as a cellular telephone handset and/or a wireless headset (e.g., using a version of the Bluetooth™ protocol as described above). Device D 600 may include one or more processors configured to perform a spatially selective processing operation to reduce the level of a scratching noise 82 , which may result from a movement of the tip of device D 600 across a drawing surface 81 (e.g., a sheet of paper), in a signal produced by array R 100 . It is expressly disclosed that applicability of systems, methods, and apparatus disclosed herein is not limited to the particular examples shown in FIGS. 1A to 5B . During the operation of a multi-microphone audio sensing device (e.g., device D 100 , D 200 , D 300 , D 400 , D 500 , or D 600 ), array R 100 produces a multichannel signal in which each channel is based on the response of a corresponding one of the microphones to the acoustic environment. One microphone may receive a particular sound more directly than another microphone, such that the corresponding channels differ from one another to provide collectively a more complete representation of the acoustic environment than can be captured using a single microphone.
›DETAILED DESCRIPTION · 3 of 18
It may be desirable for array R 100 to perform one or more processing operations on the signals produced by the microphones to produce multichannel signal S 10 . FIG. 6A shows a block diagram of an implementation R 200 of array R 100 that includes an audio preprocessing stage AP 10 configured to perform one or more such operations, which may include (without limitation) impedance matching, analog-to-digital conversion, gain control, and/or filtering in the analog and/or digital domains.
FIG. 6B shows a block diagram of an implementation R 210 of array R 200 . Array R 210 includes an implementation AP 20 of audio preprocessing stage AP 10 that includes analog preprocessing stages P 10 a and P 10 b . In one example, stages P 10 a and P 10 b are each configured to perform a highpass filtering operation (e.g., with a cutoff frequency of 50, 100, or 200 Hz) on the corresponding microphone signal.
It may be desirable for array R 100 to produce the multichannel signal as a digital signal, that is to say, as a sequence of samples. Array R 210 , for example, includes analog-to-digital converters (ADCs) C 10 a and C 10 b that are each arranged to sample the corresponding analog channel. Typical sampling rates for acoustic applications include 8 kHz, 12 kHz, 16 kHz, and other frequencies in the range of from about 8 to about 16 kHz, although sampling rates as high as about 44 kHz may also be used. In this particular example, array R 210 also includes digital preprocessing stages P 20 a and P 20 b that are each configured to perform one or more preprocessing operations (e.g., echo cancellation, noise reduction, and/or spectral shaping) on the corresponding digitized channel.
The multichannel signal produced by array R 100 may be used to support spatial processing operations, such as operations that determine the distance between the audio sensing device and a particular sound source, reduce noise, enhance signal components that arrive from a particular direction, and/or separate one or more sound components from other environmental sounds. For example, a spatially selective processing operation may be performed to separate one or more desired sound components of the multichannel signal from one or more noise components of the multichannel signal. A typical desired sound component is the sound of the voice of the user of the audio sensing device, and examples of noise components include (without limitation) diffuse environmental noise, such as street noise, car noise, and/or babble noise; and directional noise, such as an interfering speaker and/or sound from another point source, such as a television, radio, or public address system. Examples of spatial processing operations, which may be performed within the audio sensing device and/or within another device, are described in U.S. patent application Ser. No. 12/197,924, filed Aug. 25, 2008, entitled “SYSTEMS, METHODS, AND APPARATUS FOR SIGNAL SEPARATION,” and U.S. patent application Ser. No. 12/277,283, filed Nov. 24, 2008, entitled “SYSTEMS, METHODS, APPARATUS, AND COMPUTER PROGRAM PRODUCTS FOR ENHANCED INTELLIGIBILITY” and include (without limitation) beamforming and blind source separation operations.
Variations may arise during manufacture of the microphones of array R 100 , such that even among a batch of mass-produced and apparently identical microphones, sensitivity may vary significantly from one microphone to another. Microphones for use in portable mass-market devices may be manufactured at a sensitivity tolerance of +/−three decibels, for example, such that the sensitivity of two such microphones in an implementation of array R 100 may differ by as much as six decibels.
Moreover, changes may occur in the effective response characteristics of a microphone once it has been mounted into or onto the device. A microphone is typically mounted within a device housing behind an acoustic port and may be fixed in place by pressure and/or by friction or adhesion. FIG. 7A shows a cross-section of an example in which a microphone A 10 is mounted within a device housing A 20 behind an acoustic port A 30 . Housing A 20 is typically made of molded plastic (e.g., polycarbonate (PC) and/or acrylonitrile-butadiene-styrene (ABS)), and acoustic port A 30 is typically implemented as one or more small holes or slots in the housing. Tabs in the housing A 20 apply pressure to microphone A 10 against a compressible (e.g., elastomeric) gasket A 40 to secure the microphone in position. Many factors may affect the effective response characteristics of a microphone mounted in such a manner, such as resonances and/or other acoustic characteristics of the cavity within which the microphone is mounted, the amount and/or uniformity of pressure against the gasket, the size and shape of the acoustic port, etc.
The performance of an operation on a multichannel signal produced by array R 100 , such as a spatial processing operation, may depend on how well the response characteristics of the array channels are matched to one another. For example, it is possible for the levels of the channels to differ due to a difference in the response characteristics of the respective microphones, a difference in the gain levels of respective preprocessing stages, and/or a difference in circuit noise levels. In such case, the resulting multichannel signal may not provide an accurate representation of the acoustic environment unless the difference between the microphone response characteristics may be compensated. Without such compensation, a spatial processing operation based on such a signal may provide an erroneous result. For example, amplitude response deviations between the channels as small as one or two decibels at low frequencies (i.e., approximately 100 Hz to 1 kHz) may significantly reduce low-frequency directionality. Effects of an imbalance among the channels of array R 100 may be especially detrimental for applications processing a multichannel signal from an implementation of array R 100 that has more than two microphones.
›DETAILED DESCRIPTION · 4 of 18
It may be desirable to perform a pre-delivery calibration operation on an assembled multi-microphone audio sensing device (that is to say, before delivery to the user) in order to quantify a difference between the effective response characteristics of the channels of the array. For example, it may be desirable to perform a pre-delivery calibration operation on an assembled multi-microphone audio sensing device in order to quantify a difference between the effective gain characteristics of the channels of the array.
A pre-delivery calibration operation may include calculating one or more compensation factors based on a response of an instance of array R 100 to a sound field in which all of the microphones to be calibrated are exposed to the same sound pressure levels (SPLs). FIG. 7B shows a top view of an anechoic chamber arranged for one example of such an operation. In this example, a Head and Torso Simulator (HATS, as manufactured by Bruel & Kjaer, Naerum, Denmark) is positioned in the anechoic chamber within an inward-focused array of four loudspeakers. The loudspeakers are driven by a calibration signal to create a sound field that encloses the HATS as shown such that the sound pressure level (SPL) is substantially constant with respect to position within the field. In one example, the loudspeakers are driven by a calibration signal of white or pink noise to create a diffuse noise field. In another example, the calibration signal includes one or more tones at frequencies of interest (e.g., tones in the range of about 200 Hz to about 2 kHz, such as at 1 kHz). It may be desirable for the sound field to have an SPL of from 75 to 78 dB at the HATS ear reference point (ERP) or mouth reference point (MRP).
A multi-microphone audio sensing device having an instance of array R 100 that is to be calibrated is placed appropriately within the sound field. For example, a headset D 100 or D 200 may be mounted at an ear of the HATS in a standard orientation relative to the mouth speaker, as in the example of FIG. 8 , or a handset D 300 may be positioned at the HATS in a standard orientation relative to the mouth speaker, as in the example of FIG. 9 . The multichannel signal produced by the array in response to the sound field is then recorded. Based on a relation between the channels of the signal, one or more compensation factors are calculated (e.g., by one or more processors of the device and/or by one or more external processors) to match the gain and/or frequency response characteristics of the channels of the particular instance of the array. For example, a difference or ratio between the levels of the channels may be calculated to obtain a gain factor, which may henceforth be applied to one of the channels (e.g., as a gain factor) to compensate for the difference between the gain response characteristics of the channels of the array.
While a pre-delivery calibration procedure may be useful during research and design, such a procedure may be too time-consuming or otherwise impractical to perform for most manufactured devices. For example, it may be economically infeasible to perform such an operation for each instance of a mass-market device. Moreover, a pre-delivery operation alone may be insufficient to ensure good performance over the lifetime of the device. Microphone sensitivity may drift or otherwise change over time, due to factors that may include aging, temperature, radiation, and contamination. Without adequate compensation for an imbalance among the responses of the various channels of the array, however, a desired level of performance for a multichannel operation, such as a spatially selective processing operation, may be difficult or impossible to achieve.
FIG. 10A shows a flowchart of a method M 100 of processing a multichannel audio signal (e.g., as produced by an implementation of array R 100 ) according to a general configuration that includes tasks T 100 a , T 100 b , T 200 , and T 300 . Task T 100 a calculates a series of values of a level of a first channel of the audio signal over time, and task T 100 b calculates a series of values of a level of a second channel of the audio signal over time. Based on the series of values of the first and second channels, task T 200 calculates a series of values of a gain factor over time. Task T 300 controls the amplitude of the second channel relative to the amplitude of the first channel over time according to the series of gain factor values.
Tasks T 100 a and T 100 b may be configured to calculate each of the series of values of a level of the corresponding channel as a measure of the amplitude or magnitude (also called “absolute amplitude” or “rectified amplitude”) of the channel over a corresponding period of time (also called a “segment” of the multichannel signal). Examples of measures of amplitude or magnitude include the total magnitude, the average magnitude, the root-mean-square (RMS) amplitude, the median magnitude, and the peak magnitude. In a digital domain, these measures may be calculated over a block of n sample values x i , i=1, 2, . . . n, (also called a “frame”) according to expressions such as the following:
∑ i = 1 n x i ( total magnitude ) ; ( 1 ) 1 n ∑ i = 1 n x i ( average magnitude ) ; ( 2 ) 1 n ∑ i = 1 n x i 2 ( RMS amplitude ) ; ( 3 ) median i = 1 , 2 , … , n x i ( median magnitude ) ; ( 4 ) max i = 1 , 2 , … , n x i ( peak magnitude ) . ( 5 )
Such expressions may also be used to calculate these measures in a transform domain (e.g., a Fourier or discrete cosine transform (DCT) domain). These measures may also be calculated in the analog domain according to similar expressions (e.g., using integration in place of summation).
Alternatively, tasks T 100 a and T 100 b may be configured to calculate each of the series of values of a level of the corresponding channel as a measure of the energy of the channel over a corresponding period of time. Examples of measures of energy include the total energy and the average energy. In a digital domain, these measures may be calculated over a block of n sample values x i , i=1, 2, . . . , n, according to expressions such as the following:
›DETAILED DESCRIPTION · 5 of 18
∑ i = 1 n x i 2 ( total energy ) ; ( 6 ) 1 n ∑ i = 1 n x i 2 ( average energy ) . ( 7 )
Such expressions may also be used to calculate these measures in a transform domain (e.g., a Fourier or discrete cosine transform (DCT) domain). These measures may also be calculated in the analog domain according to similar expressions (e.g., using integration in place of summation).
Typical segment lengths range from about five or ten milliseconds to about forty or fifty milliseconds, and the segments may be overlapping (e.g., with adjacent segments overlapping by 25% or 50%) or nonoverlapping. In one particular example, each channel of the audio signal is divided into a series of 10-millisecond nonoverlapping segments, task T 100 a is configured to calculate a value of a level for each segment of the first channel, and task T 100 b is configured to calculate a value of a level for each segment of the second channel. A segment as processed by tasks T 100 a and T 100 b may also be a segment (i.e., a “subframe”) of a larger segment as processed by a different operation, or vice versa.
It may be desirable to configure tasks T 100 a and T 100 b to perform one or more spectral shaping operations on the audio signal channels before calculating the series of level values. Such operations may be performed in the analog and/or digital domains. For example, it may be desirable to configure each of tasks T 100 a and T 100 b to apply a lowpass filter (with a cutoff frequency of, e.g., 200, 500, or 1000 Hz) or a bandpass filter (with a passband of, e.g., 200 Hz to 1 kHz) to the signal from the respective channel before calculating the series of level values.
It may be desirable to configure task T 100 a and/or task T 100 b to include a temporal smoothing operation such that the corresponding series of level values is smoothed over time. Such an operation may be performed according to an expression such as:
L jn =(μ) L j−tmp +(1−μ) L j(n−1), (8)
where L jn denotes the level value corresponding to segment n for channel j, L j−tmp denotes an unsmoothed level value calculated for channel j of segment n according to an expression such as one of expressions (1)-(7) above, L j(n−1) denotes the level value corresponding to the previous segment (n−1) for channel j, and μ denotes a temporal smoothing factor having a value in the range of from 0.1 (maximum smoothing) to one (no smoothing), such as 0.3, 0.5, or 0.7.
At some times during the operation of an audio sensing device, the acoustic information source and any directional noise sources are substantially inactive. At such times, the directional content of the multichannel signal may be insignificant relative to the background noise level. Corresponding segments of the audio signal that contain only silence or background noise are referred to herein as “background” segments. The sound environment at these times may be considered as a diffuse field, such that the sound pressure level at each microphone is typically equal, and it may be expected that the levels of the channels in the background segments should also be equal.
FIG. 10B shows a flowchart of an implementation M 200 of method M 100 . Method M 200 includes task T 400 , which is configured to indicate background segments. Task T 400 may be configured to produce the indications as a series of states of a binary-valued signal (e.g., states of a binary-valued flag) over time, such that a state having one value indicates that the corresponding segment is a background segment and a state having the other value indicates that the corresponding segment is not a background segment. Alternatively, task T 400 may be configured to produce the indications as a series of states of a signal having more than two possible values at a time, such that a state may indicate one of two or more different types of non-background segment.
Task T 400 may be configured to indicate that a segment is a background segment based on one or more characteristics of the segment such as overall energy, low-band energy, high-band energy, spectral distribution (as evaluated using, for example, one or more line spectral frequencies, line spectral pairs, and/or reflection coefficients), signal-to-noise ratio, periodicity, and/or zero-crossing rate. Such an operation may include, for each of one or more of such characteristics, comparing a value or magnitude of such a characteristic to a fixed or adaptive threshold value. Alternatively or additionally, such an operation may include, for each of one or more of such characteristics, calculating and comparing the value or magnitude of a change in the value or magnitude of such a characteristic to a fixed or adaptive threshold value. It may be desirable to implement task T 400 to indicate that a segment is a background segment based on multiple criteria (e.g., energy, zero-crossing rate, etc.) and/or a memory of recent background segment indications.
Alternatively or additionally, task T 400 may include comparing a value or magnitude of such a characteristic (e.g., energy), or the value or magnitude of a change in such a characteristic, in one frequency band to a like value in another frequency band. For example, task T 400 may be configured to evaluate the energy of the current segment in each of a low-frequency band (e.g., 300 Hz to 2 kHz) and a high-frequency band (e.g., 2 kHz to 4 kHz), and to indicate that the segment is a background segment if the energy in each band is less than (alternatively, not greater than) a respective threshold value, which may be fixed or adaptive. One example of such a voice activity detection operation that may be performed by task T 400 includes comparing highband and lowband energies of reproduced audio signal S 40 to respective threshold values as described, for example, in section 4.7 (pp. 4-49 to 4-57) of the 3GPP2 document C.S0014-C, v10, entitled “Enhanced Variable Rate Codec, Speech Service Options 3, 68, and 70 for Wideband Spread Spectrum Digital Systems,” January 2007 (available online at www-dot-3gpp-dot-org). In this example, the threshold value for each band is based on an anchor operating point (as derived from a desired average data rate), an estimate of the background noise level in that band for the previous segment, and a signal-to-noise ratio in that band for the previous segment.
›DETAILED DESCRIPTION · 6 of 18
Alternatively, task T 400 may be configured to indicate whether a segment is a background segment according to a relation between (A) a level value sl n that corresponds to the segment and (B) a background level value bg. Level value sl n may be a value of a level of only one of the channels of segment n (e.g., L 1n as calculated by task T 100 a , or L 2n as calculated by task T 100 b ). In such case, level value sl n is typically a value of a level of the channel that corresponds to primary microphone MC 10 (i.e., a microphone that is positioned to receive a desired information signal more directly). Alternatively, level value sl n may be a value of a level, as calculated according to an expression such as one of expressions (1)-(7) above, of a mixture (e.g., an average) of two or more channels of segment n. In a further alternative, segment level value sl n is an average of values of levels of each of two or more channels of segment n. It may be desirable for level value sl n to be a value that is not smoothed over time (e.g., as described above with reference to expression (8)), even for a case in which task T 100 a is configured to smooth L 1n over time and task T 100 b is configured to smooth L 2n over time.
FIG. 11A shows a flowchart of such an implementation T 410 of task T 400 , which compares level value sl n to the product of background level value bg and a weight w 1 . In another example, weight w 1 is implemented as an offset to background level value bg rather than as a factor. The value of weight w 1 may be selected from a range such as from one to 1.5, two, or five and may be fixed or adaptable. In one particular example, the value of w 1 is equal to 1.2. Task T 410 may be implemented to execute for each segment of the audio signal or less frequently (e.g., for each second or fourth segment).
FIG. 11B shows a flowchart of a related implementation T 460 of task T 400 , which compares a difference diff between the level value sl and the background level value bg to the product of background level value bg and a weight w 2 . In another example, weight w 2 is implemented as an offset to background level value bg rather than as a factor. The value of weight w 2 may be selected from a range such as from zero to 0.4, one, or two and may be fixed or adaptable. In one particular example, the value of w 2 is equal to 0.2. Task T 460 may be implemented to execute for each segment of the audio signal or less frequently (e.g., for each second or fourth segment).
Task T 400 may be configured to indicate that a segment is a background segment only when the corresponding level value sl n is greater than (or not less than) a lower bound. Such a feature may be used, for example, to avoid calculating values of the gain factor that are based largely on non-acoustic noise (e.g., intrinsic or circuit noise). Alternatively, task T 400 may be configured to execute without such a feature. For example, it may be desirable to permit task T 210 to calculate values of the gain factor for non-acoustic components of the background noise environment as well as for acoustic components.
Task T 400 may be configured to use a fixed value for background level value bg. More typically, however, task T 400 is configured to update the value of the background level over time. For example, task T 400 may be configured to replace or otherwise update background level value bg with information from a background segment (e.g., the corresponding segment level value sl n ). Such updating may be performed according to an expression such as bg←(1−α)bg+(α)sl n , where α 0 is a temporal smoothing factor having a value in the range of from zero (no updating) to one (no smoothing) and y←x indicates an assignment of the value of x to y. Task T 400 may be configured to update the value of the background level for every background segment or less frequently (e.g., for every other background segment, for every fourth background segment, etc.). Task T 400 may also be configured to refrain from updating the value of the background level for one or several segments (also called a “hangover period”) after a transition from non-background segments to background segments.
It may be desirable to configure task T 400 to use different smoothing factor values according to a relation among values of the background level over time (e.g., a relation between the current and previous values of the background level). For example, it may be desirable to configure task T 400 to perform more smoothing when the background level is rising (e.g., when the current value of the background level is greater than the previous value of the background level) than when the background level is falling (e.g., when the current value of the background level is less than the previous value of the background level). In one particular example, smoothing factor α is assigned the value α R =0.01 when the background level is rising and the value α F =0.02 (alternatively, 2*α R ) when the background level is falling. FIG. 12A shows a flowchart of such an implementation T 420 of task T 410 , and FIG. 12B shows a flowchart of such an implementation T 470 of task T 460 .
It may be desirable to configure task T 400 to use different smoothing factor values according to how long method M 200 has been executing. For example, it may be desirable to configure method M 200 such that task T 400 performs less smoothing (e.g., uses a higher value of α, such as α F ) during the initial segments of an audio sensing session than during later segments (e.g., during the first fifty, one hundred, two hundred, four hundred, or eight hundred segments, or the first five, ten, twenty, or thirty seconds, of the session). Such a configuration may be used, for example, to support a quicker initial convergence of background level value bg during an audio sensing session (e.g., a communications session, such as a telephone call).
Task T 400 may be configured to observe a lower bound on background level value bg. For example, task T 400 may be configured to select a current value for background level value bg as the maximum of (A) a calculated value for background level value bg and (B) a minimum allowable background level value minlvl. The minimum allowable value minlvl may be a fixed value. Alternatively, the minimum allowable value minlvl may be an adaptive value, such as a lowest observed recent level (e.g., the lowest value of segment level value sl n in the most recent two hundred segments). FIG. 13A shows a flowchart of such an implementation T 430 of task T 420 , and FIG. 13B shows a flowchart of such an implementation T 480 of task T 470 .
›DETAILED DESCRIPTION · 7 of 18
It may be desirable to configure task T 400 to store background level value bg and/or minimum allowable value minlvl in nonvolatile memory for use as an initial value for the respective parameter in a subsequent execution of method M 200 (for example, in a subsequent audio sensing session and/or after a power cycle). Such an implementation of task T 400 may be configured to perform such storage periodically (e.g., once every ten, twenty, thirty, or sixty seconds), at the end of an audio sensing session (e.g., a communications session, such as a telephone call), and/or during a power-down routine.
Method M 200 also includes an implementation T 210 of task T 200 that is configured to calculate the series of values of the gain factor based on the indications of task T 400 . Typically it is desirable that, for background segments, the corresponding values of the levels of the first and second channels will be equal. Differences among the response characteristics of the channels of array R 100 , however, may cause these levels to differ in the multichannel audio signal. An imbalance between the channel levels in a background segment may be at least partially compensated by varying the amplitude of the second channel over the segment according to a relation between the levels. Method M 200 may be configured to perform a particular example of such an compensation operation by multiplying the samples of the second channel of the segment by a factor of L 1n /L 2n , where L 1n and L 2n denote the values of the levels of the first and second channels, respectively, of the segment.
For background segments, task T 210 may be configured to calculate values of the gain factor based on relations between values of the level of the first channel and values of the level of the second channel. For example, task T 210 may be configured to calculate a value of the gain factor for a background segment based on a relation between a corresponding value of the level of the first channel and a corresponding value of the level of the second channel. Such an implementation of task T 210 may be configured to calculate a value of the gain factor as a function of linear level values (e.g., according to an expression such as G n =L 1n /L 2n , where G n denotes the current value of the gain factor). Alternatively, such an implementation of task T 210 may be configured to calculate a value of the gain factor as a function of level values in a logarithmic domain (e.g., according to an expression such as G n =L 1n −L 2n ).
It may be desirable to configure task T 210 to smooth the values of the gain factor over time. For example, task T 210 may be configured to calculate a current value of the gain factor according to an expression such as:
G n =(β) G tmp +(1−β) G n−1 , (9)
where G tmp is an unsmoothed value of the gain factor that is based on a relation between values of the levels of the first and second channels (e.g., a value that is calculated according to an expression such as G tmp =L 1n /L 2n ), G n−1 denotes the most recent value of the gain factor (e.g., the value corresponding to the most recent background segment), and β is a temporal smoothing factor having a value in the range of from zero (no updating) to one (no smoothing).
Differences among the response characteristics of the channels of the microphone array may cause the channel levels to differ for non-background segments as well as for background segments. For a non-background segment, however, the channel levels may also differ due to directionality of an acoustic information source. For non-background segments, it may be desirable to compensate for an array imbalance without removing an imbalance among the channel levels that is due to source directionality.
It may be desirable, for example, to configure task T 210 to update the value of the gain factor only for background segments. Such an implementation of task T 210 may be configured to calculate the current value of the gain factor G n according to an expression such as one of the following:
Task T 300 controls the amplitude of one channel of the audio signal relative to the amplitude of another channel over time, according to the series of values of the gain factor. For example, task T 300 may be configured to amplify the signal from a less responsive channel. Alternatively, task T 300 may be configured to control the amplitude of (e.g., to amplify or attenuate) a channel that corresponds to a secondary microphone.
Task T 300 may be configured to perform amplitude control of the channel in a linear domain. For example, task T 300 may be configured to control the amplitude of the second channel of a segment by multiplying each of the values of the samples of the segment in that channel by a value of the gain factor that corresponds to the segment. Alternatively, task T 300 may be configured to control the amplitude in a logarithmic domain. For example, task T 300 may be configured to control the amplitude of the second channel of a segment by adding a corresponding value of the gain factor to a logarithmic gain control value that is applied to that channel over the duration of the segment. In such case, task T 300 may be configured to receive the series of values of the gain factor as logarithmic values (e.g., in decibels), or to convert linear gain factor values to logarithmic values (e.g., according to an expression such as x log =20 log x lin , where x lin is a linear gain factor value and x log is the corresponding logarithmic value). Task T 300 may be combined with, or performed upstream or downstream of, other amplitude control of the channel or channels (e.g., an automatic gain control (AGC) or automatic volume control (AVC) module, a user-operated volume control, etc.).
It may be desirable to configure task T 210 to use different smoothing factor values according to a relation among values of the gain factor over time (e.g., a relation between the current and previous values of the gain factor). For example, it may be desirable to configure task T 210 to perform more smoothing when the value of the gain factor is rising (e.g., when the current value of the gain factor is greater than the previous value of the gain factor) than when the value of the gain factor is falling (e.g., when the current value of the gain factor is less than the previous value of the gain factor). An example of such a configuration of task T 210 may be implemented by evaluating a parameter ΔG=G tmp −G n−1 , assigning a value of β R to smoothing factor β when ΔG is greater than (alternatively, not less than) zero, and assigning a value of β F to ΔG otherwise. In one particular example, β R has a value of 0.2 and β F has a value of 0.3 (alternatively, 1.5*β R ). It is noted that task T 210 may be configured to implement expression (11) above in terms of ΔG as follows:
›DETAILED DESCRIPTION · 8 of 18
It may be desirable to configure task T 210 to vary the degree of temporal smoothing of the gain factor value according to how long method M 200 has been executing. For example, it may be desirable to configure method M 200 such that task T 210 performs less smoothing (e.g., uses a higher smoothing factor value, such as β*2 or β*3) during the initial segments of an audio sensing session than during later segments (e.g., during the first fifty, one hundred, two hundred, four hundred, or eight hundred segments, or the first five, ten, twenty, or thirty seconds, of the session). Such a configuration may be used, for example, to support a quicker initial convergence of the value during an audio sensing session (e.g., a telephone call). Alternatively or additionally, it may be desirable to configure method M 200 such that task T 210 performs more smoothing (e.g., uses a lower smoothing factor value, such as β/2, β/3, or β/4) during later segments of an audio sensing session than during initial segments (e.g., after the first fifty, one hundred, two hundred, four hundred, or eight hundred segments, or the first five, ten, twenty, or thirty seconds, of the session).
It may be desirable to inhibit task T 200 from updating the value of the gain factor in some circumstances. For example, it may be desirable to configure task T 200 to use a previous value of the gain factor when the corresponding segment level value sl n is less than (alternatively, not greater than) a minimum level value. In another example, it may be desirable to configure task T 200 to use a previous value of the gain factor when an imbalance between the level values of the channels of the corresponding segment is too great (e.g., an absolute difference between the level values is greater than (alternatively, not less than) a maximum imbalance value, or a ratio between the level values is too large or too small). Such a condition, which may indicate that one or both channel level values are unreliable, may occur when one of the microphones is occluded (e.g., by the user's finger), broken, or contaminated (e.g., by dirt or water).
In a further example, it may be desirable to configure task T 200 to use a previous value of the gain factor when uncorrelated noise (e.g., wind noise) is detected in the corresponding segment. Detection of uncorrelated noise in a multichannel audio signal is described, for example, in U.S. patent application Ser. No. 12/201,528, filed Aug. 29, 2008, entitled “SYSTEMS, METHODS, AND APPARATUS FOR DETECTION OF UNCORRELATED COMPONENT,” which document is hereby incorporated by reference for purposes limited to disclosure of apparatus and procedures for detection of uncorrelated noise and/or indication of such detection. Such detection may include comparing the energy of a difference signal to a threshold value, where the difference signal is a difference between the channels of the segment. Such detection may include lowpass filtering the channels, and/or applying a previous value of the gain factor to the second channel, upstream of the calculation of the difference signal.
A multi-microphone audio sensing device may be designed to be worn, held, or otherwise oriented in a particular manner (also called a “standard orientation”) relative to an acoustic information source. For a voice communications device such as a handset or headset, the information source is typically the user's mouth. FIG. 8 shows a top view of headset D 100 in a standard orientation, such that primary microphone MC 10 of array R 100 is oriented more directly toward and is closer to the user's mouth than secondary microphone MC 20 . FIG. 9 shows a side view of handset D 300 in a standard orientation, such that primary microphone MC 10 is oriented more directly toward and may be closer to the user's mouth than secondary microphone MC 20 .
During normal use, a portable audio sensing device may operate in any among a range of standard orientations relative to an information source. For example, different users may wear or hold a device differently, and the same user may wear or hold a device differently at different times, even within the same period of use (e.g., during a single telephone call). For headset D 100 mounted on a user's ear 65 , FIG. 14 shows an example of two bounds of a range 66 of standard orientations relative to the user's mouth 64 . FIG. 15 shows an example of two bounds of a range of standard orientations for handset D 300 relative to the user's mouth.
An “information” segment of the audio signal contains information from a directional acoustic information source (such as the user's mouth), with a first one of the microphones of the array being closer to and/or oriented more directly toward the source than a second one of the microphones of the array. In this case, the levels of the corresponding channels may be expected to differ even if the responses of the two microphones are perfectly matched.
As discussed above, it may be desirable to compensate for an imbalance between channel levels that is due to a difference among the response characteristics of the channels of the microphone array. For information segments, however, it may also be desirable to preserve an imbalance between the channel levels that is due to directionality of the information source. An imbalance due to source directionality may provide important information, for example, to a spatial processing operation.
FIG. 16A shows a flowchart of an implementation M 300 of method M 100 . Method M 300 includes a task T 500 that is configured to indicate information segments. Task T 500 may be configured to indicate that a segment is an information segment based on, for example, a corresponding value of the level of the first channel and a corresponding value of the level of the second channel. Method M 300 also includes an implementation T 220 of task T 200 that is configured to calculate the series of values of the gain factor based on the indications of task T 500 .
›DETAILED DESCRIPTION · 9 of 18
FIG. 16B shows a flowchart of an implementation T 510 of task T 500 . Task T 510 is configured to indicate whether a segment is an information segment based on the value of a balance measure of the segment, where the balance measure is based on corresponding values of the levels of the first and second channels and an estimated imbalance between the channel levels due to different response characteristics of the channels of array R 100 (an “array imbalance estimate”). Task T 510 may be configured to calculate the balance measure by using the array imbalance estimate to weight a relation between the level values. For example, task T 510 may be configured to calculate the balance measure M B for segment n according to an expression such as M B =I A (L 2n /L 1n ), where L 1n and L 2n denote the values of the levels of the first and second channels, respectively, for the segment (i.e., as calculated by tasks T 100 a and T 100 b ); and I A denotes the array imbalance estimate.
The array imbalance estimate I A may be based on at least one value of the gain factor (i.e., as calculated by task T 220 ). In one particular example, the array imbalance estimate I A is the previous value G (n−1) of the gain factor. In other examples, the array imbalance estimate I A is an average of two or more previous values of the gain factor (e.g., an average of the two most recent values of the gain factor).
Task T 510 may be configured to indicate that a segment is an information segment when the corresponding balance measure M B is less than (alternatively, not greater than) a threshold value T 1 . For example, task T 510 may be configured to produce a binary indication for each segment according to an expression such as
{ 1 , I A ( L 2 n / L 1 n ) < T 1 0 , otherwise , ( 13 )
where a result of one indicates an information segment and a result of zero indicates a non-information segment. Other expressions of the same relation that may be used to implement such a configuration of task T 510 include (without limitation) the following:
{ 1 , ( L 2 n / L 1 n ) < T 1 / I A 0 , otherwise ; ( 14 ) { 1 , ( L 1 n / L 2 n ) > I A / T 1 0 , otherwise ; ( 15 ) { 1 , L 1 n / ( I A L 2 n ) > 1 / T 1 0 , otherwise . ( 16 )
Of course, other implementations of such expressions may use different values to indicate a corresponding result (e.g., a value of zero to indicate an information segment and a value of one to indicate a non-information segment). Task T 510 may be configured to use a threshold value T 1 that has an assigned numeric value, such as one, 1.2, 1.5, or two or a logarithmic equivalent of such a value. Alternatively, it may be desirable for threshold value T 1 to be based on a bias factor as described below with reference to task T 220 . It may be desirable to select threshold value T 1 to support appropriate operation of gain factor calculation task T 220 . For example, it may be desirable to select threshold value T 1 to provide an appropriate balance in task T 510 between false positives (indication of non-information segments as information segments) and false negatives (failure to indicate information segments).
Task T 220 is configured to calculate the series of values of the gain factor based on the indications of task T 500 . For information segments, task T 220 is configured to calculate corresponding values of the gain factor value based on channel level values and a bias factor I S . The bias factor is based on a standard orientation of an audio sensing device relative to a directional information source, is typically independent of a ratio between the levels of the first and second channels of the segment, and may be calculated or evaluated as described below. Task T 220 may be configured to calculate a value of the gain factor for an information segment by using the bias factor as a weight in a relation between the corresponding values of the levels of the first and second channels. Such an implementation of task T 220 may be configured to calculate a value of the gain factor as a function of linear values (e.g., according to an expression such as G n =L 1n /(I S L 2n ), where the bias factor I S is used to weight the value of the level of the second channel). Alternatively, such an implementation of task T 220 may be configured to calculate a value of the gain factor as a function of values in a logarithmic domain (e.g., according to an expression such as G n =L 1n −(I S +L 2n )).
It may be desirable to configure task T 220 to update the value of the gain factor only for information segments. Such an implementation of task T 220 may be configured to calculate the current value of the gain factor G n according to an expression such as one of the following:
G n = { L 1 n / ( I S L 2 n ) , segment n is information G n - 1 , segment n is not information ; ( 17 ) G n = { ( β ) L 1 n / ( I S L 2 n ) + ( 1 - β ) G n - 1 , segment n is information G n - 1 , segment n is not information ( 18 )
where β is a smoothing factor value as discussed above.
The bias factor I S may be calculated as an approximation of a ratio between the sound pressure levels at different microphones of the array due to an acoustic signal from the directional sound source. Such a calculation may be performed offline (e.g., during design or manufacture of the device) based on factors such as the locations and orientations of the microphones within the device, and an expected distance between the device and the source when the device is in a standard orientation relative to the source. Such a calculation may also take into account acoustic factors that may affect the sound field sensed by the microphone array, such as reflection characteristics of the surface of the device and/or of the user's head.
Additionally or in the alternative, bias factor I S may be evaluated offline based on the actual response of an instance of the device to a directional acoustic signal. In this approach, a reference instance of the device (also called a “reference device”) is placed in a standard orientation relative to a directional information source, and an acoustic signal is produced by the source. A multichannel signal is obtained from the device array in response to the acoustic signal, and the bias factor is calculated based on a relation between the channel levels of the multichannel signal (e.g., as a ratio between the channel levels, such as a ratio of the level of the channel of the primary microphone to the level of the channel of the secondary microphone).
›DETAILED DESCRIPTION · 10 of 18
Such an evaluation operation may include mounting the reference device on a suitable test stand (e.g., a HATS) in a standard orientation relative to the directional sound source (e.g., the mouth loudspeaker of the HATS). In another example, the reference device is worn by a person or otherwise mounted in a standard orientation relative to the person's mouth. It may be desirable for the source to produce the acoustic signal as a speech signal or artificial speech signal at a sound pressure level (SPL) of from 75 to 78 dB (e.g., as measured at an ear reference point (ERP) or mouth reference point (MRP)). The reference device and source may be located within an anechoic chamber while the multichannel signal is obtained (in an arrangement as shown in FIG. 6B , for example). It may also be desirable for the reference device to be within a diffuse noise field (e.g., a field produced by four loudspeakers arranged as shown in FIG. 6B and driven by white or pink noise) while the multichannel signal is obtained. A processor of the reference device, or an external processing device, processes the multichannel signal to calculate the bias factor (e.g., as a ratio of the channel levels, such as a ratio of the level of the channel of the primary microphone to the level of the channel of the secondary microphone).
It may be desirable for bias factor I S to describe the channel imbalance that may be expected, due to directionality of an information source, for any instance of a device of the same type as the reference instance (e.g., any device of the same model) in a standard orientation relative to the source. Such a bias factor would typically be copied to other instances of the device during mass production. Typical values of bias factor I S for headset and handset applications include one, 1.5, two, 2.5, three, four, and six decibels and the linear equivalents of such values.
In order to obtain a bias factor that is reliably applicable to other instances of the device, it may be desirable to calibrate the reference instance of the device before performing the bias factor evaluation. Such calibration may be desirable to ensure that the bias factor is independent of an imbalance among the response characteristics of the channels of the array of the reference device. The reference device may be calibrated, for example, according to a pre-delivery calibration operation as described earlier with reference to FIG. 6B .
Alternatively, it may be desirable to calibrate the reference instance after the bias factor evaluation operation and then to adjust bias factor I S according to the calibration results (e.g., according to a resulting compensation factor). In a further alternative, the bias factor is adjusted during execution of method M 100 within each production device, based on values of the gain factor as calculated by task T 200 for background segments.
It may be desirable to reduce the effect of error in bias factor I S due to any one reference instance. For example, it may be desirable to perform bias factor evaluation operations on several reference instances of the device and to average the results to obtain bias factor I S .
As mentioned above, it may be desirable for threshold value T 1 of task T 510 to be based on bias factor I S . In this case, threshold value T 1 may have a value such as 1/(1+δε), where ε=(I S −1) and δ has a value in the range of from 0.5 to two (e.g., 0.8, 0.9, or one).
It may be desirable to implement task T 500 to tune bias factor I S over time. For example, an optimum value of the bias factor may vary slightly from one user to another for the same device. Such variation may occur due to factors such as, for example, differences among standard orientations adopted by the various users and/or differences in the distance between the device and the user's mouth. In one example, task T 500 is implemented to tune bias factor I S to minimize a change in the series of values of the gain factor over transitions between background and information segments. Such an implementation of task T 500 may also be configured to store the updated bias factor I S in nonvolatile memory for use as an initial value for the respective parameter in a subsequent execution of method M 300 (for example, in a subsequent audio sensing session and/or after a power cycle). Such an implementation of task T 500 may be configured to perform such storage periodically (e.g., once every ten, twenty, thirty, or sixty seconds), at the end of an audio sensing session (e.g., a telephone call), and/or during a power-down routine.
FIG. 17 shows an idealized visual depiction of how the value of balance measure M B may be used to determine an approximate angle of arrival of a directional component of a corresponding segment of the multichannel audio signal. In these terms, task T 510 may be described as associating a segment with information source S 1 if the corresponding value of balance measure M B is less than threshold value T 1 .
Sound from distant directional sources tends to diffuse. During periods of far-field activity, therefore, it may be assumed that the SPLs at the microphones of array R 100 will be relatively equal, as during periods of silence or background noise. As the SPLs during periods of far-field activity are higher than those during periods of silence or background noise, however, channel imbalance information derived from corresponding segments may be less influenced by non-acoustic noise components, such as circuit noise, than similar information derived from background segments.
It may be desirable to configure task T 500 to distinguish among more than two types of segments. For example, it may be desirable to configure task T 500 to indicate segments corresponding to periods of far-field activity (also called “balanced noise” segments) as well as information segments. Such an implementation of task T 500 may be configured to indicate that a segment is a balanced noise segment when the corresponding balance measure M B is greater than (alternatively, not less than) a threshold value T 2 and less than (alternatively, not greater than) a threshold value T 3 . For example, an implementation of task T 510 may be configured to produce an indication for each segment according to an expression such as
›DETAILED DESCRIPTION · 11 of 18
{ 1 , I A ( L 2 n / L 1 n ) < T 1 - 1 , I A ( L 2 n / L 1 n ) > T 2 and I A ( L 2 n / L 1 n ) < T 3 0 , otherwise , ( 19 )
where a result of one indicates an information segment, a result of negative one indicates a balanced noise segment, and a result of zero indicates a segment that is neither.
Such an implementation of task T 510 may be configured to use threshold values that have assigned numeric values, such as one, 1.2, 1.5, or two or a logarithmic equivalent of such a value for threshold value T 2 , and 1.2, 1.5, two, or three or a logarithmic equivalent of such a value for threshold value T 2 . Alternatively, it may be desirable for threshold value T 2 and/or threshold value T 3 to be based on bias factor I S . For example, threshold value T 2 may have a value such as 1/(1+γε) and/or threshold value T 3 may have a value such as 1+γε, where ε=(I S −1) and γ has a value in the range of from 0.03 to 0.5 (e.g., 0.05, 0.1, or 0.2). It may be desirable to select threshold values T 2 and T 3 to support appropriate operation of gain factor calculation task T 220 . For example, it may be desirable to select threshold value T 2 to provide sufficient rejection of information segments and to select threshold value T 3 to provide sufficient rejection of near-field noise.
For a case in which task T 500 is configured to indicate information segments and balanced noise segments, task T 220 may be configured to calculate the current value of the gain factor G n according to an expression such as one of the following:
G n = { L 1 n / ( I S L 2 n ) , segment n is information L 1 n / L 2 n , segment n is balanced noise G n - 1 , otherwise ; ( 20 ) G n = { ( β ) L 1 n / ( I S L 2 n ) + ( 1 - β ) G n - 1 , segment n is information ( β ) L 1 n / L 2 n + ( 1 - β ) G n - 1 , segment n is balanced noise G n - 1 , otherwise , ( 21 )
where β is a smoothing factor value as discussed above.
FIG. 18A shows a flowchart for an implementation T 550 of task T 510 that indicates information segments and balanced noise segments according to a procedure as described, for example, by expression (19). FIG. 18B shows a flowchart for a similar implementation T 560 of task T 510 in which the test for a balanced noise segment is performed upstream of the test for an information segment. One of ordinary skill in the art will now recognize various other expressions of the same relations which may be used to implement such a configuration of task T 510 and will also appreciate that such expressions may use different values to indicate a corresponding result.
In a typical use of a portable communications device such as a headset or handset, only one information source is expected (i.e., the user's mouth). For other audio sensing applications, however, it may be desirable to configure task T 500 to distinguish among two or more different types of information segments. Such capability may be useful, for example, in conferencing or speakerphone applications. FIG. 19 shows an idealized visual depiction of how the value of balance measure M B may be used to distinguish among information segments that correspond to activity from three different respective information sources (e.g., three persons using a telephone conferencing device). A corresponding implementation of task T 510 may be configured to indicate the particular type of information segment according to an expression such as
{ 1 , I A ( L 2 n / L 1 n ) < T 1 2 , I A ( L 2 n / L 1 n ) > T 2 and I A ( L 2 n / L 1 n ) < T 3 3 , I A ( L 2 n / L 1 n ) > T 4 0 , otherwise , ( 22 )
where results of 1, 2, and 3 indicate information segments corresponding to source S 1 , S 2 , and S 3 , respectively, and threshold values T 1 to T 4 are selected to support appropriate operation of gain factor calculation task T 220 .
For a case in which method M 300 is configured to distinguish among information segments that correspond to activity from different respective information sources, task T 220 may be configured to use a different respective bias factor for each of the different types of information segment. For such an implementation of method M 300 , it may be desirable to perform a corresponding instance of a bias factor evaluation operation as described above to obtain each of the different bias factors, with the reference device being in a standard orientation relative to the respective information source in each case.
An audio sensing device may be configured to perform one of methods M 200 and M 300 . Alternatively, an audio sensing device may be configured to select among methods M 200 and M 300 . For example, it may be desirable to configure an audio sensing device to use method M 300 in an environment that has insufficient background acoustic noise to support reliable use of method M 200 . In a further alternative, an audio sensing device is configured to perform an implementation M 400 of method M 100 as shown in the flowchart of FIG. 20A . Method M 400 , which is also an implementation of methods M 200 and M 300 , includes an instance of any of the implementations of task T 400 described herein and an instance of any of the implementations of task T 500 described herein. Method M 400 also includes an implementation T 230 of task T 200 that is configured to calculate the series of values of the gain factor based on the indications of tasks T 400 and T 500 .
It may be desirable to configure method M 400 such that tasks T 400 and T 500 execute in parallel. Alternatively, it may be desirable to configure method M 400 such that tasks T 400 and T 500 execute in a serial (e.g., cascade) fashion. FIG. 20B shows a flowchart of such an example in which execution of task T 500 is conditional on the outcome of task T 400 for each segment. FIG. 21A shows a flowchart of such an example in which execution of task T 550 is conditional on the outcome of task T 400 for each segment. FIG. 21B shows a flowchart of such an example in which execution of task T 400 is conditional on the outcome of task T 500 for each segment.
›DETAILED DESCRIPTION · 12 of 18
Task T 500 may be configured to indicate that a segment is an information segment based on a relation between a level value that corresponds to the segment (e.g., level value sl n as described herein with reference to task T 410 ) and a background level value (e.g., background level value bg as described herein with reference to task T 410 ). FIG. 22A shows a flowchart of such an implementation T 520 of task T 510 whose execution is conditional on the outcome of task T 400 . Task T 520 includes a test that compares level value sl n to the product of background level value bg and a weight w 3 . In another example, weight w 3 is implemented as an offset to background level value bg rather than as a factor. The value of weight w 3 may be selected from a range such as from one to 1.5, two, or five and may be fixed or adaptable. In one particular example, the value of w 3 is equal to 1.3.
FIG. 22B shows a flowchart of a similar implementation T 530 of task T 510 which includes a test that compares a difference diff between the level value sl and the background level value bg to the product of background level value bg and a weight w 4 . In another example, weight w 4 is implemented as an offset to background level value bg rather than as a factor. The value of weight w 4 may be selected from a range such as from zero to 0.4, one, or two and may be fixed or adaptable. In one particular example, the value of w 4 is equal to 0.3. FIGS. 23A and 23B show flowcharts of similar implementations T 570 and T 580 , respectively, of task T 550 .
It is expressly noted that comparisons (also called “tests”) and other operations of the various tasks of method M 100 , as well as tests and other operations within the same task, may be implemented to execute in parallel, even for cases in which the outcome of another operation may render an operation unnecessary. For example, it may be desirable to execute the tests of task T 520 (or of task T 530 , or to execute two or more of the tests of tasks T 570 or T 580 ) in parallel, even though a negative outcome in the first test may make the second test unnecessary.
Task T 230 may be configured to calculate the current value of the gain factor G n according to an expression such as one of the following:
G n = { L 1 n / ( I S L 2 n ) , segment n is information L 1 n / L 2 n , segment n is background G n - 1 , otherwise ; ( 23 ) G n = { ( β ) L 1 n / ( I S L 2 n ) + ( 1 - β ) G n - 1 , segment n is information ( β ) L 1 n / L 2 n + ( 1 - β ) G n - 1 , segment n is background G n - 1 , otherwise , ( 24 )
where β is a smoothing factor value as discussed above. It may be desirable to configure task T 230 to vary the degree of temporal smoothing of the gain factor value according to the indications of task T 400 and/or task T 500 . For example, it may be desirable to configure task T 230 to perform less smoothing (e.g., to use a higher smoothing factor value, such as β*2 or β*3) for background segments, at least during the initial segments of an audio sensing session (e.g., during the first fifty, one hundred, two hundred, four hundred, or eight hundred segments, or the first five, ten, twenty, or thirty seconds, of the session). Additionally or in the alternative, it may be desirable to configure task T 230 to perform more smoothing (e.g., to use a lower smoothing factor value, such as β/2, β/3, or β/4) during information and/or balanced noise segments.
For an implementation of method M 400 in which task T 500 is configured to indicate information segments and balanced noise segments, task T 230 may be configured to calculate the current value of the gain factor G n according to an expression such as one of the following:
G n = { L 1 n / ( I S L 2 n ) , segment n is information L 1 n / L 2 n , segment n is balanced noise or background G n - 1 otherwise ; ( 25 ) G n = { ( β ) L 1 n / ( I S L 2 n ) + ( 1 - β ) G n - 1 , segment n is information ( β ) L 1 n / L 2 n + ( 1 - β ) G n - 1 , seg . n is balanced noise or bkgd . G n - 1 , otherwise , ( 26 )
where β is a smoothing factor value as discussed above. Again, it may be desirable to configure task T 230 to vary the degree of temporal smoothing of the gain factor value for background segments and/or for information and/or balanced noise segments as described above.
It may be desirable to configure method M 100 to perform one or more of level value calculation task T 100 a , level value calculation task T 100 b , and gain factor calculation task T 200 on a different time scale than the other tasks. For example, method M 100 may be configured such that tasks T 100 a and T 100 b produce a level value for each segment but that task T 200 calculates a gain factor value only for every other segment, or for every fourth segment. Similarly, method M 200 (or method M 300 ) may be configured such that tasks T 100 a and T 100 b produce a level value for each segment but that task T 400 (and/or task T 500 ) updates its result only for every other segment, or for every fourth segment. In such cases, the result from the less frequent task may be based on an average of results from the more frequent task.
It may be desirable to configure method M 100 such that a gain factor value that corresponds to one segment, such as a gain factor value that is based on level values from segment n, is applied by task T 300 to a different segment, such as segment (n+1) or segment (n+2). Likewise, it may be desirable to configure method M 200 (or M 300 ) such that a background segment indication (or an information or balanced noise segment indication) that corresponds to one segment is used to calculate a gain factor value that is applied by task T 300 to a different segment (e.g., to the next segment). Such a configuration may be desirable, for example, if it reduces a computational budget without creating an audible artifact.
›DETAILED DESCRIPTION · 13 of 18
It may be desirable to perform separate instances of method M 100 on respective frequency subbands of a multichannel audio signal. In one such example, a set of analysis filters or a transform operation (e.g., a fast Fourier transform or FFT) is used to decompose each channel of the signal into a set of subbands, an instance of method M 100 is performed separately on each subband, and a set of synthesis filters or an inverse transform operation is used to recompose each of the first channel and the processed second channel. The various subbands may be overlapping or nonoverlapping and of uniform width or of nonuniform width. Examples of nonuniform subband division schemes that may be used include transcendental schemes, such as a scheme based on the Bark scale, or logarithmic schemes, such as a scheme based on the Mel scale.
It may be desirable to extend method M 100 to a multichannel audio signal that has more than two channels. For example, one instance of method M 100 may be executed to control the amplitude of the second channel relative to the first channel, based on the levels of the first and second channels, while another instance of method M 100 is executed to control the amplitude of the third channel relative to the first channel. In such case, different instances of method M 300 may be configured to use different respective bias factors, where each of the bias factors may be obtained by performing a respective bias factor evaluation operation on corresponding channels of the reference device.
A portable multi-microphone audio sensing device may be configured to perform an implementation of method M 100 as described herein for in-service matching of the channels of the microphone array. Such a device may be configured to perform an implementation of method M 100 during every use of the device. Alternatively, such a device may be configured to perform an implementation of method M 100 during an interval that is less than the entire usage period. For example, such a device may be configured to perform an implementation of method M 100 less frequently than every use, such as not more than once every day, every week, or every month. Alternatively, such a device may be configured to perform an implementation of method M 100 upon some event, such as every battery charge cycle. At other times, the device may be configured to perform amplitude control of the second channel relative to the first channel according to a stored gain factor value (e.g., the most recently calculated gain factor value).
FIG. 24A shows a block diagram of a device D 10 according to a general configuration. Device D 10 includes an instance of any of the implementations of microphone array R 100 disclosed herein, and any of the audio sensing devices disclosed herein (e.g., devices D 100 , D 200 , D 300 , D 400 , D 500 , and D 600 ) may be implemented as an instance of device D 10 . Device D 10 also includes an apparatus MF 100 that is configured to process a multichannel audio signal, as produced by array R 100 , to control the amplitude of the second channel relative to the amplitude of the first channel. For example, apparatus MF 100 may be configured to process the multichannel audio signal according to an instance of any of the implementations of method M 100 disclosed herein. Apparatus MF 100 may be implemented in hardware and/or in software (e.g., firmware). For example, apparatus MF 100 may be implemented on a processor of device D 10 that is also configured to perform a spatial processing operation as described above on the processed multichannel signal (e.g., one or more operations that determine the distance between the audio sensing device and a particular sound source, reduce noise, enhance signal components that arrive from a particular direction, and/or separate one or more sound components from other environmental sounds).
FIG. 24B shows a block diagram of an implementation MF 10 of apparatus MF 100 . Apparatus MF 110 includes means FL 100 a for calculating a series of values of a level of a first channel of the audio signal over time (e.g., as described above with reference to task T 100 a ). Apparatus MF 110 also includes means FL 100 b for calculating a series of values of a level of a second channel of the audio signal over time (e.g., as described above with reference to task T 100 b ). Means FL 100 a and FL 100 b may be implemented as different structures (e.g., different circuits or software modules), as different parts of the same structure (e.g., different areas of an array of logic elements, or parallel threads of a computing process), and/or as the same structure at different times (e.g., a calculating circuit or processor configured to perform a sequence of different tasks over time).
Apparatus MF 110 also includes means FG 100 for calculating a series of values of a gain factor over time (e.g., as described above with reference to task T 200 ) and means FA 100 for controlling the amplitude of the second channel relative to the amplitude of the first channel (e.g., as described above with reference to task T 300 ). With respect to either of means FL 100 a and FL 100 b , calculating means FG 100 may be implemented as a different structure, as a different part of the same structure, and/or as the same structure at a different time. With respect to any of means FL 100 a , FL 100 b , and FG 100 , means FA 100 may be implemented as a different structure, as a different part of the same structure, and/or as the same structure at a different time. In one example, means FA 100 is implemented as a calculating circuit or process that is configured to multiply samples of the second channel by a corresponding value of the gain factor. In another example, means FA 100 is implemented as an amplifier or other adjustable gain control element.
FIG. 25 shows a block diagram of an implementation MF 200 of apparatus MF 110 . Apparatus MF 200 includes means FD 100 for indicating that a segment is a background segment (e.g., as described above with reference to task T 400 ). Means FD 100 may be implemented, for example, as a logical circuit (e.g., an array of logic elements) and/or as a task executable by a processor. In one example, means FD 100 is implemented as a voice activity detector. Apparatus MF 200 also includes an implementation FG 200 of means FG 100 that is configured to calculate the series of values of the gain factor based on the indications of means FD 100 (e.g., as described above with reference to task T 210 ).
›DETAILED DESCRIPTION · 14 of 18
FIG. 26 shows a block diagram of an implementation MF 300 of apparatus MF 110 . Apparatus MF 300 includes means FD 200 for indicating that a segment is an information segment (e.g., as described above with reference to task T 500 ). Means FD 200 may be implemented, for example, as a logical circuit (e.g., an array of logic elements) and/or as a task executable by a processor. Apparatus MF 300 also includes an implementation FG 300 of means FG 100 that is configured to calculate the series of values of the gain factor based on the indications of means FD 200 (e.g., as described above with reference to task T 220 ).
FIG. 27 shows a block diagram of an implementation MF 400 of apparatus MF 110 that includes means FD 100 for indicating that a segment is a background segment and means FD 200 for indicating that a segment is an information segment. Apparatus MF 400 also includes an implementation FG 400 of means FG 100 that is configured to calculate the series of values of the gain factor based on the indications of means FD 100 and FD 200 (e.g., as described above with reference to task T 230 ).
FIG. 28A shows a block diagram of a device D 20 according to a general configuration. Device D 20 includes an instance of any of the implementations of microphone array R 100 disclosed herein, and any of the audio sensing devices disclosed herein (e.g., devices D 100 , D 200 , D 300 , D 400 , D 500 , and D 600 ) may be implemented as an instance of device D 20 . Device D 20 also includes an apparatus A 100 that is configured to process a multichannel audio signal, as produced by array R 100 , to control the amplitude of the second channel relative to the amplitude of the first channel. For example, apparatus A 100 may be configured to process the multichannel audio signal according to an instance of any of the implementations of method M 100 disclosed herein. Apparatus A 100 may be implemented in hardware and/or in software (e.g., firmware). For example, apparatus A 100 may be implemented on a processor of device D 20 that is also configured to perform a spatial processing operation as described above on the processed multichannel signal (e.g., one or more operations that determine the distance between the audio sensing device and a particular sound source, reduce noise, enhance signal components that arrive from a particular direction, and/or separate one or more sound components from other environmental sounds).
FIG. 28B shows a block diagram of an implementation A 110 of apparatus A 100 . Apparatus A 110 includes a first level calculator LC 100 a that is configured to calculate a series of values of a level of a first channel of the audio signal over time (e.g., as described above with reference to task T 100 a ). Apparatus A 110 also includes a second level calculator LC 100 b that is configured to calculate a series of values of a level of a second channel of the audio signal over time (e.g., as described above with reference to task T 100 b ). Level calculators LC 100 a and LC 100 b may be implemented as different structures (e.g., different circuits or software modules), as different parts of the same structure (e.g., different areas of an array of logic elements, or parallel threads of a computing process), and/or as the same structure at different times (e.g., a calculating circuit or processor configured to perform a sequence of different tasks over time).
Apparatus A 110 also includes a gain factor calculator GF 100 that is configured to calculate a series of values of a gain factor over time (e.g., as described above with reference to task T 200 ) and an amplitude control element AC 100 that is configured to control the amplitude of the second channel relative to the amplitude of the first channel (e.g., as described above with reference to task T 300 ). With respect to either of level calculators LC 100 a and LC 100 b , gain factor calculator GF 100 may be implemented as a different structure, as a different part of the same structure, and/or as the same structure at a different time. With respect to any of calculators LC 100 a , LC 100 b , and GF 100 , amplitude control element AC 100 may be implemented as a different structure, as a different part of the same structure, and/or as the same structure at a different time. In one example, amplitude control element AC 100 is implemented as a calculating circuit or process that is configured to multiply samples of the second channel by a corresponding value of the gain factor. In another example, amplitude control element AC 100 is implemented as an amplifier or other adjustable gain control element.
FIG. 29 shows a block diagram of an implementation A 200 of apparatus A 10 . Apparatus A 200 includes a background segment indicator SD 100 that is configured to indicate that a segment is a background segment (e.g., as described above with reference to task T 400 ). Indicator SD 100 may be implemented, for example, as a logical circuit (e.g., an array of logic elements) and/or as a task executable by a processor. In one example, indicator SD 100 is implemented as a voice activity detector. Apparatus A 200 also includes an implementation GF 200 of gain factor calculator GF 100 that is configured to calculate the series of values of the gain factor based on the indications of indicator SD 100 (e.g., as described above with reference to task T 210 ).
FIG. 30 shows a block diagram of an implementation A 300 of apparatus A 110 . Apparatus A 300 includes an information segment indicator SD 200 that is configured to indicate that a segment is an information segment (e.g., as described above with reference to task T 500 ). Indicator SD 200 may be implemented, for example, as a logical circuit (e.g., an array of logic elements) and/or as a task executable by a processor. Apparatus A 300 also includes an implementation GF 300 of gain factor calculator GF 100 that is configured to calculate the series of values of the gain factor based on the indications of indicator SD 200 (e.g., as described above with reference to task T 220 ).
›DETAILED DESCRIPTION · 15 of 18
FIG. 31 shows a block diagram of an implementation A 400 of apparatus A 110 that includes background segment indicator SD 100 and information segment indicator SD 200 . Apparatus A 400 also includes an implementation GF 400 of gain factor calculator GF 100 that is configured to calculate the series of values of the gain factor based on the indications of indicators SD 100 and SD 200 (e.g., as described above with reference to task T 230 ).
Method M 100 may be implemented in a feedback configuration such that the series of values of the level of the second channel is calculated downstream of amplitude control task T 300 . In a feedback implementation of method M 200 , task T 210 may be configured to calculate the current value of the gain factor G n according to an expression such as one of the following:
G n = { G n - 1 ( L 1 n / λ 2 n ) , segment n is background G n - 1 , segment n is not background ; ( 27 ) G n = { ( β G n - 1 ) L 1 n / λ 2 n + ( 1 - β ) G n - 1 , segment n is background G n - 1 , segment n is not background , ( 28 )
where λ 2n denotes the value of the level of the second channel of the segment in this case.
Similarly, task T 220 may be configured in a feedback implementation of method M 300 to calculate the current value of the gain factor G n according to an expression such as one of the following:
G n = { ( G n - 1 / I S ) L 1 n / λ 2 n , segment n is information G n - 1 , segment n is not information ; ( 29 ) G n = { ( β ) ( G n - 1 / I S ) L 1 n / λ 2 n + ( 1 - β ) G n - 1 , segment n is information G n - 1 , segment n is not information , ( 30 )
where β is a smoothing factor value as discussed above. Similarly, task T 510 may be configured in a feedback implementation of method M 300 to calculate the balance measure M B for segment n according to an expression such as M B =(I A /G n−1 )(λ 2n /L 1n ).
Likewise, apparatus MF 110 may be configured such that the series of values of the level of the second channel is calculated downstream of amplitude control means FA 100 , and apparatus A 110 may be configured such that the series of values of the level of the second channel is calculated downstream of amplitude control element AC 100 . For example, FIG. 32 shows a block diagram of such an implementation MF 310 of apparatus MF 300 that includes an implementation FG 310 of gain factor calculating means FG 300 , which may be configured to perform a feedback version of task T 220 (e.g., according to expression (29) or (30)), and an implementation FD 210 of information segment indicating means FD 200 , which may be configured to perform a feedback version of task T 510 as described above. FIG. 33 shows a block diagram of such an implementation A 310 of apparatus A 300 that includes an implementation GF 310 of gain factor calculator GF 300 , which may be configured to perform a feedback version of task T 220 (e.g., according to expression (29) or (30)), and an implementation SD 210 of information segment indicator SD 200 , which may be configured to perform a feedback version of task T 510 as described above.
FIG. 34 shows a block diagram of a communications device D 50 that is an implementation of device D 10 . Device D 50 includes a chip or chipset CS 10 (e.g., a mobile station modem (MSM) chipset) that includes apparatus MF 100 . Chip/chipset CS 10 may include one or more processors, which may be configured to execute all or part of apparatus MF 100 (e.g., as instructions). Chip/chipset CS 10 includes a receiver, which is configured to receive a radio-frequency (RF) communications signal and to decode and reproduce an audio signal encoded within the RF signal, and a transmitter, which is configured to encode an audio signal that is based on the processed multichannel signal produced by apparatus MF 100 and to transmit an RF communications signal that describes the encoded audio signal. One or more processors of chip/chipset CS 10 may be configured to perform a spatial processing operation as described above on the processed multichannel signal (e.g., one or more operations that determine the distance between the audio sensing device and a particular sound source, reduce noise, enhance signal components that arrive from a particular direction, and/or separate one or more sound components from other environmental sounds), such that the encoded audio signal is based on the spatially processed signal.
Device D 50 is configured to receive and transmit the RF communications signals via an antenna C 30 . Device D 50 may also include a diplexer and one or more power amplifiers in the path to antenna C 30 . Chip/chipset CS 10 is also configured to receive user input via keypad C 10 and to display information via display C 20 . In this example, device D 50 also includes one or more antennas C 40 to support Global Positioning System (GPS) location services and/or short-range communications with an external device such as a wireless (e.g., Bluetooth™) headset. In another example, such a communications device is itself a Bluetooth headset and lacks keypad C 10 , display C 20 , and antenna C 30 .
The methods and apparatus disclosed herein may be applied generally in any transceiving and/or audio reproduction application, especially mobile or otherwise portable instances of such applications. For example, the range of configurations disclosed herein includes communications devices that reside in a wireless telephony communication system configured to employ a code-division multiple-access (CDMA) over-the-air interface. Nevertheless, it would be understood by those skilled in the art that a method and apparatus having features as described herein may reside in any of the various communication systems employing a wide range of technologies known to those of skill in the art, such as systems employing Voice over IP (VoIP) over wired and/or wireless (e.g., CDMA, TDMA, FDMA, and/or TD-SCDMA) transmission channels.
›DETAILED DESCRIPTION · 16 of 18
It is expressly contemplated and hereby disclosed that communications devices disclosed herein may be adapted for use in networks that are packet-switched (for example, wired and/or wireless networks arranged to carry audio transmissions according to protocols such as VoIP) and/or circuit-switched. It is also expressly contemplated and hereby disclosed that communications devices disclosed herein may be adapted for use in narrowband coding systems (e.g., systems that encode an audio frequency range of about four or five kilohertz) and/or for use in wideband coding systems (e.g., systems that encode audio frequencies greater than five kilohertz), including whole-band wideband coding systems and split-band wideband coding systems.
The foregoing presentation of the described configurations is provided to enable any person skilled in the art to make or use the methods and other structures disclosed herein. The flowcharts, block diagrams, state diagrams, and other structures shown and described herein are examples only, and other variants of these structures are also within the scope of the disclosure. Various modifications to these configurations are possible, and the generic principles presented herein may be applied to other configurations as well. Thus, the present disclosure is not intended to be limited to the configurations shown above but rather is to be accorded the widest scope consistent with the principles and novel features disclosed in any fashion herein, including in the attached claims as filed, which form a part of the original disclosure.
Those of skill in the art will understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, and symbols that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
Important design requirements for implementation of a configuration as disclosed herein may include minimizing processing delay and/or computational complexity (typically measured in millions of instructions per second or MIPS), especially for computation-intensive applications, such as applications for voice communications at higher sampling rates (e.g., for wideband communications).
The various elements of an implementation of an apparatus as disclosed herein may be embodied in any combination of hardware, software, and/or firmware that is deemed suitable for the intended application. For example, such elements may be fabricated as electronic and/or optical devices residing, for example, on the same chip or among two or more chips in a chipset. One example of such a device is a fixed or programmable array of logic elements, such as transistors or logic gates, and any of these elements may be implemented as one or more such arrays. Any two or more, or even all, of these elements may be implemented within the same array or arrays. Such an array or arrays may be implemented within one or more chips (for example, within a chipset including two or more chips).
One or more elements of the various implementations of the apparatus disclosed herein (e.g., apparatus MF 100 , MF 110 , MF 200 , MF 300 , MF 310 , MF 400 , A 100 , A 110 , A 200 , A 300 , A 310 , and A 400 ) may also be implemented in whole or in part as one or more sets of instructions arranged to execute on one or more fixed or programmable arrays of logic elements, such as microprocessors, embedded processors, IP cores, digital signal processors, FPGAs (field-programmable gate arrays), ASSPs (application-specific standard products), and ASICs (application-specific integrated circuits). Any of the various elements of an implementation of an apparatus as disclosed herein may also be embodied as one or more computers (e.g., machines including one or more arrays programmed to execute one or more sets or sequences of instructions, also called “processors”), and any two or more, or even all, of these elements may be implemented within the same such computer or computers.
A processor or other means for processing as disclosed herein may be fabricated as one or more electronic and/or optical devices residing, for example, on the same chip or among two or more chips in a chipset. One example of such a device is a fixed or programmable array of logic elements, such as transistors or logic gates, and any of these elements may be implemented as one or more such arrays. Such an array or arrays may be implemented within one or more chips (for example, within a chipset including two or more chips). Examples of such arrays include fixed or programmable arrays of logic elements, such as microprocessors, embedded processors, IP cores, DSPs, FPGAs, ASSPs, and ASICs. A processor or other means for processing as disclosed herein may also be embodied as one or more computers (e.g., machines including one or more arrays programmed to execute one or more sets or sequences of instructions) or other processors. It is possible for a processor as described herein to be used to perform tasks or execute other sets of instructions that are not directly related to a signal balancing procedure, such as a task relating to another operation of a device or system in which the processor is embedded (e.g., an audio sensing device). It is also possible for part of a method as disclosed herein to be performed by a processor of the audio sensing device (e.g., level value calculation tasks T 100 a and T 100 b and gain factor calculation task T 200 ) and for another part of the method to be performed under the control of one or more other processors (e.g., amplitude control task T 300 ).
Those of skill will appreciate that the various illustrative modules, logical blocks, circuits, and tests and other operations described in connection with the configurations disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. Such modules, logical blocks, circuits, and operations may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an ASIC or ASSP, an FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to produce the configuration as disclosed herein. For example, such a configuration may be implemented at least in part as a hard-wired circuit, as a circuit configuration fabricated into an application-specific integrated circuit, or as a firmware program loaded into non-volatile storage or a software program loaded from or into a data storage medium as machine-readable code, such code being instructions executable by an array of logic elements such as a general purpose processor or other digital signal processing unit. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. A software module may reside in RAM (random-access memory), ROM (read-only memory), nonvolatile RAM (NVRAM) such as flash RAM, erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An illustrative storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
›DETAILED DESCRIPTION · 17 of 18
It is noted that the various methods disclosed herein (e.g., methods M 100 , M 200 , M 300 , and M 400 ) may be performed by an array of logic elements such as a processor, and that the various elements of an apparatus as described herein may be implemented as modules designed to execute on such an array. As used herein, the term “module” or “sub-module” can refer to any method, apparatus, device, unit or computer-readable data storage medium that includes computer instructions (e.g., logical expressions) in software, hardware or firmware form. It is to be understood that multiple modules or systems can be combined into one module or system and one module or system can be separated into multiple modules or systems to perform the same functions. When implemented in software or other computer-executable instructions, the elements of a process are essentially the code segments to perform the related tasks, such as with routines, programs, objects, components, data structures, and the like. The term “software” should be understood to include source code, assembly language code, machine code, binary code, firmware, macrocode, microcode, any one or more sets or sequences of instructions executable by an array of logic elements, and any combination of such examples. The program or code segments can be stored in a processor readable medium or transmitted by a computer data signal embodied in a carrier wave over a transmission medium or communication link.
The implementations of methods, schemes, and techniques disclosed herein may also be tangibly embodied (for example, in one or more computer-readable media as listed herein) as one or more sets of instructions readable and/or executable by a machine including an array of logic elements (e.g., a processor, microprocessor, microcontroller, or other finite state machine). The term “computer-readable medium” may include any medium that can store or transfer information, including volatile, nonvolatile, removable and non-removable media. Examples of a computer-readable medium include an electronic circuit, a semiconductor memory device, a ROM, a flash memory, an erasable ROM (EROM), a floppy diskette or other magnetic storage, a CD-ROM/DVD or other optical storage, a hard disk, a fiber optic medium, a radio frequency (RF) link, or any other medium which can be used to store the desired information and which can be accessed. The computer data signal may include any signal that can propagate over a transmission medium such as electronic network channels, optical fibers, air, electromagnetic, RF links, etc. The code segments may be downloaded via computer networks such as the Internet or an intranet. In any case, the scope of the present disclosure should not be construed as limited by such embodiments.
Each of the tasks of the methods described herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. In a typical application of an implementation of a method as disclosed herein, an array of logic elements (e.g., logic gates) is configured to perform one, more than one, or even all of the various tasks of the method. One or more (possibly all) of the tasks may also be implemented as code (e.g., one or more sets of instructions), embodied in a computer program product (e.g., one or more data storage media such as disks, flash or other nonvolatile memory cards, semiconductor memory chips, etc.), that is readable and/or executable by a machine (e.g., a computer) including an array of logic elements (e.g., a processor, microprocessor, microcontroller, or other finite state machine). The tasks of an implementation of a method as disclosed herein may also be performed by more than one such array or machine. In these or other implementations, the tasks may be performed within a device for wireless communications such as a cellular telephone or other device having such communications capability. Such a device may be configured to communicate with circuit-switched and/or packet-switched networks (e.g., using one or more protocols such as VoIP). For example, such a device may include RF circuitry configured to receive and/or transmit encoded frames.
It is expressly disclosed that the various methods disclosed herein may be performed by a portable communications device such as a handset, headset, or portable digital assistant (PDA), and that the various apparatus described herein may be included with such a device. A typical real-time (e.g., online) application is a telephone conversation conducted using such a mobile device.
In one or more exemplary embodiments, the operations described herein may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, such operations may be stored on or transmitted over a computer-readable medium as one or more instructions or code. The term “computer-readable media” includes both computer storage media and communication media, including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise an array of storage elements, such as semiconductor memory (which may include without limitation dynamic or static RAM, ROM, EEPROM, and/or flash RAM), or ferroelectric, magnetoresistive, ovonic, polymeric, or phase-change memory; CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technology such as infrared, radio, and/or microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technology such as infrared, radio, and/or microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray Disc™ (Blu-Ray Disc Association, Universal City, Calif.), where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
›DETAILED DESCRIPTION · 18 of 18
An acoustic signal processing apparatus as described herein may be incorporated into an electronic device that accepts speech input in order to control certain operations, or may otherwise benefit from separation of desired noises from background noises, such as communications devices. Many applications may benefit from enhancing or separating clear desired sound from background sounds originating from multiple directions. Such applications may include human-machine interfaces in electronic or computing devices which incorporate capabilities such as voice recognition and detection, speech enhancement and separation, voice-activated control, and the like. It may be desirable to implement such an acoustic signal processing apparatus to be suitable in devices that only provide limited processing capabilities.
The elements of the various implementations of the modules, elements, and devices described herein may be fabricated as electronic and/or optical devices residing, for example, on the same chip or among two or more chips in a chipset. One example of such a device is a fixed or programmable array of logic elements, such as transistors or gates. One or more elements of the various implementations of the apparatus described herein may also be implemented in whole or in part as one or more sets of instructions arranged to execute on one or more fixed or programmable arrays of logic elements such as microprocessors, embedded processors, IP cores, digital signal processors, FPGAs, ASSPs, and ASICs.
It is possible for one or more elements of an implementation of an apparatus as described herein to be used to perform tasks or execute other sets of instructions that are not directly related to an operation of the apparatus, such as a task relating to another operation of a device or system in which the apparatus is embedded. It is also possible for one or more elements of an implementation of such an apparatus to have structure in common (e.g., a processor used to execute portions of code corresponding to different elements at different times, a set of instructions executed to perform tasks corresponding to different elements at different times, or an arrangement of electronic and/or optical devices performing operations for different elements at different times). For example, two of more of level calculators LC 100 a and LC 100 b may be implemented to include the same structure at different times.
Claims as granted
38 claimsLog in to read the claims of this application.
Log in to unlockClassifications
2 codes- G01L19/14
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock