hough transform is performed on the point groups forming two dimensional data to generate a plurality of loci respectively corresponding to each of the point groups in a hough voting space. When adding a voting value to a position in the hough voting space through which the plurality of loci passes, addition is performed by varying the voting value based on a level difference between first and second signals respectively indicated by the two pieces of frequency decomposition information.
|
5. An acoustic signal processing method comprising:
inputting a plurality of acoustic signals obtained by a plurality of microphones arranged at different positions;
decomposing each acoustic signal into a plurality of frequency components, and for each frequency component, generating frequency decomposition information for which a signal level and a phase have been associated, for each of the acoustic signals;
computing a phase difference between two predetermined pieces of the frequency decomposition information, for each corresponding frequency component;
converting into two dimensional data made up of point groups arranged on a two-dimensional coordinate system having a frequency component as a first axis and a phase difference as a second axis;
performing hough transform on the point groups, generating a plurality of loci respectively corresponding to each of the point groups in a hough voting space, and when adding a voting value to a position in the hough voting space through which the plurality of loci passes, performing addition by varying the voting value based on a level difference between first and second signal levels respectively indicated by the two pieces of frequency decomposition information; and
retrieving a position where the voting value becomes maximum to detect, from the two-dimensional data, a shape which corresponds to the retrieved position, which indicates a proportional relationship between the frequency component and the phase difference, and which is used to estimate a sound source direction of each of the acoustic signals.
9. A non-transitory computer readable medium storing an acoustic signal processing program for causing a computer to execute instructions to perform steps of:
inputting a plurality of acoustic signals obtained by a plurality of microphones arranged at different positions;
decomposing each acoustic signal into a plurality of frequency components, and for each frequency component, generating frequency decomposition information for which a signal level and a phase have been associated, for each of the acoustic signals;
computing a phase difference between two predetermined pieces of the frequency decomposition information, for each corresponding frequency component;
converting into two dimensional data made up of point groups arranged on a two-dimensional coordinate system having a frequency component as a first axis and a phase difference as a second axis;
performing hough transform on the point groups, generating a plurality of loci respectively corresponding to each of the point groups in a hough voting space, and when adding a voting value to a position in the hough voting space through which the plurality of loci passes, performing addition by varying the voting value based on a level difference between first and second signal levels respectively indicated by the two pieces of frequency decomposition information; and
retrieving a position where the voting value becomes maximum to detect, from the two-dimensional data, a shape which corresponds to the retrieved position, which indicates a proportional relationship between the frequency component and the phase difference, and which is used to estimate a sound source direction of each of the acoustic signals.
1. An acoustic signal processing apparatus comprising:
an acoustic signal inputting unit configured to input a plurality of acoustic signals obtained by a plurality of microphones arranged at different positions;
a frequency decomposing unit configured to respectively decompose each acoustic signal into a plurality of frequency components, and for each frequency component, generate frequency decomposition information for which a signal level and a phase have been associated;
a phase difference computing unit configured to compute a phase difference between two predetermined pieces of the frequency decomposition information, for each corresponding frequency component;
a two-dimensional data converting unit configured to convert into two dimensional data made up of point groups arranged on a two-dimensional coordinate system having a frequency component as a first axis and a phase difference as a second axis;
a voting unit configured to perform hough transform on the point groups, generate a plurality of loci respectively corresponding to each of the point groups in a hough voting space, and when adding a voting value to a position in the hough voting space through which the plurality of loci passes, perform addition by varying the voting value based on a level difference between first and second signal levels respectively indicated by the two pieces of frequency decomposition information; and
a shape detecting unit configured to retrieve a position where the voting value becomes maximum to detect, from the two-dimensional data, a shape which corresponds to the retrieved position, which indicates a proportional relationship between the frequency component and the phase difference, and which is used to estimate a sound source direction of each of the acoustic signals.
2. The apparatus according to
3. The apparatus according to
4. The apparatus according to
a sound source information generating unit configured to generate sound source information based on the plurality of associated sound source candidate information, and
an outputting unit configured to output the sound source information.
6. The method according to
7. The method according to
8. The method according to
generating sound source information based on the plurality of associated sound source candidate information, and
outputting the sound source information.
10. The medium according to
11. The medium according to
12. The medium according to
generating sound source information based on the plurality of associated sound source candidate information, and
outputting the sound source information.
|
This application is based upon and claims the benefit of priority from the prior Japanese Patent Applications No. 2006-259343, filed on Sep. 25, 2006; the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to an apparatus for processing acoustic signals, and in particular, to an apparatus capable of estimating the number of sources of sound waves propagating through a medium, the directions of the sources, and the frequency components of the sound waves arriving from the sources.
2. Related Art
Over recent years, in the field of robot audition research, methods have been proposed for estimating a number of a plurality of object source sounds in a noise environment and directions thereof (sound source specification), and separating and extracting the respective source sounds (sound source separation).
For instance, according to Asano, Futoshi, “Separating Sound”, Journal of the Society of Instrument and Control Engineers, Vol. 43, No. 4, 325-330, April 2004 described below, a method is presented in which, in a given environment with background noise, “N” number of source sounds are observed using “M” number of microphones, a spatial correlation matrix is generated from data obtained by performing fast Fourier transform (FFT) processing on the respective microphone outputs, and obtaining major eigenvalues with large values by performing eigenvalue decomposition on the matrix in order to estimate “N” number of sound sources in the form of the number of the major eigenvalues. This method is based on the characteristics that directional signals such as a source sound are mapped on major eigenvalues while nondirectional background noise is mapped on all eigenvalues. Eigenvectors corresponding to major eigenvalues become basis vectors of a signal partial space spread by signals from the sound sources, and the eigenvectors corresponding to the remaining eigenvalues become basis vectors of a noise partial space spread by background noise signals. By applying the MUSIC method using the basis vectors in the noise partial space, position vectors of the respective sound sources may be retrieved, and sound from the sound sources may be extracted by a beam former provided with directivities in the retrieved directions. However, when the number of sound sources “N” is equivalent to the number of microphones “M”, a noise partial space cannot be defined. In addition, when the number of sound sources “N” exceeds the number of microphones “M”, undetectable sound sources will exist. Accordingly, the number of sound sources which may be estimated will never equal or exceed the number of microphones “M”. While this method does not particularly impose any significant limitations regarding sound sources and is also mathematically aesthetic, the method does impose a limitation in that addressing a large number of sound sources will require a greater number of microphones.
Additionally, for instance, according to Nakadai, Kazuhiro, et al., “Real-Time Active Human Tracking by Hierarchical Integration of Audition and Vision”, The Japanese Society for Artificial Intelligence AI Challenge Study Group, SIG-Challenge-0113-5, 35-42, June 2001 described below, a method is proposed in which sound source specification and sound source separation are performed using a single pair of microphones. This method focuses on a harmonic structure (a frequency structure made up of a basic frequency and harmonics thereof) that is unique to sound produced through a tube (articulator) such as a human voice. By detecting harmonic structures with different basic frequencies from data obtained by Fourier-transforming acoustic signals captured by microphones, the method deems the number of detected harmonic structures to be the number of speakers, and estimates the directions of the speakers with belief factors using an interaural phase difference (IPD) and interaural intensity difference (IID) of each harmonic structure to estimate each source sound from the harmonic structures themselves. By detecting a plurality of harmonic structures from Fourier-transformed data, this method is capable of processing a greater number of sound sources than microphones. However, since a fundamental portion of the estimation of the number and directions of sound sources and source sounds is based on harmonic structures, the method is only capable of handling sound sources that have harmonic structures such as a human voice, and is unable to sufficiently respond to various sounds.
As described above, conventional techniques are faced with warring problems in that (1) if no limitations are imposed on sound sources, the number of sound sources may not equal or exceed the number of microphones, and (2) when arranging the number of sound sources to equal or exceed the number of microphones, limitations such as assumption of a harmonic structure must be imposed on sound sources. As a result, no methods have been established which is capable of handling a number of sound sources that exceeds the number of microphones without limiting sound sources.
According to an aspect of the present invention, there is provided with an acoustic signal processing apparatus comprising:
an acoustic signal inputting unit configured to input a plurality of acoustic signals obtained by a plurality of microphones arranged at different positions;
a frequency decomposing unit configured to respectively decompose each acoustic signal into a plurality of frequency components, and for each frequency component, generate frequency decomposition information for which a signal level and a phase have been associated;
a phase difference computing unit configured to compute a phase difference between two predetermined pieces of the frequency decomposition information, for each corresponding frequency component;
a two-dimensional data converting unit configured to convert into two dimensional data made up of point groups arranged on a two-dimensional coordinate system having a frequency component function as a first axis and a phase difference function as a second axis;
a voting unit configured to perform Hough transform on the point groups, generate a plurality of loci respectively corresponding to each of the point groups in a Hough voting space, and when adding a voting value to a position in the Hough voting space through which the plurality of loci passes, perform addition by varying the voting value based on a level difference between first and second signal levels respectively indicated by the two pieces of frequency decomposition information; and
a shape detecting unit configured to retrieve a position where the voting value becomes maximum to detect, from the two-dimensional data, a shape which corresponds to the retrieved position, which indicates a proportional relationship between the frequency component and the phase difference, and which is used to estimate a sound source direction of each of the acoustic signals.
According to an aspect of the present invention, there is provided with an acoustic signal processing method comprising:
inputting a plurality of acoustic signals obtained by a plurality of microphones arranged at different positions;
decomposing each acoustic signal into a plurality of frequency components, and for each frequency component, generating frequency decomposition information for which a signal level and a phase have been associated, for each of the acoustic signals;
computing a phase difference between two predetermined pieces of the frequency decomposition information, for each corresponding frequency component;
convert into two dimensional data made up of point groups arranged on a two-dimensional coordinate system having a frequency component function as a first axis and a phase difference function as a second axis;
performing Hough transform on the point groups, generating a plurality of loci respectively corresponding to each of the point groups in a Hough voting space, and when adding a voting value to a position in the Hough voting space through which the plurality of loci passes, performing addition by varying the voting value based on a level difference between first and second signal levels respectively indicated by the two pieces of frequency decomposition information; and
retrieving a position where the voting value becomes maximum to detect, from the two-dimensional data, a shape which corresponds to the retrieved position, which indicates a proportional relationship between the frequency component and the phase difference, and which is used to estimate a sound source direction of each of the acoustic signals.
According to an aspect of the present invention, there is provided with a computer readable medium storing an acoustic signal processing program for causing a computer to execute instructions to perform steps of:
inputting a plurality of acoustic signals obtained by a plurality of microphones arranged at different positions;
decomposing each acoustic signal into a plurality of frequency components, and for each frequency component, generating frequency decomposition information for which a signal level and a phase have been associated, for each of the acoustic signals;
compute a phase difference between two predetermined pieces of the frequency decomposition information, for each corresponding frequency component;
convert into two dimensional data made up of point groups arranged on a two-dimensional coordinate system having a frequency component function as a first axis and a phase difference function as a second axis;
performing Hough transform on the point groups, generating a plurality of loci respectively corresponding to each of the point groups in a Hough voting space, and when adding a voting value to a position in the Hough voting space through which the plurality of loci passes, performing addition by varying the voting value based on a level difference between first and second signal levels respectively indicated by the two pieces of frequency decomposition information; and
retrieving a position where the voting value becomes maximum to detect, from the two-dimensional data, a shape which corresponds to the retrieved position, which indicates a proportional relationship between the frequency component and the phase difference, and which is used to estimate a sound source direction of each of the acoustic signals.
Hereinafter, embodiments of an acoustic signal processing apparatus according to the present invention will be described with reference to the drawings.
(Overall Configuration)
The “n” number of microphones 1a to 1c form “m” number of pairs, where “m” is two or more, and each pair is a combination of two microphones that are different from each other. Amplitude data for “n” channels inputted via the microphones 1a to 1c and the acoustic signal inputting unit 2 are respectively converted into frequency decomposition information by the frequency decomposing unit 3. The two-dimensional data converting unit 4 calculates a phase difference for each frequency from the pair of two pieces of frequency decomposition information. The calculated per-frequency phase difference is given a two-dimensional coordinate value (x, y) and thus converted into two-dimensional data. By arranging the two-dimensional data in a temporal sequence, the data becomes three-dimensional data with an added temporal axis. The shape detecting unit 5 analyzes the generated two-dimensional data on an XY plane or the three-dimensional data in an XYT space with an added temporal axis to detect a predetermined shape. This detection is respectively performed on the “m” number of pairs. In addition, each of the detected shapes is candidate information that suggests the existence of a sound source. The shape collating unit 6 processes information on detected shapes, and estimates and associates shapes derived from a same sound source among sound source candidates of different pairs. The sound source information generating unit 7 processes the associated sound source candidate information to generate sound source information that includes: a number of sound sources; a spatial existence range of each sound source; a temporal existence duration of a sound emitted by each sound source; a component configuration of each source sound; a separated sound for each sound source; and symbolic contents of each source sound. The outputting unit 8 outputs the information, and the user interface unit 9 presents various setting values to a user, accepts setting inputs from the user, saves setting values to an external storage device, reads out setting values from the external storage device, and presents various information or various intermediate derived data to the user.
This acoustic signal processing apparatus is capable of detecting not only human voices but various sound sources from background noise, as long as the sound source emits a small number of intense frequency components or a large number of weak frequency components, and is also capable of detecting a number of sound sources that exceeds the number of microphones.
In this case, estimation of not only the direction of a sound source but also a spatial position thereof is made possible by performing, from a pair of microphones, an estimation of a number and directions of sound sources as sound source candidates, and collating and integrating results thereof for a plurality of pairs. In addition, with respect to a sound source that exists in a direction with conditions that are adverse in relation to a single microphone pair, high-quality extraction and identification of a source sound from data from a microphone pair under preferable conditions may be performed by selecting an appropriate microphone pair for a single sound source from a plurality of microphone pairs.
(Basic Concept of Sound Source Estimation Based on a Phase Difference of Each Frequency Component)
The microphones 1a to 1c are “n” number of microphones arranged with a predetermined distance between each other in a medium such as air, and are means for respectively converting medium vibrations (sound waves) at different “n” points into electrical signals (acoustic signals). The “n” number of microphones form “m” number of pairs, where “m” is two or more and where each pair is a combination of two microphones that are different from each other.
The acoustic signal inputting unit 2 is means for generating, as a time series, digitized amplitude data for “n” channels by periodically performing A/D conversion of acoustic signals of “n” channels from microphones 1a to 1c at a predetermined sampling period Fr.
Assuming that the sound source is significantly distant in comparison to the distance between microphones, a wavefront 101 of a sound wave emitted by a sound source 100 and arriving at a microphone pair is substantially planar, as shown in
In Reference Document 1: Suzuki, Kaoru et al., “Realization of a ‘Come When Called’ F unction in Home Robots Using Visual Auditory Coordination”, Collected Speeches and Papers from the 4th System Integration Division Annual Conference (SI2003) of The Society of Instrument and Control Engineers”, 2F4-5, 2003, a method is disclosed for deriving an arrival time difference ΔT between two acoustic signals (reference numerals 103 and 104 in
In consideration thereof, the present embodiment is arranged to decompose and analyze inputted amplitude data into a phase difference for each frequency component. Through this arrangement, for a frequency component that is specific to each sound source, a phase difference corresponding to the direction of the sound source is observed between two pieces of data even when a plurality of sound sources exist. Therefore, if the phase differences for respective frequency components may be grouped in similar directions without having to assume a strong limitation on sound sources, it should be possible to understand, for a wider variety of sound source types, how many sound sources exist, in what directions are the respective sound sources located, and what kind of sound waves of characteristic frequency components are primarily emitted by the sound sources. While the logic itself is extremely straightforward, the actual analysis of data presents several challenges to be overcome. These challenges, together with a function block for performing this grouping (the frequency decomposing unit 3, the two-dimensional data converting unit 4 and the shape detecting unit 5), will be described below.
(Frequency Decomposing Unit 3)
A common method for decomposing amplitude data into frequency components is the fast Fourier transform (FFT). Known typical algorithms include the Cooley-Turkey DFT algorithm.
As shown in
As shown in
The fast Fourier-transformed data generated at this point is data obtained by decomposing the amplitude data of the relevant frame into N/2 number of frequency components, and is arranged so that a real part R[k] and an imaginary part I[k] within the buffer 122 for a “k”th frequency component fk represents a point Pk on a complex coordinate system 123, as shown in
When the sampling frequency is given by Fr [Hz] and the frame length is given by “N” [samples], “k” takes an integer value ranging from 0 to (N/2)−1, where k=0 represents 0 [Hz] (a direct current) and k=(N/2)−1 represents Fr/2 [Hz] (the highest frequency component), and a frequency of each “k” is obtained by equally dividing therebetween by a frequency resolution Δf=(Fr/2)/((N/2)−1) [Hz]. This frequency may be expressed as fk=k·Δf.
Incidentally, as described earlier, the frequency decomposing unit 3 generates, as a time series, frequency-decomposed data made up of a power value and a phase value for each frequency of inputted amplitude data by consecutively performing this processing at predetermined intervals (the frame shift amount Fs).
(Two-Dimensional Data Converting Unit 4 and Shape Detecting Unit 5)
As shown in
(Phase Difference Computing Unit 301)
The phase difference computing unit 301 is means for comparing two pieces of frequency-decomposed data “a” and “b” for the same period obtained from the frequency decomposing unit 3 to generate a-b phase difference data obtained by calculating differences between phase values of “a” and “b” for the same respective frequency components. As shown in
(Coordinate Value Determining Unit 302)
The coordinate value determining unit 302 is means for determining coordinate value for handling phase difference data obtained, based on phase difference data computed by the phase difference computing unit 301, by calculating the difference between both phase values on each frequency component as a point on a predetermined two-dimensional XY coordinate system. An X coordinate value “x” (fk) and a Y coordinate value “y” (fk) corresponding to the phase difference ΔPh (fk) for a given frequency component fk is determined by the formulas shown in
(Frequency Proportionality of Phase Differences With Respect to Same Temporal Difference)
With the phase differences of respective frequency components that are computed by the phase difference computing unit 301 as shown in
(Circularity of Phase Difference)
However, phase differences between both microphones are proportional to frequencies across the entire range as shown in
An available phase value of each frequency may only be obtained with a width of 2π as a value of the angle of rotation shown in
(Phase Difference when a Plurality of Sound Sources Exists)
On the other hand, in a case where sound waves are emitted from a plurality of sound sources, a plot diagram of frequencies and phase differences will appear as schematically shown in
The issue of estimating the number and directions of sound sources according to the present embodiment boils down to the issue of discovering straight lines such as those shown in such plot diagrams. In addition, the issue of estimating the frequency components for each sound source boils down to the issue of selecting frequency components that are arranged at positions in the proximity of the detected straight lines. In consideration thereof, two-dimensional data outputted by the two-dimensional data converting unit 4 according to the apparatus of the present embodiment is arranged as a point group determined as a function of a frequency and a phase difference using two of the pieces of frequency-decomposed data from the frequency decomposing unit 3, or as an image obtained by arranging (plotting) the point group onto a two-dimensional coordinate system. Incidentally, the two-dimensional data is defined by two axes excluding a temporal axis, and as a result, three-dimensional data as a time series of two-dimensional data may be defined. It is assumed that the shape detecting unit 5 detects a linear arrangement from point group arrangements obtained as such two-dimensional data (or three-dimensional data as time series thereof) as a shape.
(Voting Unit 303)
The voting unit 303 is means for applying, as will be described later, Linear Hough transform to each frequency component given (x, y) coordinates by the coordinate value determining unit 302, and voting a locus thereof onto a Hough voting space according to a predetermined method. While Hough transform is described on pages 100 to 102 in Reference Document 2: Okazaki, Akio, “Image Processing for Beginners”, Kogyo Chosakai Publishing, Inc., published Oct. 20, 2000, a re-outline will now be provided.
(Linear Hough Transform)
As schematically shown in
While a Hough curve may be independently obtained for each point on an XY coordinate system, as shown in
(Hough Voting)
The engineering method referred to as Hough voting is used for detecting a straight line from a point group. This method arranges voting to be performed on sets of θ and ρ through which each locus passes in a two-dimensional Hough voting space having θ and ρ as its coordinate axes to cause a position having a large number of votes in the Hough voting space suggest a set of θ and ρ through which a significant number of loci passes through or, in other words, suggest the presence of a straight line. Generally, a two-dimensional array (Hough voting space) having a sufficient size as a necessary retrieval range for θ and ρ is first prepared and initialized by 0. Next, a locus for each point is obtained through Hough transform, and a value on the array through which the locus passes through is incremented by one. This procedure is referred to as Hough voting. Once voting on loci is completed for all points, it is determined that: straight lines do not exist at a position having no votes (through which no loci passes), a straight line passing through a single point exists at a position having one vote (through which one loci passes); a straight line passing through two points exists at a position having two votes (through which two loci passes); and a straight line passing through “n” number of points exists at a position having “n” number of votes (through which “n” number of loci passes). If the resolution of the Hough voting space may reach infinite, as described above, only a point through which loci passes will gain a number of votes corresponding to the number of loci passing through that point. However, since an actual Hough voting space is quantized with respect to θ and ρ using a suitable resolution, a high vote distribution will also occur in the periphery of a position at which a plurality of loci intersect each other. Therefore, it will be required that positions at which loci intersect are obtained with greater accuracy by searching for positions having a peak value from the vote distribution in the Hough voting space.
The voting unit 303 performs Hough voting on frequency components that fulfill all conditions presented below. Under such conditions, only frequency components in a predetermined frequency band and having power equal to or exceeding a predetermined threshold will be voted.
(Voting condition 1) Components for which frequencies are within a predetermined range (low and high frequency cut-off)
(Voting condition 2) Components fk for which a power P (fk) thereof is equal to or exceeds a predetermined threshold
Voting condition 1 is used for the purposes of cutting off low frequencies that generally carry dark noise and high frequencies in which the accuracy of FFT declines. Ranges of low and high frequency cutoff are adjustable according to operations. In a case of using a widest possible frequency band, a suitable setting will involve cutting off only direct current components as a low frequency and omitting only the maximum frequency as a high frequencies.
It is contemplated that the reliability of FFT results is not high for extremely weak frequency components comparable to dark noise. Voting condition 2 is used for the purpose of disallowing such frequency components with low reliability from participating in voting by performing threshold processing using power. Assuming that the microphone 1a has a power value of Po1 (fk) and the microphone 1b has a power value of Po2 (fk), there are three conceivable methods for determining power P (fk) to be evaluated at this point. Incidentally, the condition to be used may be set according to operations.
(Average Value): The Average Value of Po1 (fk) and Po2 (fk)
This condition requires that both powers to be moderately strong.
(Minimum value): The smaller of Po1 (fk) and Po2 (fk)
This condition requires that both powers to be at least equal to or greater than a threshold.
(Maximum value): The greater of Po1 (fk) and Po2 (fk)
Under this condition, voting will be performed even if one power is less than a threshold when the other is sufficiently strong.
In addition, the voting unit 303 is capable of performing the two addition methods described below during voting.
(Addition method 1) Adding a predetermined fixed value (e.g. 1) to a passed position of a locus.
(Addition method 2) Adding a function value of power P (fk) of the frequency component fk to a passed position of a locus.
Addition method 1 is a method that is commonly used with respect to the issue of straight line detection using Hough transform, and since votes are ranked in proportion to the number of passed points, the method is suitable for preferentially detecting straight lines (in other words, sound sources) which includes many frequency components. In this case, since no limitations (requiring that included frequencies are arranged in regular intervals) are imposed on the harmonic structure of frequency components included in straight lines, it is possible to detect not only human sounds but a wider variety of sound sources.
In addition, addition method 2 is a method that allows a superordinate peak value to be obtained if a frequency component with high power is included, even when the number of passed points is small. The method is suitable for detecting straight lines (in other words, sound sources) having dominant components with high power even if the number of frequency components is small. The function value of power P(fk) according to the addition method 2 is calculated as G(P(fk)).
Accordingly, an even wider variety of sound source types will be detectable.
(Sound Source Specification (Sound Source Direction Estimation) Processing According to the Present Embodiment))
During sound source direction estimation processing, in the event that Hough transform is performed on a frequency-phase difference space mapped using an arbitrary frame and, for instance, voting is performed by setting the voting value to a constant value (maximum value or minimum value) when voting to the voting space, a problem arises in that sound source direction will not be estimated correctly if the sound volume level difference of sound data between microphones is significant.
This problem occurs because information on which of the microphones has acquired a sound volume level that is greater by how much has not been reflected. In other words, while voting values will differ for each frequency by using the above-described addition method 2, the fact that the same voting value will be cast for all angles for the same frequency will result in information regarding sound volume level differences not being reflected onto the results of sound source direction estimation processing.
In comparison, in the present embodiment, IID (Interaural Intensity Difference) is introduced for estimating sound source directions. For instance, when voting a point in a phase difference-frequency space using Hough transform in order to estimate sound source directions in a microphone array composed of two microphones “a” and “b”, voting values are modified according to the θ value that is the slope of a straight line passing through that point.
Sound volume level values respectively obtained at the two microphones “a” and “b” are used as the parameters of this modification. For instance, if the microphone “a” has a greater sound volume level value than microphone “b”, by increasing the voting value when the θ value of the slope indicates a direction towards microphone “a” and reducing the voting value when the θ value of the slope indicates a direction towards microphone “b”, the IID element may be introduced to straight line detection using Hough transform and, as a result, sound source direction may be estimated with good accuracy.
Incidentally, the θ value representing the slope of a straight line in a frequency-phase difference space corresponds to a sound source direction. By performing a predetermined computation processing on the θ value representing the slope of a straight line, a sound source direction may be computed.
With reference to
First, FFT processing is respectively performed on sound source waveform data inputted to two microphones (microphones “a” and “b”) configuring a microphone array, and intensity values (in other words, signal levels indicating sound volume level values) for the respective frequencies are obtained as Ia(ω) and Ib(ω).
Next, for an arbitrary frequency ωi, an average value
of the intensity values of the microphones “a” and “b” at that frequency is computed, and is deemed to be a Hough voting value V(ωi). Alternatively, a maximum value max(Ia(ωi),Ib(ωi)) of the intensity values of the microphones “a” and “b” at that frequency is computed, and is deemed to be a Hough voting value V(ωi).
Subsequently, straight line detection processing using Hough transform will be applied to the frequency-phase difference space. In doing so, V(ωi) will be used as the voting value.
In other words, based on the frequency ωi and a phase difference value Δφ(ωi) between the microphones “a” and “b” at the frequency ωi (already computed through FFT processing), a single point is determined in the frequency-phase difference space. Among the straight lines passing through the point determined in the frequency-phase difference space, a distance ρ between the origin and each of 61 straight lines having slopes θ that fall under a range of −60°≦θ≦60° (in 2° intervals) is computed, and voting values V(ωi) are integrated for 61 points (θ, ρ) in the θ-ρ space. Incidentally, the initial value of the voting value at each point in the θ-ρ space is 0. In addition, when computing distances ρ, such distances may be referenced from a table of ρ values calculated in advance.
Then, for all frequencies ωi, Hough transform from (ωi, Δφ(ωi)) to (θ, ρ) and voting on the θ-ρ space (using voting value V(ωi)) are performed. Subsequently, after sound input, since synchronism upon A/D conversion is guaranteed by a dedicated board, the straight line to be calculated will inevitably pass the origin (ω=0, phase difference of the direct current component is 0). Therefore, a voting value sequence with respect to the θ value is created by extracting voting values (values on the θ axis) in the portion of ρ=0. However, since phase difference possesses circularity (Δφ=Δφ0+2kπ, k=0, ±1, ±2, . . . ), if a straight line with the same θ0 exists, such a straight line will be integrated into the extracted voting value sequence.
Using this voting value sequence, a straight line in the frequency-phase difference space representing a point (θ, ρ) having the highest voting value is calculated as a straight line representing a relationship between the frequency of sound arriving from the sound source and the phase difference between the microphones “a” and “b”. The relationship indicates the direction of the sound source. In addition, when it is conceivable that two or more sound sources exist, points (θ, ρ) having the second highest and lower voting values are calculated to obtain directions of respectively corresponding sound sources.
Incidentally, as shown in
where −60°≦θ≦60° (in 2° intervals).
For Hough transform from (ωi, Δφ(ωi)) to (θ, ρ), the same procedures as described above will be followed. During voting, voting values V(ωi, θ) will be integrated for 61 points (θ, ρ) in the θ-ρ space. Incidentally, the initial value of each point in the θ-ρ space is assumed to be 0. At this point, since V(ωi, θ) will take a value corresponding to each θ value, calculation will be performed on a case-by-case basis. In this case, since the intensity value of the microphone “a” is larger than that of the microphone “b” (Ia(ω)>Ib(ω)), the microphone “a”-side end will have the highest value (Ia(ω)), and voting values will gradually decrease towards the microphone “b”-side end, where Ib(ω) that is the lowest value will be cast.
Incidentally, as shown in
Conversely, according to the present embodiment, the resolution of the θhough value (the slope of a straight line in the frequency-phase difference space) when performing Hough transform is arranged to be nonuniform such that a uniform resolution of an ultimately computed sound source direction value θdirec is achieved. The relationship between θhough and θdirec may be expressed as
where sonic velocity is represented by “V”, distance between the microphones “a” and “b” is represented by da-b, frequency is represented by ωi, and only cases where the value within the brackets is [−1, 1] will be considered. In addition, sampling frequency during sound acquisition is represented by fs, while a range of Δφ,ω on the phase difference-frequency plane (the range subsequent to non-dimensionalization) is represented by RΔφ, Rω.
Using the formula below that is obtained by performing inverse expansion on the above with respect to θhough, θhough values calculated when θdirec are equally spaced are obtained to be used when performing Hough transform. This allows source direction values θdirec that are computed using Formula 3 after determining a straight line using the θhough value that has attached the most number of votes through voting to be computed at even intervals.
where sampling frequency upon sound acquisition is represented by fs, and a range of Δφ,ω on the phase difference-frequency plane (the range subsequent to non-dimensionalization) is represented by RΔφ, Rω (refer to
If k=0, a relational expression of θhough and θdirec may be obtained as
An inverse expansion thereon will result in
From the above, by calculating θhough using −90°≦θdirec≦90° (in 2° intervals), a θhough value sequence having nonuniform intervals will be obtained, as shown in
Using the θhough value as a slope of a straight line in the frequency-phase difference space, ρ is calculated, voting is performed, and the result is outputted as an extracted straight line with respect to a point having the highest voting value. As a result, by transforming a θhough value into a θdirec value that indicates the direction of a sound source, a θdirec value having a uniformly segmented resolution may be obtained (
(Collective Voting of a Plurality of FFT Results)
Furthermore, while the voting unit 303 is also capable of performing voting for every FFT, generally, it is assumed that voting will be performed collectively on “m” number (m≧1) of consecutive FFT results forming a time series. While frequency components of a sound source will vary in the long term, the above arrangement will enable more reliable Hough voting results to be obtained using a greater number of data obtained from FFT results for a plurality of time instants within a reasonably short duration having stable frequency components. Incidentally, the above “m” may be set as a parameter according to operations.
(Straight Line Detecting Unit 304)
The straight line detecting unit 304 is means for analyzing vote distribution on the Hough voting space generated by the voting unit 303 to detect dominant straight lines. At this point, straight line detection with higher accuracy may be realized by taking into consideration circumstances that are specific to the present issue, such as the circularity of phase differences described with reference to
Amplitude data acquired by the microphone pair is converted by the frequency decomposing unit 3 into data of a power value and a phase value for each frequency component. In the diagram, reference numerals 180 and 181 are brightness displays (where the darker the display, the greater the value) of logarithms of power values of the respective frequency components, with the abscissa representing time. The diagram is a graph representation of lines along the lapse of time (rightward), where a single vertical line corresponds to a single FFT result. The upper diagram 180 represents the result of processing of signals from the microphone 1a while the lower diagram 181 represents the result of processing of signals from the microphone 1b. A large number of frequency components are detected in both diagrams. Based on the results of frequency decomposition, a phase difference for each frequency component is computed by the phase difference computing unit 301, and (x, y) coordinate values thereof are computed by the coordinate value determining unit 302. In
(Constraint of ρ=0)
When signals from the microphones 1a and 1b are A/D converted in-phase with each other by the acoustic signal inputting unit 2, the straight line to be detected inevitably passes through ρ=0 or, in other words, the XY coordinate origin. Therefore, the issue of sound source estimation boils down to an issue for retrieving a peak value from a vote distribution S(θ, 0) on the θ axis where ρ=0 in the Hough voting space. A result of retrieving a peak value on the θ axis with respect to data exemplified in
In the diagram, reference numeral 190 denotes the same vote distribution as indicated by reference numeral 185 in
(Definition of a Straight line Group in Consideration of Phase Difference Recurrence)
The straight line 197 exemplified in
Reference numeral 200 in
(Detection of a Peak Position in Consideration of Phase Difference Recurrence)
As described above, due to the circularity of phase differences, a straight line representing a sound source should be treated not as a single straight line, but rather as a straight line group made up of a reference straight line and cyclic extensions thereof. This fact must be taken into consideration even when detecting peak positions from a vote distribution. Normally, as far as cases are concerned where a sound source is detected when a recurrence of phase differences does not occur or where a sound source is detected from the vicinity of the front of the microphone pairs where a recurrence, if any, is limited to a small scale, the above-described method involving retrieving peak positions solely based on voting values on ρ=0 (or ρ=ρ0) (in other words, voting values on the reference straight line) not only is sufficient from a performance perspective, but is also effective in reducing retrieval time and improving accuracy. However, when attempting to detect a sound source that exists in a wider range, it will be necessary to retrieve peak positions by adding up voting values of several locations that are mutually separated by intervals of Δρ with respect to a given θ. The difference thereof will be described below.
Amplitude data acquired by the microphone pair is converted by the frequency decomposing unit 3 into data of a power value and a phase value for each frequency component. In
On the other hand,
A vote H(θ0) of a given θ0 may be calculated as a summation of votes on the θ axis 241 and the dotted lines 242 to 249 as viewed vertically from the position θ=θ0 or, in other words, as H(θ0)=Σ{S(θ0, aΔρ(θ0))}. This operation corresponds to adding up the votes for a reference straight line at which θ=θ0 is true and votes of cyclic extensions thereof. Reference numeral 250 in
(Peak Position Detection in Consideration of a Case of Out-of-Phase: Generalization)
When signals from the microphones 1a and 1b are not A/D-converted in-phase with each other by the acoustic signal inputting unit 2, the straight line to be detected does not pass through ρ=0 or, in other words, the XY coordinate origin. In this case, it is necessary to remove the constraint of ρ=0 to retrieve a peak position.
When a reference straight line for which the constraint of ρ=0 has been removed is generalized and expressed as (θ0, ρ0), a straight line group thereof (reference straight line and cyclic extension) may be expressed as (θ0, aΔρ(θ0)+ρ0), where Δρ(θ0) is a parallel displacement of cyclic extensions which is determined according to θ0. When a sound source arrives from a given direction, only a single most dominant corresponding straight line group exists at θ0. Using a value ρ0max of ρ0 at which the vote Σ{S(θ0, aΔρ(θ0)+ρ0)} takes a maximum value when varying the value of ρ0, this straight line group may be expressed as (θ0, aΔρ(θ0)+ρ0max). Then, by deeming the vote H(θ) at each 0 as a maximum voting value Σ{S(θ0, aΔρ(θ)+ρ0max)} at each 0, straight line detection may be performed to which is applied the same peak position detection algorithm as used when the constraint of ρ=0 is imposed.
(Shape Collating Unit 6)
Incidentally, the detected straight line groups are sound source candidates at each time instant independently estimated for each microphone pair. In this case, sounds emitted by a same sound source are respectively detected at the same time instant by the plurality of microphone pairs as straight line groups. Therefore, if it is possible to associate straight line groups derived from the same sound source at a plurality of microphone pairs, sound source information with higher reliability should be obtained. The shape collating unit 6 is means for performing association for such a purpose. In this case, information edited for each straight line group by the shape collating unit 6 shall be referred to as sound source candidate information.
As shown in
(Direction Estimating Unit 311)
The direction estimating unit 311 is means for receiving the results of straight line detection performed by the straight line detecting unit 304 as described above or, in other words, the θ value for each straight line group, and calculating an existence range of a sound source corresponding to each straight line group. In this case, the number of detected straight line groups is deemed to be the number of sound source candidates. When the distance to a sound source is significantly greater than the baseline of a microphone pair, the existence range of the sound source forms a circular conical surface having a given angle with respect to the baseline of the microphone pair. A description thereof will be provided with reference to
An arrival time difference ΔT between the microphones 1a and 1b may vary within a range of ±ΔTmax. As shown in diagram (a) in
Based on the above, a general condition such as represented by reference character (d) in
As shown in
(Sound Source Estimating Unit 312)
The sound source estimating unit 312 is means for evaluating a distance between coordinate values (x, y) for each frequency component given by the coordinate value determining unit 302 and a straight line detected by the straight line detecting unit 304 in order to detect points (in other words, frequency components) located in the vicinity of the straight line as frequency components of a relevant straight line group (in other words, a sound source), and estimating frequency components for each sound source based on the detection results.
(Detection by Distance Threshold Method)
The principle of sound source component estimation in the event that a plurality of sound sources exist is schematically shown in
As shown in diagram (b) in
In a similar manner, as shown in diagram (c) in
Incidentally, since the two points, namely, a frequency component 289 and the origin (direct current component) are included in both regions 286 and 288, the two points will be doubly detected as components of both sound sources (multiple attribution). As seen, a method in which: threshold processing is performed on a horizontal distance between a frequency component and a straight line; a frequency component existing within the threshold is selected for each straight line group (sound source); and a power and a phase thereof is deemed without modification to be a component of a relevant source sound shall be referred to as the “distance threshold method”.
(Detection by Nearest Neighbor Method)
(Detection by Distance Coefficient Method)
The two methods described above select only frequency components existing within a predetermined horizontal distance threshold with respect to straight lines including a straight line group, and deem the frequency components to be frequency components of a source sound corresponding to the straight line group without modifying the power and the phase difference of the frequency components. On the other hand, the “distance coefficient method” that will be next described is a method that calculates a nonnegative coefficient α that decreases monotonically as a horizontal distance “d” between a frequency component and a straight line increases, and multiplies the power of the frequency component with the coefficient α to enable components that are further away in terms of horizontal distance from the straight line to contribute to a source sound with weaker power.
In this case, there is no need to perform threshold processing according to horizontal distance. With respect to a given straight line group, a horizontal distance (the horizontal distance to the nearest straight line within the straight line group) “d” is obtained for each horizontal component, whereby a value obtained by multiplying the power of a frequency component by a coefficient α determined based on the horizontal distance “d” is deemed to be the power of the frequency component for the straight line group. While the calculation formula of the nonnegative coefficient α that decreases monotonically as the horizontal distance “d” increases is arbitrary, a sigmoid function α=exp(−(B·d)C), shown in
(Handling of a Plurality of FFT Results)
As described above, the voting unit 303 is capable of both performing voting for every FFT and performing voting collectively on “m” number (m≧1) of consecutive FFT results. Therefore, the function blocks of the straight line detecting unit 304 that processes Hough voting results operate by using the duration of an execution of a single Hough transform as a unit. In this case, when m≧2 Hough votings are performed, FFT results for a plurality of time instants will be classified as components configuring the respective source sound, and it is possible that the same frequency component at different time instants will be attributed to different source sounds. In order to handle such cases, regardless of the value of “m”, the coordinate value determining unit 302 adds to each frequency component (in other words, the black dots shown in
(Power Retaining Option)
Incidentally, with each method described above, for frequency components (only the direct current component in the case of the nearest neighbor method, and all frequency components in the case of the distance coefficient method) belonging to a plurality (“N” number) of straight line groups (sound sources), it is also possible to normalize and divide by “N” the power of a frequency component of a same time instant which is allocated to each sound source such that a summation of the power is equivalent to a power value Po (fk) of the time instant prior to allocation. Through this arrangement, it is possible to maintain total power over an entire sound source for respective frequency components at the same time instant to be equivalent to input thereto. This arrangement shall be referred to as the “power retaining option”. As allocation methods, the following two concepts exist.
(1) Equal division by “N” (applicable to the distance threshold method and the nearest neighbor method)
(2) Allocation according to distance to each straight line group (applicable to the distance threshold method and the distance coefficient method)
(1) is an allocation method that achieves automatic normalization through equal division into “N” equal parts, and is applicable to the distance threshold method and the nearest neighbor method which determine allocation regardless of distance.
(2) is an allocation method that retains total power by determining a coefficient in the same manner as the distance coefficient method and subsequently performing normalization such that the summation of power takes a value of 1. This method is applicable to the distance threshold method and the distance coefficient method in which multiple attribution occurs at locations other than the origin.
Incidentally, the sound source component estimating unit 312 may be set to perform any of the distance threshold method, the nearest neighbor method and the distance coefficient method. In addition, the above-described power retaining option may be selected for the distance threshold method and the nearest neighbor method.
(Time Series Tracking Unit 313)
As described above, a straight line group is obtained by the straight line detecting unit 304 for each Hough voting performed by the voting unit 303. Hough voting is collectively performed for “m” number (m≧1) of consecutive FFT results. As a result, straight line groups will be obtained as a time series using “m” number of frames' worth of time as a cycle (to be referred to as a “shape detection cycle”). In addition, since θ of a straight line group has a one-to-one correspondence to the sound source direction φ calculated by the direction estimating unit 311, a locus of θ (or φ) on the temporal axis corresponding to a stable sound source should be continuous. On the other hand, there are cases in which straight line groups detected by the straight line detecting unit 304 include straight line groups (which shall be referred to as “noise straight line groups”) corresponding to background noise according to setting conditions of thresholds. However, it may be anticipated that a locus of θ (or φ) of such a noise straight line group on the temporal axis is either discontinuous or is continuous but short.
The time series tracking unit 313 is means for obtaining a locus of φ on the temporal axis which is calculated for each shape detection cycle by dividing φ into continuous groups on the temporal axis. Methods for grouping will be described below with reference to
(1) A locus data buffer is prepared. This locus data buffer is an array of locus data. A single unit of locus data Kd is capable of retaining its start time instant Ts, its end time instant Te, an array (straight line group list) of straight line group data Ld including the locus, and a label number Ln. A single unit of straight line group data Ld is a group of data including: a θ value and a ρ value (obtained by the straight line detecting unit 304) of a single straight line group including the locus; a φ value (obtained by the direction estimating unit 311) representing a sound source direction corresponding to this straight line group; frequency components (obtained by the sound source component estimating unit 312) corresponding to this straight line group; and the time instant at which these are acquired. Incidentally, a locus data buffer is initially empty. In addition, a new label number is prepared as a parameter for issuing label numbers, and the initial value thereof is set to 0.
(2) At a given time instant “T”, for each newly obtained φ (hereinafter referred to as +n, and in
(3) Like the black dot 303, when locus data fulfilling the conditions of (2) is discovered, φn is deemed to have the same locus as the discovered locus, φn, corresponding θ and ρ values, frequency component and a current time instant “T” are added to the straight line group list as new straight line group data, and the current time instant “T” is deemed to be the new end time instant Te of the locus. At this point, if a plurality of loci are found, all the loci are considered to form the same locus, and the loci are integrated into locus data having the smallest label number, whereby all other locus data is deleted from the locus data list. The start time instant Ts of the integrated locus data is the earliest start time instant among the respective locus data prior to integration, the end time instant Te of the integrated locus data is the latest end time instant among the respective locus data prior to integration, and the straight line group list is a union of straight line group lists of respective locus data prior to integration. As a result, the black dot 303 is added to the locus data 301.
(4) As in the case of the black dot 304, the failure to find locus data satisfying the conditions provided in (2) will mark the start of a new locus, whereby new locus data is created in an available portion of the locus data buffer, a start time instant Ts and an end time instant Te are both set to the current time instant “T”, φn, corresponding θ and ρ values, frequency component and the current time instant “T” are added to the straight line group list as the first straight line group data therein, the value of the new label number is given as the label number Ln of the locus, and the new label number is incremented by 1. Incidentally, in the event that the new label number has reached a predetermined maximum value, the new label number is reset to 0. As a result, the black dot 304 is registered into the locus data buffer as a new locus data.
(5) Among locus data retained in the locus data buffer, if there is locus data for which the above-mentioned predetermined time Δt has lapsed from the last update (in other words, the end time instant Te of the locus data) to the present time instant “T”, it is assumed that a new φn to be added had not been found for the locus or, in other words, tracking has concluded for the locus. After outputting the locus data to the next-stage duration evaluating unit 314, the locus data is deleted from the locus data buffer. In the example shown in
(Duration Evaluating Unit 314)
The duration evaluating unit 314 calculates a duration of loci from the start time instant and the end time instant of locus data, for which tracking has been concluded, which is outputted from the time series tracking unit 313, certifies locus data for which the duration has exceeded a predetermined threshold as locus data based on a source sound, and certifies others as locus data based on noise. Locus data based on source sound shall now be referred to as sound source stream information. Sound source stream information includes a start time instant Ts and an end time instant Te of the source sound, and locus data that is a time series of θ and ρ and φ representing sound source direction. Incidentally, although the number of straight line groups detected by the shape detecting unit 5 provides a number of sound sources, this number also includes noise sources. The number of sound source stream information determined by the duration evaluating unit 314 provides a number of reliable sound sources from which those based on noise have been removed.
(Sound Source Component Collating Unit 315)
The sound source component collating unit 315 generates sound source candidate correspondence information by associating sound source stream information that is respectively obtained via the time series tracking unit 313 and the duration evaluating unit 314 with respect to different microphone pairs with other sound source stream information derived from the same sound source. Sound emitted at the same time instant from the same sound source should have similar frequency components. Therefore, based on sound source components of respective time instants for each straight line group estimated by the sound source component estimating unit 312, patterns of frequency components at same time instants between sound source streams are collated to calculate a degree of similarity, and sound source streams having a frequency component pattern that has acquired a maximum degree of similarity that equals or exceeds a predetermined threshold are associated with each other. In this case, while it is possible to perform pattern collation across the entire sound source stream, a more effective approach would involve collating the frequency component patterns of several time instants in a duration in which sound source streams to be collated coexist and retrieving those for which a total degree of similarity or an average degree of similarity equals or exceeds a predetermined threshold and takes a maximum value. By using time instants at which the powers of both streams to be collated equal or exceed a predetermined threshold as the several time instants to be collated, a further improvement in the accuracy of collation may be expected.
Incidentally, it is assumed that the respective function blocks of the shape collating unit 6 are capable of exchanging information among each other, if necessary, by means of wire connection not shown in
(Sound Source Information Generating Unit 7)
As shown in
(Sound Source Existence Range Estimating Unit 401)
The sound source existence range estimating unit 401 is means for computing a spatial existence range of a sound source based on sound source candidate correspondence information generated by the shape collating unit 6. There are two computation methods as presented below, which may be switched by means of parameters.
(Computation method 1) Assume sound source directions respectively indicated by sound source stream information associated as derived from the same sound source form a circular conical surface (diagram “d” in
(Computation method 2) Calculate sound source directions respectively indicated by sound source stream information associated as derived from the same sound source as a spatial existence range of a sound source by computing points in space which completely fill the sound source directions with least square errors. In this case, by preparing a table of calculations of angles with respect to each microphone pair for discrete points on a concentrical spherical surface having the origin of the apparatus as its center, a point is retrieved from the table where the square sum of the error between an angle and the afore-mentioned sound source direction is minimum.
(Pair Selecting Unit 402)
The pair selecting unit 402 is means for selecting a most suitable pair for separation and extraction of source sounds based on sound source candidate correspondence information generated by the shape collating unit 6. There are two selection methods as presented below, which may be switched by means of parameters.
(Selection method 1) Compare sound source directions respectively indicated by sound source stream information associated as derived from the same sound source, and selecting a microphone pair that has detected a sound source stream that is nearest to the front. As a result, the microphone pair that captures source sound most squarely from the front will be used for source sound extraction.
(Selection method 2) Assume sound source directions respectively indicated by sound source stream information associated as derived from the same sound source form a circular conical surface (diagram “d” in
(Phase Matching Unit 403)
The phase matching unit 403 obtains a temporal transition of a sound source direction φ of a stream from sound source stream information selected by the pair selecting unit 402, and calculates an intermediate value φmid=(φmax+φmin)/2 from a maximum value φmax and a minimum value φmin of φ to obtain a width φw=φmax−φmid. Then, time series data of two pieces of frequency-decomposed data “a” and “b” which formed a basis of the sound source information is extracted from a time instant which precedes the start time instant Ts of the stream by a predetermined time up to a time instant at which a predetermined time has lapsed from the end time instant Te, whereby phase-matching is performed through correction so as to cancel out an arrival time difference that is inversely calculated by the intermediate value φmid.
Alternatively, assuming that a sound source direction φ of each time instant obtained from the direction estimating unit 311 may be expressed as φmid, phases of the time sequence data of the two pieces of frequency-decomposed data “a” and “b” may be constantly matched. Whether sound source stream information or φ of each time instant will be referenced is determined according to operation modes. Such operation modes may be set and changed as parameters.
(Adaptive Array Processing Unit 404)
The applicable array processing unit 404 separates and extracts source sound (time series data of a frequency component) of a stream at high accuracy by applying adaptive array processing in which central directionality is pointed to front 0° and a value obtained by adding a predetermined margin to ±φw is used as a tracking range to time series data of two pieces of extracted and phase-matched frequency-decomposed data “a” and “b”. Incidentally, for adaptive array processing, as disclosed in Reference Document 3: Amada, Tadashi et al., “Microphone Array Technique for Speech Recognition”, Toshiba Review 2004, Vol. 59, No. 9, 2004, a method that clearly separates and extracts sound in a set directional range may be used by employing two, primary and secondary, “Griffith-Jim generalized sidelobe cancellers” that are known in their own right as a beamformer configuration method.
Normally, adaptive array processing is used to accommodate only sounds from a direction of a preset tracking range. Therefore, the reception of sounds from all directions necessitates the preparation of a large number of adaptive arrays respectively set to different tracking ranges. On the other hand, according to the apparatus of the present embodiment, a number and directions of sound sources are first actually obtained, enabling activation of only a number of adaptive arrays equal in number to the sound sources and setting tracking ranges thereof to a predetermined narrow range corresponding to the directions of sound sources. Therefore, separation and extraction of sound may be performed with high accuracy and quality.
Additionally, in this case, by matching the phases of time sequence data of the two pieces of frequency-decomposed data “a” and “b” in advance, sound from all directions may be processed by merely setting the tracking range of adaptive array processing to the vicinity of the front.
(Sound Recognizing Unit 405)
The sound recognizing unit 405 analyzes and collates time series data of source sound frequency components extracted by the adaptive array processing unit 404 in order to extract signals (strings) representing symbolic contents of a relevant stream or, in other words, linguistic meanings, a sound source type or speaker identification thereof.
(Outputting Unit 8)
The outputting unit 8 is means for either outputting as sound source candidate information obtained by the shape collating unit 6, information including at least one of: a number of sound source candidates obtained as a number of straight line groups by the shape detecting unit 5; a spatial existence range (an angle φ that determines a circular conical surface) of a sound source candidate that is a source of the acoustic signals and which is estimated by the direction estimating unit 311; a component configuration (time series data of power and phase for each frequency component) of sound emitted by the sound source candidate and which is estimated by the sound source component estimating unit 312; a number of sound source candidates (sound source streams) obtained by the time series tracking unit 313 and the duration evaluating unit 314, from which noise sources have been removed; and a temporal existence period of a sound emitted by the sound source candidates obtained by the time series tracking unit 313 and the duration evaluating unit 314, or outputting as sound source information generated by the sound source information generating unit 7, information including at least one of: a number of sound sources obtained as a number of straight line groups (sound source streams) associated by the shape collating unit 6; a more detailed spatial existence range (a crossover range of a circular conical surface or a table-referenced coordinate value); a separated sound (time series data of amplitude values) for each sound source obtained by the pair selecting unit 402, the phase matching unit 403 and the adaptive array unit 404; and symbolic contents of the source sound obtained by the sound recognizing unit 405.
(User Interface Unit 9)
The user interface unit 9 is means for: presenting a user with various setting contents necessary for the above described acoustic signal processing; accepting settings and input from the user; saving setting contents to an external storage device and reading out setting contents from the same; visualizing and presenting the user with various processing results and intermediate results such as (1) displaying frequency components for each microphone, (2) displaying phase difference (or time difference) plot diagrams (in other words, displaying two-dimensional data), (3) displaying various vote distributions, (4) displaying peak positions, (5) displaying straight line groups on plot diagrams, such as shown in
(Processing Flowchart)
A flow of processing by the apparatus obtained by the present embodiment is shown in
The initialization step S1 is a processing step for executing a portion of processing performed by the above-described user interface unit 8, and reads out various setting contents necessary for acoustic signal processing from an external storage device and initializes the apparatus to a predetermined setting state.
The acoustic signal input step S2 is a processing step for executing processing by the above-described acoustic signal inputting unit 2, and inputs two acoustic signals captured at two positions that are spatially different from each other.
The frequency decomposition step S3 is a processing step for executing processing performed by the above-described frequency decomposing unit 3, and respectively performs frequency decomposition on the acoustic signals inputted in the above acoustic signal input step S2 to compute at least a phase value (and if necessary, a power value as well) for each frequency.
The two-dimensional data conversion step S4 is a processing step for executing processing performed by the above-described two-dimensional data converting unit 4. The two-dimensional data conversion step S4 compares phase values for the respective frequencies of each inputted acoustic signal computed by the frequency decomposition step S3 to compute a phase difference value between the signals for each frequency, and converts the phase difference value of each frequency into (x, y) coordinate values that are uniquely determined by each frequency and a phase difference thereof and which is a point on an XY coordinate system having a frequency function as its Y axis and a phase difference value function as its X axis.
The shape detection step S5 is a processing step for executing the processing performed by the above-described shape detecting unit 5, and detects a predetermined shape from two-dimensional data from the two-dimensional data conversion step S4.
The shape collation step S6 is a processing step for executing processing performed by the above-described shape collating unit 6, and integrates shape information (sound source candidate correspondence information) obtained by a plurality of microphone pairs for a same sound source by deeming shapes detected in the shape detection step S5 to be sound source candidates and associating sound source candidates between different microphone pairs.
The sound source information generation step S7 is a processing step for executing processing performed by the above-described sound source information generating unit 7, and based on shape information (sound source candidate correspondence information) obtained by a plurality of microphone pairs and integrated by the shape collation step S6, generates sound source information that includes at least one of: a number of sound sources that are sources of the acoustic signals; a more detailed spatial existence range of each sound source; a component configuration of sound emitted by each sound source; a separated sound for each sound source; a temporal existence period of a sound emitted by each sound source; and symbolic contents of a sound emitted by each sound source.
The output step S8 is a processing step for executing processing performed by the above-described outputting unit 8, and outputs sound source candidate information generated in the shape collation step S6 or sound source information generated in the sound source information generation step S7.
The termination determination step S9 is a processing step that for executing a portion of the processing performed by the above-described user interface unit 9, and examines the presence or absence of a termination instruction from the user. In the event that a termination instruction exists, the termination determination step S9 controls the flow of processing to a termination step S12 (left branch), and if not, controls the flow of processing to a confirmation determination step S10 (right branch).
The confirmation determination step S10 is a processing step for executing a portion of the processing performed by the above-described user interface unit 9, and examines the presence or absence of a confirmation instruction from the user. In the event that a confirmation instruction exists, the confirmation determination step S10 controls the flow of processing to a information presentation/setting acceptance step S11 (left branch), and if not, controls the flow of processing to the acoustic signal input step S2 (upper branch).
The information presentation/setting acceptance step S1 is a processing step for executing, upon acceptance of a confirmation instruction from the user, a portion of the processing performed by the above-described user interface unit 9, and enables the user to verify operations of the acoustic signal processing and adjusting the same to ensure desired operations, and subsequently continue processing in an adjusted state by: presenting various setting contents necessary for the above described acoustic signal processing to a user; accepting settings and input from the user; saving setting contents to an external storage device according to a saving instruction and reading out setting contents from the same according to a reading-out instruction; visualizing and presenting the user with various processing results and intermediate results; and allowing the user to select desired data for visualization in greater detail.
The termination step S12 is a processing step for executing, upon acceptance of a termination instruction from the user, a portion of the processing performed by the above-described user interface unit 9, and automatically executes saving of various setting contents necessary for acoustic signal processing to an external storage device.
(Advantages)
The method according to Nakadai, Kazuhiro, et al., “Real-Time Active Human Tracking by Hierarchical Integration of Audition and Vision”, The Japanese Society for Artificial Intelligence AI Challenge Study Group, SIG-Challenge-0113-5, 35-42, June 2001 described above performs estimation of a number, directions and components of sound sources by detecting a basic frequency component and harmonic components thereof, which configure a harmonic structure, from frequency-decomposed data. The assumption of a harmonic structure suggests that this method is specialized for human voices. However, since a real environment includes a large number of sound sources without harmonic structures, such as the opening and closing of a door, this method is incapable of addressing such source sounds.
In addition, although the method according to Asano, Futoshi, “Separating Sound”, Journal of the Society of Instrument and Control Engineers, Vol. 43, No. 4, 325-330, April 2004 is not bound to any particular model, as long as two microphones are used, the method is only able to handle a single sound source.
According to the present embodiment, by grouping phase differences for respective frequency components obtained by sound sources using Hough transform, a function is realized which specifies and separates two or more sound sources using two microphones. In addition, sound source directions may be computed with greater accuracy.
Suzuki, Kaoru, Koga, Toshiyuki
Patent | Priority | Assignee | Title |
8644517, | Aug 17 2009 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | System and method for automatic disabling and enabling of an acoustic beamformer |
9319787, | Dec 19 2013 | Amazon Technologies, Inc | Estimation of time delay of arrival for microphone arrays |
9473849, | Feb 26 2014 | Kabushiki Kaisha Toshiba | Sound source direction estimation apparatus, sound source direction estimation method and computer program product |
9800973, | May 10 2016 | X Development LLC | Sound source estimation based on simulated sound sensor array responses |
9817100, | Jul 14 2011 | Microsoft Technology Licensing, LLC | Sound source localization using phase spectrum |
Patent | Priority | Assignee | Title |
20060204019, | |||
20060215854, | |||
JP2003337164, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 21 2007 | Kabushiki Kaisha Toshiba | (assignment on the face of the patent) | / | |||
Dec 03 2007 | KOGA, TOSHIYUKI | Kabushiki Kaisha Toshiba | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020330 | /0012 | |
Dec 03 2007 | SUZUKI, KAORU | Kabushiki Kaisha Toshiba | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020330 | /0012 |
Date | Maintenance Fee Events |
Sep 10 2014 | ASPN: Payor Number Assigned. |
Dec 23 2015 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Mar 02 2020 | REM: Maintenance Fee Reminder Mailed. |
Aug 17 2020 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Jul 10 2015 | 4 years fee payment window open |
Jan 10 2016 | 6 months grace period start (w surcharge) |
Jul 10 2016 | patent expiry (for year 4) |
Jul 10 2018 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jul 10 2019 | 8 years fee payment window open |
Jan 10 2020 | 6 months grace period start (w surcharge) |
Jul 10 2020 | patent expiry (for year 8) |
Jul 10 2022 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jul 10 2023 | 12 years fee payment window open |
Jan 10 2024 | 6 months grace period start (w surcharge) |
Jul 10 2024 | patent expiry (for year 12) |
Jul 10 2026 | 2 years to revive unintentionally abandoned end. (for year 12) |