Method for acquiring spatial division information, apparatus for acquiring spatial division information, and storage medium
Abstract
The disclosure relates to a method and apparatus for acquiring spatial division information. The method includes controlling a sound source device to play a first sound signal; obtaining a second sound signal that is a sound signal collected by a sound collecting device when the first sound signal is propagated to the sound collecting device; obtaining direct intensity information based on the second sound signal, wherein the direct intensity information indicates an intensity of a direct sound signal in the second sound signal, wherein the direct sound signal is a sound signal that is generated by the sound source device and reaches the sound collecting device without physical reflection; and obtaining spatial division information based on the direct intensity information, wherein the spatial division information indicates whether the sound source device and the sound collecting device are in a same spatial zone.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A method for acquiring spatial division information, the method comprising:
controlling a sound source device to play a first sound signal;
obtaining a second sound signal that is a sound signal collected by a sound collecting device when the first sound signal is propagated to the sound collecting device;
obtaining direct intensity information based on the second sound signal, wherein the direct intensity information indicates an intensity of a direct sound signal in the second sound signal, wherein the direct sound signal is a sound signal that is generated by the sound source device and reaches the sound collecting device without physical reflection; and
obtaining spatial division information based on the direct intensity information, wherein the spatial division information indicates whether the sound source device and the sound collecting device are in a same spatial zone,
wherein the second sound signal is a sound signal collected by a microphone array in the sound collection device, wherein the microphone array includes at least two microphones, and wherein obtaining the direct intensity information based on the second sound signal includes:
obtaining spatial distribution information that indicates a spatial distribution relationship between the at least two microphones;
obtaining a spatial correlation matrix of the second sound signal based on the spatial distribution information; and
obtaining the direct intensity information based on the spatial correlation matrix and the second sound signal,
wherein the spatial correlation matrix of the second sound signal comprises a spatial correlation matrix of a direct sound signal and a spatial correlation matrix of a reverberation sound signal.
2. The method according to claim 1 , wherein obtaining the spatial distribution information includes:
constructing a spatial coordinate system including the at least two microphones;
obtaining respective spatial coordinates of the at least two microphones in the spatial coordinate system; and
obtaining the spatial distribution information including respective spatial coordinates of the at least two microphones in the spatial coordinate system.
3. The method according to claim 2 , wherein obtaining the spatial correlation matrix of the second sound signal based on the spatial distribution information includes:
obtaining a direct angle that is an angle between a line connecting the source of the first sound signal and an origin of the spatial coordinate system and a first coordinate axis that is any one of the coordinate axes of the spatial coordinate system; and
obtaining a spatial correlation matrix of the second sound signal based on the direct angle and the coordinates of the at least two microphones in the spatial coordinate system respectively.
4. The method according to claim 1 , wherein Obtaining the direct intensity information based on the spatial correlation matrix and the second sound signal includes:
formulating a target equation based on the spatial correlation matrix and the second sound signal, wherein variants in the target equation are the direct sound signal and a reverberation sound signal that is a sound signal that is generated by the sound source and reaches the sound collecting device through physical reflection; and
obtaining the direct intensity information through calculating a pseudo-inverse by a least-square method.
5. The method according to claim 1 , wherein obtaining the spatial distribution information based on the direct intensity information includes:
acquiring the spatial division information based on size relation between the direct signal intensity and a signal intensity threshold.
6. The method according to claim 5 , wherein, before acquiring the spatial division information based on the size relation between the direct signal intensity and the signal intensity threshold, the method further comprises:
obtaining a signal intensity of the first sound signal; and
obtaining a signal intensity threshold based on the signal intensity of the first sound signal.
7. The method according to claim 1 , wherein obtaining the spatial distribution information based on the direct intensity information includes:
acquiring the spatial division information based on size relation between the direct signal intensity and a signal intensity threshold.
8. The method according to claim 2 , wherein obtaining the spatial distribution information based on the direct intensity information includes:
acquiring the spatial division information based on size relation between the direct signal intensity and a signal intensity threshold.
9. The method according to claim 3 , wherein obtaining the spatial distribution information based on the direct intensity information includes:
acquiring the spatial division information based on size relation between the direct signal intensity and a signal intensity threshold.
10. An apparatus for acquiring spatial division information, the apparatus comprising:
a processor; and
a memory configured to store processor executable instructions,
wherein the processor is configured to:
control a sound source device to play a first sound signal;
obtain a second sound signal that is a sound signal collected by a sound collecting device when the first sound signal is propagated to the sound collecting device;
obtain direct intensity information based on the second sound signal, wherein the direct intensity information indicates an intensity of a direct sound signal in the second sound signal, wherein the direct sound signal is a sound signal that is generated by the sound source device and reaches the sound collecting device without physical reflection; and
obtain spatial division information based on the direct intensity information, wherein the spatial division information indicates whether the sound source device and the sound collecting device are in a same spatial zone,
wherein when obtaining the direct intensity information based on the second sound signal, the processor is further configured to:
obtain spatial distribution information that indicates a spatial distribution relationship between at least two microphones that are included in the sound collecting device;
obtain a spatial correlation matrix of the second sound signal based on the spatial distribution information, wherein the second sound signal is a sound signal collected by a microphone array in the sound collection device; and
obtain the direct intensity information based on the spatial correlation matrix and the second sound signal,
wherein the spatial correlation matrix of the second sound signal comprises a spatial correlation matrix of a direct sound signal and a spatial correlation matrix of a reverberation sound signal.
11. The apparatus according to claim 10 , wherein when obtaining the spatial distribution information, the processor is further configured to:
construct a spatial coordinate system including the at least two microphones;
obtain respective spatial coordinates of the at least two microphones in the spatial coordinate system; and
obtain the spatial distribution information including respective spatial coordinates of the at least two microphones in the spatial coordinate system.
12. The apparatus according to claim 11 , wherein when obtaining the spatial correlation matrix of the second sound signal based on the spatial distribution information, the processor is further configured to:
obtain a direct angle that is an angle between a line connecting the source of the first sound signal and an origin of the spatial coordinate system and a first coordinate axis that is any one of the coordinate axes of the spatial coordinate system; and
obtain a spatial correlation matrix of the second sound signal based on the direct angle and the coordinates of the at least two microphones in the spatial coordinate system respectively.
13. The apparatus according to claim 10 , wherein when obtaining the direct intensity information based on the spatial correlation matrix and the second sound signal, the processor is further configured to:
formulate a target equation based on the spatial correlation matrix and the second sound signal, wherein variants in the target equation are the direct sound signal and a reverberation sound signal that is a sound signal that is generated by the sound source and reaches the sound collecting device through physical reflection; and
obtain the direct intensity information through calculating a pseudo-inverse by a least-square method.
14. The apparatus according to claim 10 , wherein when obtaining the spatial distribution information based on the direct intensity information, the processor is further configured to:
acquire the spatial division information based on size relation between the direct signal intensity and a signal intensity threshold.
15. The apparatus according to claim 14 , wherein, before acquiring the spatial division information based on the size relation between the direct signal intensity and the signal intensity threshold, the process is further configured to:
obtain a signal intensity of the first sound signal; and
obtain a signal intensity threshold based on the signal intensity of the first sound signal.
16. The apparatus according to claim 10 , wherein when obtaining the spatial distribution information based on the direct intensity information, the processor is further configured to:
acquire the spatial division information based on size relation between the direct signal intensity and a signal intensity threshold.
17. The apparatus according to claim 11 , wherein when obtaining the spatial distribution information based on the direct intensity information, the processor is further configured to:
acquire the spatial division information based on size relation between the direct signal intensity and a signal intensity threshold.
18. The apparatus according to claim 12 , wherein when obtaining the spatial distribution information based on the direct intensity information, the processor is further configured to:
acquire the spatial division information based on size relation between the direct signal intensity and a signal intensity threshold.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.