|
Algorithm 2. Noise analysis and reduction using OCNMF |
|
Input: Spectrogram of an input signal , priori basis number R, an undesired basis number J, type of β-divergence β, |
| number of iterations in OCNMF , shift length of CNMF K, signal basis matrix , |
| weight parameter , phase matrix of the input signal
|
|
Output: Noise reduced signal
|
| 1: Initialize , U, and G with random non-negative values |
| 2: Normalize columns of
|
| 3: for i = 1, , do
|
| 4: for
= 0, , R − 1 do
|
| 5: Compute Z
|
| 6: Update , U, and G using Equations (15), (16) and (23) |
| 7: Normalize columns of
|
| 8: end for
|
| 9: end for
|
| 10: Compute M using Equation (19) and = M
|
| 11: ISTFT ( ) |