This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def sineModelMultiRes(x, fs, w, N, t, B): | |
""" | |
Analysis/synthesis of a sound using the sinusoidal model, without sine tracking | |
x: input array sound, w: analysis window, N: size of complex spectrum, t: threshold in negative dB | |
returns y: output array sound | |
This is an extension of the original sineModel() function that supports different DFT | |
resolutions/window lengths in different subbands. | |
w is assumed to be a Python list of N_w windows |