fplanes = tfjigsawsep(f); fplanes = tfjigsawsep(f,r1,r2); fplanes = tfjigsawsep(f,r1,r2,p); [fplanes, cplanes, info] = tfjigsawsep(...);
| f | Input signal |
| r1 | Significance level of the tonal layer refered to a white noise reference |
| r2 | Same for the transient layer |
| p | Proportionfactor of the supertilesizes relative to the time-, and frequency stepsize |
| fplanes | signallength-by-3 array containing the 3 produced layers, tonal in fplanes(:,1), transient in fplanes(:,2) and the noisy residual in fplanes(:,3). |
| cplanes | 3-by-1 cellarray containing the Gabor coefficients for the individual layers |
tfjigsawsep(f) applies the separation algorithm on the input signal f and returns the tonal, the transient and the residual parts. The following default values are used, r1=r2=0.95, p=4 and for the 3 Gabor systems:
"Tonal" system: g1 = {'hann',4096}; a1 = 512; M1 = 4096;
"Transient" system: g2 = {'hann',256}; a2 = 32; M2 = 256;
"Residual" system: g3 = {'hann',2048}; a3 = 512; M3 = 2048;
tfjigsawsep(f,r1,r2) works as before, but allows changing threshold parameters r1 and r2. Good values are in range [0.85,0.95]. t2 sometimes has to be chosen larger (~ 1.05), eg. for percussions in music signals.
tfjigsawsep(f,r1,r2,p) (recommended) additionally allows changing the size of the supertiles to a1*p in timesamples and b2*p in frequencysamples. The choice of this particular proportion is reasonable since it provides equal numbers of coefficients of the two Gabor systems in each supertile. Good values are in the range of [1,10], but it depends very much on the type of signal. E.g. for speech signals, higher values yield better results.
[fplanes, cplanes, info] = tfjigsawsep(...) additionally returns a 3 element cell array cplanes containing dgtreal coefficients of the respective separated layers and a structure info, with the parameters used in the algorithm. The relationship between fplanes and cplanes is the following: