This node is used to output only sound source separation results with IDs over a designated value among multiple sound source separation results. 0 ID are given to stationary noise specified by ConstantLocalization node. This node is used to filter the sounds other than this.
No files are required.
When to use
In case it is known that stationary noise exists, for example, performing sound source separation under conditions in which noise (e.g. the sound of the fan) is known and stationary, only separated sound other than stationary noise can be extracted by specifying the ID of the stationary noise in ConstantLocalization . In the ConstantLocalization node, the sound source ID can be controlled in its property, MIN_ID. So, the sound source ID for the stationary noise can be fixed as 0 by setting MIN_ID to 0 when the number of sound source of stationary noise is 1. The sound source ID of the separated sound corresponding to the stationary noise can be always set to 0 by connecting ConstantLocalization combined with LocalizeMUSIC , SourceTracker , CombineSource to GHDSS as shown in the figure 6.119. Only sound sources correspondig to separated sound other than stationary noise can be chosen since sound sources whose ID is 0 will be ignored if setting the MIN_ID to 1 after connecting SourceSelectorByID to GHDSS .
Typical connection
Figure 6.119 shows a example of a connection, in which the node is connected to the posterior half of GHDSS .
Input
: Map<int, ObjectRef> type. Since this node is usually connected after the sound source separation node is connected, sound source IDs correspond to int , the key of Map . ObjectRef is of Vector<float> type (power spectra) or Vector<complex<float> > (complex spectra), indicating a separation .
Output
: Map<int, ObjectRef> type. Only data with sound source IDs greater than MIN_ID are extracted as output. The content of Map is same as that of INPUT.
Parameter
Parameter name |
Type |
Default value |
Unit |
Description |
MIN_ID |
0 |
Sound sources with IDs greater than this value are passed. |
: int type. Separated sounds with sound source IDs greater than this parameter value are passed. The default value is 0.