A node that continuously outputs constant sound source localization results. There are two parameters used for this node, which are ANGLES and ELEVATIONS, and the user sets azimuths (ANGLES) and elevation angles (ELEVATIONS) that the sound source comes from. Since each of these parameters is Vector , multiple localization results can be output.
No files are required.
When to use
This node is used in the case that the user wishes to perform evaluations when a source localization result is already known. For example, when wishing to judge whether a problem is in the separation processing or are sound source localization errors, or wishing to evaluate the performance of sound separation under the same sound source localization condition, while evaluating the results of sound source separation.
Typical connection
Figure 6.20 shows a connection example. This network continuously displays constant localization results.
Input
No inputs.
Output
Vector< ObjectRef > type. Fixed sound source localization results are output. The data ObjectRef refers to Source type data.
Parameter
Parameter name |
Type |
Default value |
Unit |
Description |
ANGLES |
<Vector<float> > |
[deg] |
Azimuth (right or left) of the sound source |
|
ELEVATIONS |
<Vector<float> > |
[deg] |
Elevation angle (up or down) of the sound source |
Vector< float > type. Azimuth (right or left) of the direction that the sound source comes in. The unit of angle is degree.
Vector< float > type. Elevation angle (up or down) of the direction that the sound source comes from. The unit of angle is degree.
It is assumed that the number of sound sources is , the azimuth (ANGLE) of the th sound source is and the elevation angle (ELEVATION) is . Here, parameters are described as follows.
< Vector< float > >
< Vector< float > >
In this way, inputs are performed based on a spherical coordinate system, though the data that ConstantLocalization actually outputs are values in the Cartesian coordinate system , which correspond to points on the unit ball. Conversion from the spherical coordinate system to the Cartesian coordinate system is performed based on the following equations.
(5) | |||||
(6) | |||||
(7) |
Other than the coordinates of sound sources, ConstantLocalization also outputs the power (fixed at ) and ID (indicated as ) of the sound source.