This disclosure relates generally to audio signals and, more particularly, to methods and apparatus to enhance an audio signal.
Many existing electronic devices include one or more microphones to detect sounds in a surrounding environment. Different microphones, including microphones with various qualities, can record different audio signals from an audio source.
In general, the same reference numbers will be used throughout the drawing(s) and accompanying written description to refer to the same or like parts. The figures are not to scale.
Unless specifically stated otherwise, descriptors such as “first,” “second,” “third,” etc., are used herein without imputing or otherwise indicating any meaning of priority, physical order, arrangement in a list, and/or ordering in any way, but are merely used as labels and/or arbitrary names to distinguish elements for ease of understanding the disclosed examples. In some examples, the descriptor “first” may be used to refer to an element in the detailed description, while the same element may be referred to in a claim with a different descriptor such as “second” or “third.” In such instances, it should be understood that such descriptors are used merely for identifying those elements distinctly that might, for example, otherwise share a same name.
As used herein, “approximately” and “about” refer to dimensions that may not be exact due to manufacturing tolerances and/or other real world imperfections. As used herein “substantially real time” refers to occurrence in a near instantaneous manner recognizing there may be real world delays for computing time, transmission, etc. Thus, unless otherwise specified, “substantially real time” refers to real time +/−1 second.
As used herein, the phrase “in communication,” including variations thereof, encompasses direct communication and/or indirect communication through one or more intermediary components, and does not require direct physical (e.g., wired) communication and/or constant communication, but rather additionally includes selective communication at periodic intervals, scheduled intervals, aperiodic intervals, and/or one-time events.
As used herein, “processor circuitry” is defined to include (i) one or more special purpose electrical circuits structured to perform specific operation(s) and including one or more semiconductor-based logic devices (e.g., electrical hardware implemented by one or more transistors), and/or (ii) one or more general purpose semiconductor-based electrical circuits programmed with instructions to perform specific operations and including one or more semiconductor-based logic devices (e.g., electrical hardware implemented by one or more transistors). Examples of processor circuitry include programmed microprocessors, Field Programmable Gate Arrays (FPGAs) that may instantiate instructions, Central Processor Units (CPUs), Graphics Processor Units (GPUs), Digital Signal Processors (DSPs), XPUs, or microcontrollers and integrated circuits such as Application Specific Integrated Circuits (ASICs). For example, an XPU may be implemented by a heterogeneous computing system including multiple types of processor circuitry (e.g., one or more FPGAs, one or more CPUs, one or more GPUs, one or more DSPs, etc., and/or a combination thereof) and application programming interface(s) (API(s)) that may assign computing task(s) to whichever one(s) of the multiple types of the processing circuitry is/are best suited to execute the computing task(s).
Microphone quality can be determined by the sensitivity and the frequency response of the device. In general, high-quality microphones have a higher dynamic range (DR), higher frequency response at relatively extreme frequencies, a flatter (e.g., more balanced) frequency response on the overall audible frequency range, and very low distortion across different amplitudes and frequencies. These advantages of higher quality microphones correspond to their high price. Additionally, high quality microphones are defined by high directivity (e.g., sensitivity to sound in a specific direction), as seen in boom mics, or high omnidirectionality (e.g., sensitivity to sound equally from multiple directions), as seen in high quality sonometer mics, which contribute to the higher costs of high quality microphones. The components of a high quality microphone can also increase costs of assembly and manufacture. For example, the metal diaphragm in a microphone is needed for capacitive and dynamic sensing as well as the electric/magnetic field creation and detection, and the circuitry needed for the pre-amplifier both require expensive materials (e.g., high quality electric dielectrics, neodymium magnets, etc.).
In some examples, the high cost of high quality microphones is due to reputation and marketing of the device. High quality microphones and interfaces are among the most expensive devices for any audio-visual application. This often excludes users in middle or low income demographics from the market and severely reduces the Total-Available- Market (TAM).
Lower quality microphones have lower bandwidth and lower dynamic range and, thus, are considerably less expensive than high quality microphones. For example, a microelectromechanical (MEM) microphone can cost USD$ 1, but will not perform at the same level as a USD$ 1000 higher quality microphone (e.g., AKG C1000 mic). However, lower cost microphones (e.g., MEM microphones, electret microphones, etc.) have relatively good performance and are included in many devices that require audio input, such as headphones, smartphones, laptops, smart speakers, tablets, etc. Although a lower cost/lower quality microphone will have inferior spectral performance to a higher quality microphone, the signal to noise ratio (SNR) can be similar.
Prior techniques to avoid expensive microphone equipment include utilizing large microphone arrays with multiple input audio channels. However, such microphone arrays require extensive signal processing integration to improve the audio dynamic range and require additional operating equipment that can raise the cost. Additionally, the use of noise reduction algorithms can process the audio stream to increase the SNR and the dynamic range of a lower cost microphone. However, noise reduction algorithms cannot increase frequency response (e.g., cannot generate spectrum information) and can negatively affect the balance of the frequency response.
Examples disclosed herein utilize a deep-learning, audio signal transformation, which processes an audio signal obtained with a low cost/low quality microphone (e.g., MEM, electret, etc.) and produces an enhanced audio signal that emulates the output of a high quality microphone. Examples disclosed herein enable high quality sound (e.g., high quality audio signals, high bandwidth, high dynamic range, improved frequency response, etc.) for devices with low cost/low quality microphones. Examples disclosed herein allow for high quality audio signals using inexpensive equipment, which increases the TAM for devices, servers, products, etc. Examples disclosed herein allow a deep learning system to estimate missing information (e.g., bandwidth, range, etc.) such that a low cost microphone output to be similar to a high cost microphone output.
Examples disclosed herein utilize an “audio signal” to denote an electronic representation of a sound wave. Audio signals can be described in the time domain or in the frequency domain. In the time domain, an audio signal is graphically represented with varying amplitudes of a sound over a period of time (e.g., loudness). In the frequency domain, an audio signal is described in terms of how much of the audio signal exists within a given frequency range. The frequency domain graphically represents an audio signal with amplitude as a function of frequency. In the frequency domain, frequencies that are present in the audio signal can be identified and frequencies that are absent from the audio signal can be identified. Thus, the frequency domain is useful for analyzing audio signal properties. As used herein, an “audio spectrum,” a “signal spectrum”, and/or a “spectrum” refers to the frequency domain representation of an audio signal. Additionally, as used herein, spectrums can be represented by vectors. Audio signals can be converted from the time domain to the frequency domain via the Fourier Transform.
As used herein, a “spectral distance” refers to a mathematical calculation for comparing signal spectrums. A spectral distance from a first signal spectrum to a second signal spectrum is a distance measurement that quantifies the similarities (e.g., overlap, commonalities, etc.) between the spectrums. More similar signal spectrums will have a low spectral distance and less similar signal spectrums will have a high spectral distance.
As used herein, a “audio mask,” “spectral mask”, and/or a “mask” is a mathematical factor to describe a ratio between data points of audio spectrums. The values of the spectral mask can be bounded from 0 to 1. A spectral mask can also be represented as a vector.
As used herein, “dynamic range” refers to the SNR of a microphone. Additionally or alternatively, the dynamic range of a microphone refers to the range of amplitudes corresponding to a microphone. For example, a microphone with high dynamic range has a high SNR and/or can manage relatively high variation of amplitudes. However, a microphone with low dynamic range has a low SNR and/or is limited to relatively smaller ranges of amplitudes. In some examples, a low quality microphone is associated with low dynamic range. However, a high quality microphone is associated with high dynamic range.
As used herein, “bandwidth” refers to the range of frequencies corresponding to a microphone. For example, a microphone with high bandwidth can manage relatively high ranges of frequencies. However, a microphone with low bandwidth is limited to relatively low ranges of frequencies and has difficulty detecting high frequencies. In some examples, a low quality microphone is associated with low bandwidth. However, a high quality microphone is associated with high bandwidth.
Examples disclosed herein include processor circuitry to execute the instructions to at least determine a first signal spectrum corresponding to a first microphone (e.g., the low quality microphone), the first signal spectrum identifying first audio from a first audio source, determine a second signal spectrum corresponding to a second microphone (e.g., the high quality microphone), the second signal spectrum identifying the first audio, the second signal spectrum different from the first signal spectrum, the first microphone different from the second microphone, the second signal spectrum having a first spectral distance to the first signal spectrum, calculate a mask based on the first and second signal spectrums, and generate a third signal spectrum corresponding to the first microphone utilizing the mask and the first signal spectrum, the third signal spectrum different from the first signal spectrum, the third signal spectrum having a second spectral distance to the second signal spectrum, the second spectral distance less than the first spectral distance.
In the illustrated example of
In some examples, the recording arrangement 102 can be an anechoic chamber with the microphones 112, 114 positioned 1 meter (m) away from the audio source 110. However, the recording arrangement can be any positioning of the microphones 112, 114 with respect to the audio source 110. The microphones 112, 114 transmit data (e.g., audio signals) to the computing device 104.
The device 104 can be implemented by any suitable device capable of signal processing (e.g., a laptop computer, a mobile phone, a desktop computer, a server, smart speakers used by dialog agents, wearable devices, etc.). In some examples, the device 104 can be integrated with one or more of the microphones 112, 114 and/or the audio source 110. Additionally or alternatively, the device 104 can receive the audio signals from the microphones 112, 114 remotely (e.g., over the network 106). In some examples, the audio source 110 is a piezoelectric sensor. The device 104 includes the spectrum enhancer circuitry 116 to generate an emulated high quality audio signal.
The spectrum enhancer circuitry 116 processes the audio signals generated by the microphones 112, 114. For example, the spectrum enhancer circuitry 116 uses a Fourier Transform to convert the audio signals from the time domain to the frequency domain. In some examples, the spectrum enhancer circuitry 116 generates signal spectrums for each of the audio signals from the microphones 112, 114. In the illustrated example of
The spectrum enhancer circuitry 116 of the example of
The signal determination circuitry 200 determines (e.g., calculates) the signal spectrums corresponding to each of the microphones (e.g., the microphones 112, 114) to identify audio (e.g., the audio source 110). In some examples, the signal determination circuitry 200 obtains audio signals from the microphones 112, 114 when the microphones 112, 114 have recorded audio from the audio source 110. In some examples, the signal determination circuitry 200 utilizes the Fourier Transform to convert the audio signals corresponding to each of the microphones 112, 114 into signal spectrums, such that the audio signals are described in the frequency domain. The signal spectrums calculated by the signal determination circuitry 200 can include amplitudes and frequencies corresponding to the audio source 110. In some examples, the signal determination circuitry 200 can determine a first signal spectrum and a second signal spectrum corresponding to each of the microphones 112, 114, such that the second signal spectrum has a spectral distance to the first signal spectrum. For example, the signal determination circuitry 200 determines the distance between (e.g., overlap) signal spectrums based on a spectral distance calculation. In some examples, the signal determination circuitry 200 determines spectrums with varying dynamic ranges and/or bandwidth (e.g., sound qualities, audio qualities, recording quality, etc.). For example, the first microphone 112 can have a first dynamic range and the second microphone 114 can have a second dynamic range, the second dynamic range greater than the first dynamic range. Additionally or alternatively, the first microphone 112 can have a first bandwidth and the second microphone 114 can have a second bandwidth, the second bandwidth greater than the first bandwidth.
In some examples, the spectrum enhancer circuitry 116 includes means for determining signal spectrums. For example, the means for determining may be implemented by the signal determination circuitry 200. In some examples, the signal determination circuitry 200 may be instantiated by processor circuitry such as the example processor circuitry 1612 of
Additionally or alternatively, the signal determination circuitry 200 may be instantiated by any other combination of hardware, software, and/or firmware. For example, the signal determination circuitry 200 may be implemented by at least one or more hardware circuits (e.g., processor circuitry, discrete and/or integrated analog and/or digital circuitry, an FPGA, an Application Specific Integrated Circuit (ASIC), a comparator, an operational-amplifier (op-amp), a logic circuit, etc.) structured to execute some or all of the machine readable instructions and/or to perform some or all of the operations corresponding to the machine readable instructions without executing software or firmware, but other structures are likewise appropriate.
The example mask calculator circuitry 202 calculates a mask (e.g., audio mask, spectral mask, etc.) based on the signal spectrums corresponding to each of the microphones 112, 114. In some examples, the mask is a ratio between signal spectrums. For example, the mask calculator circuitry 202 utilizes the amplitudes and frequencies recorded between signal spectrums to calculate the mask (e.g., ratio between amplitudes of the spectrums, ratio between frequencies of the spectrums, etc.). In some examples, the audio mask (e.g., ratio) is a factor bounded from 0 to 1.
In some examples, the spectrum enhancer circuitry 116 includes means for calculating a mask. For example, the means for calculating may be implemented by the mask calculator circuitry 202. In some examples, the mask calculator circuitry 202 may be instantiated by processor circuitry such as the example processor circuitry 1612 of
The example spectrum generator circuitry 204 generates a signal spectrum (e.g., an enhanced signal spectrum) corresponding to at least one of the microphones 112, 114. In some examples, the spectrum generator circuitry 204 can utilize the mask (e.g., audio mask, spectral mask, etc.) to generate the signal spectrum. For example, the spectrum generator circuitry 204 can generate an enhanced signal spectrum corresponding to the first microphone 112 (e.g., the low quality microphone) utilizing the mask calculated between the signal spectrums of the first microphone 112 and the second microphone 114. In some examples, the spectrum generator circuitry 204 can multiply the signal spectrum for the first microphone 112 (e.g., the first signal spectrum) by the mask to generate the enhanced signal spectrum for the first microphone 112. In some examples, the spectrum generator circuitry 204 can generate an enhanced audio signal corresponding to the enhanced signal spectrum using the inverse Fourier Transform. Additionally or alternatively, the spectrum generator circuitry 204 can generate a signal spectrum (e.g., enhanced signal spectrum) based on the spectral distance between the microphones 112, 114. For example, the signal spectrums corresponding to the microphones 112, 114 can have a first spectral distance and the enhanced signal spectrum and the first signal spectrum for the first microphone 112 can have a second spectral distance. The second spectral distance can be less than the first spectral distance. Thus, the spectrum generator circuitry 204 can generate an enhanced signal spectrum for at least one of the microphones 112, 114 (e.g., the low quality microphone) such that the enhanced signal spectrum is a higher quality spectrum and/or audio signal for the at least one of the microphones 112, 114. In some examples, the spectrum generator circuitry 204 generates a signal spectrum corresponding to the microphone 112 utilizing the mask for a second audio source different from the audio source 110. For example, the spectrum generator circuitry 204 can utilize the mask to generate enhanced audio signals for different audio sources and/or different audio content corresponding to the first microphone 112.
In some examples, the spectrum enhancer circuitry 116 includes means for generating a signal spectrum. For example, the means for generating may be implemented by the spectrum generator circuitry 204. In some examples, the spectrum generator circuitry 204 may be instantiated by processor circuitry such as the example processor circuitry 1612 of
In the example schematic 300 of
Additionally or alternatively, the low quality spectrum 306 has less dynamic range (e.g., lower range of amplitudes) than the high quality signal spectrum. In
In example equation 1 above, the mask 502 between the high quality spectrum 308 and the low quality spectrum 306 (MHQ/LQs determined as the spectrum 308 (HQ) divided by the spectrum 306 (LQ). In example equation 1 above, the variables (MHQ/LQ(HQ), and (LQ) can be in vector format.
For example, for the mask at frequency A, equation 1 can be used to divide the amplitude C by the amplitude B. Additionally or alternatively, for the mask at frequency D, equation 1 can be used to divide the amplitude F by the amplitude E. A mask (e.g., ratio, factor, etc.) for each frequency in the audio is calculated by dividing the corresponding amplitudes of the spectrums 306, 308 (e.g., via equation 1Accordingly, a mask vector can be described graphically, as seen in plot 502, for a range of frequencies. Additionally or alternatively, the mask between amplitudes C, A is represented at point 504 on the plot 502 and the mask between amplitudes F, E is represented at point 506 on the plot 502. In some examples, the mask 502 can be a factor (e.g., a vector of factors) bounded between 0 and 1.
The audio enhancement process flow 600 aims to enhance an audio signal (e.g., the audio signal 302) of a low quality microphone (e.g., the microphone 112). In the training phase 602, the neural network 606 (e.g., model) is trained. The high quality microphone 114 and the audio signal 304 are characterized as targets for the neural network 606. Additionally or alternatively, the low quality microphone 112 and the audio signal 302 are characterized as inputs for the neural network 606. In some examples, an output of the training phase 602 is the mask 502.
The example inference phase 604 includes the audio source 110, the low quality microphone 112, the first audio signal 302, the neural network 606, and an enhanced audio signal 608. In the inference phase 604, the trained neural network 606 generates the enhanced audio signal 608 based on the mask 502 and the spectrum 306. Example equation 2, described in detail below, represents an example enhanced spectrum calculation utilizing the mask 502.
=MHQ/LQ*LQ (Equation 2)
In example equation 2 above, the enhanced spectrum () is determined as the mask 502 (MHQ/LQ) multiplied by the low quality spectrum 306 (LQ). In example equation 2 above, the variables (), (MHQ/LQ), and (LQ) can be in vector format.
The enhanced audio signal 608 (e.g., emulated audio signal) can be described as an enhanced signal spectrum 610 in the frequency domain via the Fourier Transform. The enhanced signal spectrum 610 includes a higher bandwidth and a higher dynamic range compared to the low quality spectrum 306. Thus, the enhanced signal spectrum 610 is a higher quality signal spectrum corresponding to the low quality microphone 112.
Additionally or alternatively, the enhanced signal spectrum 610 is similar to the high quality signal spectrum 308. In some examples, the similarity (e.g., overlap) between signal spectrums can be described (e.g., calculated) as a spectral distance. Spectral distance calculations are described in further detail below in conjunction with
The example input 700 can be any number of input data values. In the example of
The first example hidden layer 704 mathematically transforms (e.g., scales, normalizes, maps, etc.) the input 700, using the determined weights 710 and biases 716, to be sent to the second hidden layer 706. The second example hidden layer 706 mathematically transforms the product from the first layer 704, using the determined weights 712 and the biases 718, to be sent to the output layer 708. The example output layer 708 mathematically transforms the product from the second layer 706, using the determined weights 714 and biases 720, to generate (e.g., calculate, determine, etc.) the output 702. In the example of
In
In the example equation 3 above, the spectral distance between functions 1202, 1204 (DGF) is defined as the square root of 1 divided by N, multiplied by the summation of N points (e.g., values of frequency) from n=0 to N, and multiplied by the difference between the function 1202 at n (G(n)) and the function 1204 at n (F(n)). The spectral distance (DGF) can quantify a distance (e.g., differences, overlap, etc.) between the functions 1202, 1204. Additionally or alternatively, the spectral distance (DGF) defines (e.g., outputs) a quantity for similarity (e.g., overlap) between function 1202 and function 1204.
Example equation 4, described in detail below, represents an example spectral distance calculation between the low quality spectrum 306 and the high quality spectrum 308.
In example equation 4 above, the spectral distance between the spectrums 306, 308 (DHL) is determined using the spectrum 308 (H(n)) and the spectrum 306 (L(n)).
Example equation 5, described in detail below, represents an example spectral distance calculation between the enhanced signal spectrum 610 and the high quality signal spectrum 308.
In example equation 5 above, the spectral distance between the spectrums 308, 610 (DHE) is determined using the spectrum 308 (H(n)) and the spectrum 610 (E(n)).
The example enhanced signal spectrum 610 represents an improved quality of an audio signal captured from the microphone 112. As such, the enhanced spectrum 610 will be similar to the high quality spectrum 308. However, this similarity can be quantified with equation 5. For example, the spectral distance (DHE) can equal 3 decibels (dB). In some examples, a spectral distance of 4 dB indicates high similarity between two spectrums. However, a spectral distance of 6 dB can indicate high similarity between two spectrums. Thus, the spectrums 610, 308 can be characterized as similar.
The low quality spectrum 306 and the high quality spectrum 308 of
In some examples, comparing spectral distances can indicate if an enhanced spectrum achieves a higher quality spectrum than a low quality spectrum. For example, comparing (DHL)=10 dB and (DHE)=3 dB demonstrates that (DHE)<(DHL). Accordingly, (DHE)<(DHL) indicates that the enhanced spectrum 610 is a higher quality compared to the low quality spectrum 306.
The enhanced spectrum 610 detects more of the sound (e.g., amplitudes of the sound, frequencies of the sound, etc.) of the high quality spectrum 308 compared to the low quality spectrum 306. Thus, the enhanced spectrum 610 is a higher quality signal than the low quality signal spectrum 306 for the microphone 112. In
While an example manner of implementing the spectrum enhancer circuitry 116 of
Flowcharts representative of example hardware logic circuitry, machine readable instructions, hardware implemented state machines, and/or any combination thereof for implementing the spectrum enhancer circuitry 116 of
The machine readable instructions described herein may be stored in one or more of a compressed format, an encrypted format, a fragmented format, a compiled format, an executable format, a packaged format, etc. Machine readable instructions as described herein may be stored as data or a data structure (e.g., as portions of instructions, code, representations of code, etc.) that may be utilized to create, manufacture, and/or produce machine executable instructions. For example, the machine readable instructions may be fragmented and stored on one or more storage devices and/or computing devices (e.g., servers) located at the same or different locations of a network or collection of networks (e.g., in the cloud, in edge devices, etc.). The machine readable instructions may require one or more of installation, modification, adaptation, updating, combining, supplementing, configuring, decryption, decompression, unpacking, distribution, reassignment, compilation, etc., in order to make them directly readable, interpretable, and/or executable by a computing device and/or other machine. For example, the machine readable instructions may be stored in multiple parts, which are individually compressed, encrypted, and/or stored on separate computing devices, wherein the parts when decrypted, decompressed, and/or combined form a set of machine executable instructions that implement one or more operations that may together form a program such as that described herein.
In another example, the machine readable instructions may be stored in a state in which they may be read by processor circuitry, but require addition of a library (e.g., a dynamic link library (DLL)), a software development kit (SDK), an application programming interface (API), etc., in order to execute the machine readable instructions on a particular computing device or other device. In another example, the machine readable instructions may need to be configured (e.g., settings stored, data input, network addresses recorded, etc.) before the machine readable instructions and/or the corresponding program(s) can be executed in whole or in part. Thus, machine readable media, as used herein, may include machine readable instructions and/or program(s) regardless of the particular format or state of the machine readable instructions and/or program(s) when stored or otherwise at rest or in transit.
The machine readable instructions described herein can be represented by any past, present, or future instruction language, scripting language, programming language, etc. For example, the machine readable instructions may be represented using any of the following languages: C, C++, Java, C#, Perl, Python, JavaScript, HyperText Markup Language (HTML), Structured Query Language (SQL), Swift, etc.
As mentioned above, the example operations of
“Including” and “comprising” (and all forms and tenses thereof) are used herein to be open ended terms. Thus, whenever a claim employs any form of “include” or “comprise” (e.g., comprises, includes, comprising, including, having, etc.) as a preamble or within a claim recitation of any kind, it is to be understood that additional elements, terms, etc., may be present without falling outside the scope of the corresponding claim or recitation. As used herein, when the phrase “at least” is used as the transition term in, for example, a preamble of a claim, it is open-ended in the same manner as the term “comprising” and “including” are open ended. The term “and/or” when used, for example, in a form such as A, B, and/or C refers to any combination or subset of A, B, C such as (1) A alone, (2) B alone, (3) C alone, (4) A with B, (5) A with C, (6) B with C, or (7) A with B and with C. As used herein in the context of describing structures, components, items, objects and/or things, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing structures, components, items, objects and/or things, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. As used herein in the context of describing the performance or execution of processes, instructions, actions, activities and/or steps, the phrase “at least one of A and B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B. Similarly, as used herein in the context of describing the performance or execution of processes, instructions, actions, activities and/or steps, the phrase “at least one of A or B” is intended to refer to implementations including any of (1) at least one A, (2) at least one B, or (3) at least one A and at least one B.
As used herein, singular references (e.g., “a”, “an”, “first”, “second”, etc.) do not exclude a plurality. The term “a” or “an” object, as used herein, refers to one or more of that object. The terms “a” (or “an”), “one or more”, and “at least one” are used interchangeably herein. Furthermore, although individually listed, a plurality of means, elements or method actions may be implemented by, e.g., the same entity or object. Additionally, although individual features may be included in different examples or claims, these may possibly be combined, and the inclusion in different examples or claims does not imply that a combination of features is not feasible and/or advantageous.
At block 1404, the signal determination circuitry 200 determines (e.g., calculates, generates, etc.) first and second signal spectrums identifying the audio. For example, the signal determination circuitry 200 utilizes the Fourier Transform to convert the audio signals 302, 304 corresponding to each of the microphones 112, 114 into signal spectrums 306, 608, such that the audio signals 302, 304 are described in the frequency domain. In some examples, the signal determination circuitry 200 calculates the signal spectrums 306, 308 such that the spectrums 306, 308 include amplitudes and frequencies corresponding to (e.g., describing) the audio source 110. In some examples, the signal determination circuitry 200 can determine the spectrums 306, 308 corresponding to each of the microphones 112, 114, such that the spectrum 308 has a spectral distance (e.g., DHL) to the spectrum 306. For example, the signal determination circuitry 200 can utilize the spectral distance calculation described in
At block 1406, the example mask calculator circuitry 202 calculates a mask (e.g., the mask 502), further described in conjunction with
At block 1408, the example spectrum generator circuitry 204 generates a third signal spectrum. In some examples, the spectrum generator circuitry 204 generates the enhanced signal spectrum 610 and/or the enhanced audio signal 608 corresponding to the first microphone 112. In some examples, the spectrum generator circuitry 204 can utilize the mask 502 (e.g., audio mask, spectral mask, etc.) to generate the signal spectrum 610. For example, the spectrum generator circuitry 204 can generate the enhanced signal spectrum 610 corresponding to the low quality microphone 112 (e.g., the low quality microphone) utilizing the mask 502 calculated between the signal spectrums 306, 308. In some examples, the spectrum generator circuitry 204 can utilize example equation 2 to generate the enhanced signal spectrum 610. However, the spectrum generator circuitry 204 can utilize the neural network 606 and/or the mask 502 to generate the enhanced spectrum 610. In some examples, the spectrum generator circuitry 204 can generate enhanced spectrum 610 for the microphone 112 such that the enhanced signal spectrum 610 is a higher quality spectrum and/or audio signal for the microphone 112. In some examples, the spectrum generator circuitry 204 can convert the enhanced audio signal 608 to the enhanced signal spectrum 610 via an Inverse Fourier Transform. In some examples, the spectrum generator circuitry 204 generates a signal spectrum corresponding to the microphone 112 utilizing the mask 502 for a second audio source different from the audio source 110. For example, the spectrum generator circuitry 204 can utilize the mask 502 to generate enhanced audio signals for different audio sources and/or different audio content corresponding to the first microphone 112.
At block 1410 it is determined whether to repeat the process. If the process is to be repeated (block 1410), control of the process returns to block 1402. Otherwise the process ends.
At block 1502, the example mask calculator circuitry 202 obtains amplitude and frequency data from the second signal spectrum. In some examples, the mask calculator circuitry 202 obtains amplitude (e.g., the amplitude C and/or the amplitude F) and frequency (e.g., the frequency D) data from the high quality spectrum 308 corresponding the second microphone 114.
At block 1504, the example mask calculator circuitry 202 divides the second signal spectrum by the first signal spectrum. In some examples, the mask calculator circuitry 202 divides the spectrum 308 by the spectrum 306. In some examples, the mask calculator circuitry 202 utilizes equation 1 to calculate the mask 502. In some examples, the mask calculator circuitry 202 divides amplitude C by amplitude B to determine the mask 502 at frequency A (e.g., point 504). In some examples, the mask calculator circuitry 202 divides the amplitude F by the amplitude E to determine the mask 502 at frequency D (e.g., point 506). Then, the process ends.
The processor platform 1600 of the illustrated example includes processor circuitry 1612. The processor circuitry 1612 of the illustrated example is hardware. For example, the processor circuitry 1612 can be implemented by one or more integrated circuits, logic circuits, FPGAs, microprocessors, CPUs, GPUs, DSPs, and/or microcontrollers from any desired family or manufacturer. The processor circuitry 1612 may be implemented by one or more semiconductor based (e.g., silicon based) devices. In this example, the processor circuitry 1612 implements the signal determiner circuitry 200, the mask calculator circuitry 202, the spectrum generator circuitry 204, and the spectrum enhancer circuitry 116.
The processor circuitry 1612 of the illustrated example includes a local memory 1613 (e.g., a cache, registers, etc.). The processor circuitry 1612 of the illustrated example is in communication with a main memory including a volatile memory 1614 and a non-volatile memory 1616 by a bus 1618. The volatile memory 1614 may be implemented by Synchronous Dynamic Random Access Memory (SDRAM), Dynamic Random Access Memory (DRAM), RAMBUS® Dynamic Random Access Memory (RDRAM®), and/or any other type of RAM device. The non-volatile memory 1616 may be implemented by flash memory and/or any other desired type of memory device. Access to the main memory 1614, 1616 of the illustrated example is controlled by a memory controller 1617.
The processor platform 1600 of the illustrated example also includes interface circuitry 1620. The interface circuitry 1620 may be implemented by hardware in accordance with any type of interface standard, such as an Ethernet interface, a universal serial bus (USB) interface, a Bluetooth® interface, a near field communication (NFC) interface, a Peripheral Component Interconnect (PCI) interface, and/or a Peripheral Component Interconnect Express (PCIe) interface.
In the illustrated example, one or more input devices 1622 are connected to the interface circuitry 1620. The input device(s) 1622 permit(s) a user to enter data and/or commands into the processor circuitry 1612. The input device(s) 1622 can be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, a button, a mouse, a touchscreen, a track-pad, a trackball, an isopoint device, and/or a voice recognition system.
One or more output devices 1624 are also connected to the interface circuitry 1620 of the illustrated example. The interface circuitry 1620 of the illustrated example, thus, typically includes a graphics driver card, a graphics driver chip, and/or graphics processor circuitry such as a GPU.
The interface circuitry 1620 of the illustrated example also includes a communication device such as a transmitter, a receiver, a transceiver, a modem, a residential gateway, a wireless access point, and/or a network interface to facilitate exchange of data with external machines (e.g., computing devices of any kind) by a network 1626. The communication can be by, for example, an Ethernet connection, a digital subscriber line (DSL) connection, a telephone line connection, a coaxial cable system, a satellite system, a line-of-site wireless system, a cellular telephone system, an optical connection, etc.
The processor platform 1600 of the illustrated example also includes one or more mass storage devices 1628 to store software and/or data. Examples of such mass storage devices 1628 include magnetic storage devices, optical storage devices, floppy disk drives, HDDs, CDs, Blu-ray disk drives, redundant array of independent disks (RAID) systems, solid state storage devices such as flash memory devices and/or SSDs, and DVD drives.
The machine executable instructions 1632, which may be implemented by the machine readable instructions of
The cores 1702 may communicate by a first example bus 1704. In some examples, the first bus 1704 may implement a communication bus to effectuate communication associated with one(s) of the cores 1702. For example, the first bus 1704 may implement at least one of an Inter-Integrated Circuit (I2C) bus, a Serial Peripheral Interface (SPI) bus, a PCI bus, or a PCIe bus. Additionally or alternatively, the first bus 1704 may implement any other type of computing or electrical bus. The cores 1702 may obtain data, instructions, and/or signals from one or more external devices by example interface circuitry 1706. The cores 1702 may output data, instructions, and/or signals to the one or more external devices by the interface circuitry 1706. Although the cores 1702 of this example include example local memory 1720 (e.g., Level 1 (L1) cache that may be split into an L1 data cache and an L1 instruction cache), the microprocessor 1700 also includes example shared memory 1710 that may be shared by the cores (e.g., Level 2 (L2_cache)) for high-speed access to data and/or instructions. Data and/or instructions may be transferred (e.g., shared) by writing to and/or reading from the shared memory 1710. The local memory 1720 of each of the cores 1702 and the shared memory 1710 may be part of a hierarchy of storage devices including multiple levels of cache memory and the main memory (e.g., the main memory 1614, 1616 of
Each core 1702 may be referred to as a CPU, DSP, GPU, etc., or any other type of hardware circuitry. Each core 1702 includes control unit circuitry 1714, arithmetic and logic (AL) circuitry (sometimes referred to as an ALU) 1716, a plurality of registers 1718, the L1 cache 1720, and a second example bus 1722. Other structures may be present. For example, each core 1702 may include vector unit circuitry, single instruction multiple data (SIMD) unit circuitry, load/store unit (LSU) circuitry, branch/jump unit circuitry, floating-point unit (FPU) circuitry, etc. The control unit circuitry 1714 includes semiconductor-based circuits structured to control (e.g., coordinate) data movement within the corresponding core 1702. The AL circuitry 1716 includes semiconductor-based circuits structured to perform one or more mathematic and/or logic operations on the data within the corresponding core 1702. The AL circuitry 1716 of some examples performs integer based operations. In other examples, the AL circuitry 1716 also performs floating point operations. In yet other examples, the AL circuitry 1716 may include first AL circuitry that performs integer based operations and second AL circuitry that performs floating point operations. In some examples, the AL circuitry 1716 may be referred to as an Arithmetic Logic Unit (ALU). The registers 1718 are semiconductor-based structures to store data and/or instructions such as results of one or more of the operations performed by the AL circuitry 1716 of the corresponding core 1702. For example, the registers 1718 may include vector register(s), SIMD register(s), general purpose register(s), flag register(s), segment register(s), machine specific register(s), instruction pointer register(s), control register(s), debug register(s), memory management register(s), machine check register(s), etc. The registers 1718 may be arranged in a bank as shown in
Each core 1702 and/or, more generally, the microprocessor 1700 may include additional and/or alternate structures to those shown and described above. For example, one or more clock circuits, one or more power supplies, one or more power gates, one or more cache home agents (CHAs), one or more converged/common mesh stops (CMSs), one or more shifters (e.g., barrel shifter(s)) and/or other circuitry may be present. The microprocessor 1700 is a semiconductor device fabricated to include many transistors interconnected to implement the structures described above in one or more integrated circuits (ICs) contained in one or more packages. The processor circuitry may include and/or cooperate with one or more accelerators. In some examples, accelerators are implemented by logic circuitry to perform certain tasks more quickly and/or efficiently than can be done by a general purpose processor. Examples of accelerators include ASICs and FPGAs such as those discussed herein. A GPU or other programmable device can also be an accelerator. Accelerators may be on-board the processor circuitry, in the same chip package as the processor circuitry and/or in one or more separate packages from the processor circuitry.
More specifically, in contrast to the microprocessor 1700 of
In the example of
The interconnections 1810 of the illustrated example are conductive pathways, traces, vias, or the like that may include electrically controllable switches (e.g., transistors) whose state can be changed by programming (e.g., using an HDL instruction language) to activate or deactivate one or more connections between one or more of the logic gate circuitry 1808 to program desired logic circuits.
The storage circuitry 1812 of the illustrated example is structured to store result(s) of the one or more of the operations performed by corresponding logic gates. The storage circuitry 1812 may be implemented by registers or the like. In the illustrated example, the storage circuitry 1812 is distributed amongst the logic gate circuitry 1808 to facilitate access and increase execution speed.
The example FPGA circuitry 1800 of
Although
In some examples, the processor circuitry 1612 of
A block diagram illustrating an example software distribution platform 1905 to distribute software such as the example machine readable instructions 1632 of
From the foregoing, it will be appreciated that example systems, methods, apparatus, and articles of manufacture have been disclosed that enhance the audio signal of a low quality microphone. Examples disclosed herein enable high quality sound (e.g., high quality audio signals, high bandwidth, high dynamic range, improved frequency response, etc.) for devices with low cost/low quality microphones. Examples disclosed herein allow a deep learning system to estimate missing information (e.g., bandwidth, range, etc.) for a low cost microphone output to be similar to a high cost microphone output. Examples disclosed herein allow for high quality audio signals using inexpensive equipment. Disclosed systems, methods, apparatus, and articles of manufacture improve the efficiency of using a computing device by enabling use of a low quality microphone to output a high quality audio signal. Disclosed systems, methods, apparatus, and articles of manufacture are accordingly directed to one or more improvement(s) in the operation of a machine such as a computer or other electronic and/or mechanical device.
Example 1 includes an apparatus for enhancing an audio signal, the apparatus comprising at least one memory, instructions, and processor circuitry to execute the instructions to at least determine a first signal spectrum corresponding to a first microphone, the first signal spectrum identifying first audio from a first audio source, determine a second signal spectrum corresponding to a second microphone, the second signal spectrum identifying the first audio, the second signal spectrum different from the first signal spectrum, the first microphone different from the second microphone, the second signal spectrum having a first spectral distance to the first signal spectrum, calculate a mask based on the first and second signal spectrums, and generate a third signal spectrum corresponding to the first microphone utilizing the mask and the first signal spectrum, the third signal spectrum different from the first signal spectrum, the third signal spectrum having a second spectral distance to the second signal spectrum, the second spectral distance less than the first spectral distance.
Example 2 includes the apparatus of example 1, wherein the processor circuitry is to at least generate a fourth signal spectrum corresponding to the first microphone utilizing the mask, the fourth signal spectrum identifying second audio from a second audio source, the second audio different from the first audio, the second audio source different from the first audio source.
Example 3 includes the apparatus of example 1, wherein the second spectral distance is in a range from 4 decibels (dB) to 6 dB.
Example 4 includes the apparatus of example 1, wherein the processor circuitry is to at least obtain a first audio signal from the first microphone, the first signal spectrum generated from the first audio signal via a Fourier transform, the first signal spectrum including amplitudes and frequencies corresponding to the first audio.
Example 5 includes the apparatus of example 1, wherein the processor circuitry is to at least obtain a second audio signal from the second microphone, the second signal spectrum generated from the second audio signal via a Fourier transform, the second signal spectrum including amplitudes and frequencies corresponding to the first audio.
Example 6 includes the apparatus of example 1, wherein the third signal spectrum is an enhanced signal spectrum corresponding to the first microphone.
Example 7 includes the apparatus of example 1, wherein the mask is a ratio between the second signal spectrum and the first signal spectrum.
Example 8 includes the apparatus of example 7, wherein the ratio is a factor, the factor bounded from 0 to 1.
Example 9 includes the apparatus of example 8, wherein the processor circuitry is to multiply the first signal spectrum by the factor to generate the third signal spectrum.
Example 10 includes the apparatus of example 1, wherein the first signal spectrum has a first bandwidth and the second signal spectrum has a second bandwidth, the second bandwidth greater than the first bandwidth.
Example 11 includes the apparatus of example 1, wherein the first signal spectrum has a first dynamic range and the second signal spectrum has a second dynamic range, the second dynamic range greater than the first dynamic range.
Example 12 includes the apparatus of example 1, wherein the third signal spectrum is generated via a neural network, the neural network utilizing the mask.
Example 13 includes at least one non-transitory computer readable medium comprising computer readable instructions that, when executed, cause at least one processor to at least determine a first signal spectrum corresponding to a first microphone, the first signal spectrum identifying first audio from a first audio source, determine a second signal spectrum corresponding to a second microphone, the second signal spectrum identifying the first audio, the second signal spectrum different from the first signal spectrum, the first microphone different from the second microphone, the second signal spectrum having a first spectral distance to the first signal spectrum, calculate a mask based on the first and second signal spectrums, and generate a third signal spectrum corresponding to the first microphone utilizing the mask, the third signal spectrum different from the first signal spectrum, the third signal spectrum having a second spectral distance to the second signal spectrum, the second spectral distance less than the first spectral distance.
Example 14 includes the at least one non-transitory computer readable medium of example 13, wherein the instructions cause the at least one processor to generate a fourth signal spectrum corresponding to the first microphone utilizing the mask, the fourth signal spectrum identifying second audio from a second audio source, the second audio different from the first audio, the second audio source different from the first audio source.
Example 15 includes the at least one non-transitory computer readable medium of example 13, wherein the second spectral distance is in a range from 4 decibels (dB) to 6 dB.
Example 16 includes the at least one non-transitory computer readable medium of example 13, wherein the instructions cause the at least one processor to obtain a first audio signal from the first microphone, the first signal spectrum generated from the first audio signal via a Fourier transform, the first signal spectrum including amplitudes and frequencies corresponding to the first audio.
Example 17 includes the at least one non-transitory computer readable medium of example 13, wherein the instructions cause the at least one processor to obtain a second audio signal from the second microphone, the second signal spectrum generated from the second audio signal via a Fourier transform, the second signal spectrum including amplitudes and frequencies corresponding to the first audio.
Example 18 includes the at least one non-transitory computer readable medium of example 13, wherein the third signal spectrum is an enhanced signal spectrum corresponding to the first microphone.
Example 19 includes the at least one non-transitory computer readable medium of example 13, wherein the mask is a ratio between the second signal spectrum and the first signal spectrum.
Example 20 includes the at least one non-transitory computer readable medium of example 19, wherein the ratio is a factor, the factor bounded from 0 to 1.
Example 21 includes the at least one non-transitory computer readable medium of example 20, wherein the instructions cause the at least one processor to multiply the first signal spectrum by the factor to generate the third signal spectrum.
Example 22 includes the at least one non-transitory computer readable medium of example 13, wherein the first signal spectrum has a first bandwidth and the second signal spectrum has a second bandwidth, the second bandwidth greater than the first bandwidth.
Example 23 includes the at least one non-transitory computer readable medium of example 13, wherein the first signal spectrum has a first dynamic range and the second signal spectrum has a second dynamic range, the second dynamic range greater than the first dynamic range.
Example 24 includes the at least one non-transitory computer readable medium of example 13, wherein the third signal spectrum is generated via a neural network, the neural network utilizing the mask.
Example 25 includes a method comprising determining a first signal spectrum corresponding to a first microphone, the first signal spectrum identifying first audio from a first audio source, determining a second signal spectrum corresponding to a second microphone, the second signal spectrum identifying the first audio, the second signal spectrum different from the first signal spectrum, the first microphone different from the second microphone, the second signal spectrum having a first spectral distance to the first signal spectrum, calculating a mask based on the first and second signal spectrums, and generating a third signal spectrum corresponding to the first microphone utilizing the mask, the third signal spectrum different from the first signal spectrum, the third signal spectrum having a second spectral distance to the second signal spectrum, the second spectral distance less than the first spectral distance.
Example 26 includes the method of example 25, further including generating a fourth signal spectrum corresponding to the first microphone utilizing the mask, the fourth signal spectrum identifying second audio from a second audio source, the second audio different from the first audio, the second audio source different from the first audio source.
Example 27 includes the method of example 25, wherein the second spectral distance is in a range from 4 decibels (dB) to 6 dB.
Example 28 includes the method of example 25, further including obtaining a first audio signal from the first microphone, the first signal spectrum generated from the first audio signal via a Fourier transform, the first signal spectrum including amplitudes and frequencies corresponding to the first audio.
Example 29 includes the method of example 25, further including obtaining a second audio signal from the second microphone, the second signal spectrum generated from the second audio signal via a Fourier transform, the second signal spectrum including amplitudes and frequencies corresponding to the first audio.
Example 30 includes the method of example 25, wherein the third signal spectrum is an enhanced signal spectrum corresponding to the first microphone.
Example 31 includes the method of example 25, wherein the mask is a ratio between the second signal spectrum and the first signal spectrum.
Example 32 includes the method of example 31, wherein the ratio is a factor, the factor bounded from 0 to 1.
Example 33 includes the method of example 32, further including multiplying the first signal spectrum by the factor to generate the third signal spectrum.
Example 34 includes the method of example 25, wherein the first signal spectrum has a first bandwidth and the second signal spectrum has a second bandwidth, the second bandwidth greater than the first bandwidth.
Example 35 includes the method of example 25, wherein the first signal spectrum has a first dynamic range and the second signal spectrum has a second dynamic range, the second dynamic range greater than the first dynamic range.
Example 36 includes the method of example 25, wherein the generating the third signal spectrum further includes generating the third signal spectrum via a neural network, the neural network utilizing the mask.
Example 37 includes an apparatus comprising means for determining to determine a first signal spectrum corresponding to a first microphone, the first signal spectrum identifying first audio from a first audio source, determine a second signal spectrum corresponding to a second microphone, the second signal spectrum identifying the first audio, the second signal spectrum different from the first signal spectrum, the first microphone different from the second microphone, the second signal spectrum having a first spectral distance to the first signal spectrum, means for calculating to calculate a mask based on the first and second signal spectrums, and means for generating to generate a third signal spectrum corresponding to the first microphone utilizing the mask, the third signal spectrum different from the first signal spectrum, the third signal spectrum having a second spectral distance to the second signal spectrum, the second spectral distance less than the first spectral distance.
Example 38 includes the apparatus of example 37, wherein the means for generating is to generate a fourth signal spectrum corresponding to the first microphone utilizing the mask, the fourth signal spectrum identifying second audio from a second audio source, the second audio different from the first audio, the second audio source different from the first audio source.
Example 39 includes the apparatus of example 37, wherein the second spectral distance is in a range from 4 decibels (dB) to 6 dB.
Example 40 includes the apparatus of example 37, wherein the means for determining is to obtain a first audio signal from the first microphone, the first signal spectrum generated from the first audio signal via a Fourier transform, the first signal spectrum including amplitudes and frequencies corresponding to the first audio.
Example 41 includes the apparatus of example 37, wherein the means for determining is to obtain a second audio signal from the second microphone, the second signal spectrum generated from the second audio signal via a Fourier transform, the second signal spectrum including amplitudes and frequencies corresponding to the first audio.
Example 42 includes the apparatus of example 37, wherein the third signal spectrum is an enhanced signal spectrum corresponding to the first microphone.
Example 43 includes the apparatus of example 37, wherein the mask is a ratio between the second signal spectrum and the first signal spectrum.
Example 44 includes the apparatus of example 43, wherein the ratio is a factor, the factor bounded from 0 to 1.
Example 45 includes the apparatus of example 44, wherein the means for generating is to multiply the first signal spectrum by the factor to generate the third signal spectrum.
Example 46 includes the apparatus of example 37, wherein the first signal spectrum has a first bandwidth and the second signal spectrum has a second bandwidth, the second bandwidth greater than the first bandwidth.
Example 47 includes the apparatus of example 37, wherein the first signal spectrum has a first dynamic range and the second signal spectrum has a second dynamic range, the second dynamic range greater than the first dynamic range.
Example 48 includes the apparatus of example 37, wherein the means for generating is to generate the third signal spectrum via a neural network, the neural network utilizing the mask.
The following claims are hereby incorporated into this Detailed Description by this reference. Although certain example systems, methods, apparatus, and articles of manufacture have been disclosed herein, the scope of coverage of this patent is not limited thereto. On the contrary, this patent covers all systems, methods, apparatus, and articles of manufacture fairly falling within the scope of the claims of this patent.