An efficient adaptive window size selection method for improving spectrogram visualization.
Time-frequency analysis is typically required to characterize nonstationary phenomena such as speech [1, 2], biomedicine [3, 4], vibration , and music  based signals. The frequency contents for the analysis can be revealed if a Fourier transform is applied to these signals . However, in doing so, all time related information will be lost. The deficiency was first addressed in  where the Fourier transform was applied to analyze small sections of a signal at a time. Over time, this technique became popularly known as the Short Time Fourier Transform (STFT) [10, 11]. A significant shortcoming of the STFT is that it considers a fixed time-frequency resolution for all types of signals [12, 13]. This approach is not desirable for wide-band or ultrawide-band signals where low spectrogram resolutions can be observed. Moreover, the selection of an appropriate window size is vital for the STFT . The window size should ideally ensure that the input signal falling within it should remain stationary . However, if the window is too small, then the frequency domain cannot be localized .
The low resolution can be improved by using the constant Q transform (CQT) which is frequently used in auditory applications . Unlike the STFT, the CQT provides a frequency resolution that depends on the geometrically spaced center frequencies of an analysis window . In this paper, an adaptive method is proposed that provides an effective framework of switching between STFT for narrow band and CQT for wide-band signals, after analyzing the input signal. No prior information about the input signal is required in the proposed method. The proposed method is also capable of constructing a nonuniform filter bank according to user-defined parameters. This helps in the removal of filter bank redundancies. The results obtained from the proposed approach not only show an improved spectrogram visualization but also reduce the computation cost and show 87.71% of the appropriate window length selection.
2. Short Time Fourier Transform and Constant Q Transform
The STFT is achieved by introducing a sliding window to the nonstationary signal. This window adds a new dimension of time to the frequency response. In the discrete time-case, this is represented as
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (1)
where n and k are the time and frequency domain indices, s is the input signal, w is the window function, and m is the window interval centered around zero. The STFT can also be interpreted as a uniform filter bank . The output signal X(n, k) is essentially the STFT (index n) obtained at the kth channel of the filter bank (Figure 1). The window function is assumed to be nonzero only in the window interval. As an example, (1) is applied to two signals. The first signal is a composite signal bearing frequencies of 40 Hz and 100 Hz. The second shows both the signals in isolation, occupying one-half of the time window each. As can be seen from the equivalent Fourier transform (Figure 2), the Fourier space cannot distinguish between the two types of signals. On the other hand, the distinction is clearly visible upon viewing the spectrogram of the STFT (Figure 3).
The time-frequency resolution of the spectrogram is dependent upon the chosen window size. A larger size will result in higher spectral, but lower temporal resolution, whereas the opposite will result in a lower spectral, but higher temporal resolution. This relationship is described as the Uncertainty Principle . In this case, a variable window size would be ideal as it will provide high spectral resolution at low frequencies and high temporal resolution at high frequencies. A good candidate for achieving this is the constant Q transform (CQT) , where Q is the quality factor and its description appears shortly. Like the STFT, the CQT can also be interpreted as a filter bank. The only difference is that, in the case of CQT, the filters are geometrically spaced center frequencies such that the bandwidth [Bw.sub.k] of the kth filter is a multiple of the (k - 1)th filter:
[Bw.sub.k] = ([2.sup.1/n]) [Bw.sub.k-1], (2)
where n is the number of octaves per filter. As such, the bandwidth [Bw.sub.min] of the lowest filter is given as
[Bw.sub.k] = [([2.sup.1/n]).sup.k] [Bw.sub.min]. (3)
The quality factor Q is represented as the ratio of the center frequency [f.sub.k] to the bandwidth:
Q = [f.sub.k]/[Bw.sub.k]. (4)
Due to variations, the window length for the kth filter is given as
N[k] = [f.sub.s]/[Bw.sub.k]. (5)
Finally, the CQT is given as
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (6)
where [X.sub.CQ][k] is the k component of the constant Q transform, x[n] is the input signal, and w[n, k] is the window function of length N[k]. The filter bankbearing geometrically spaced center frequencies of the CQT is shown in Figure 4.
3. Related Work
Time-frequency analysis methods are widely used in acoustics [22, 23], mechanics , electronics [24, 25], telecommunications [26, 27], biomedicine , and other fields involving processing of nonstationary information. Time-Frequency representation techniques are broadly categorized into parametric and nonparametric methods. Different parametric and nonparametric approaches have been studied in literature [29-35]. This paper deals with the nonparametric approach. An important and one of the most prevalent nonparametric tools is the STFT [1,36] which has been discussed earlier in the introduction. The STFT is not desirable when dealing with wide and ultrawide-band signals which results in spectrogram resolution issues due to the size of the window [37, 38]. A number of techniques have addressed this issue. Spectrum analysis/synthesis can be added to the STFT as a feature . Window size decisions can then be manually made on the basis of sinusoidal features of the signal such as peak amplitude, frequency, and phase trajectories. As such, two consecutive sinusoids with frequency difference [DELTA]f can then be separated by setting the window size as
W = [B.sub.s][F.sub.s]/[DELTA]f, (7)
where W is the window size (number of samples), [B.sub.s] is the used window's main lobe size, and [F.sub.s] is the sampling frequency. If no prior information is available regarding an input signal, then most of the existing methods follow the adaptive STFT that selects a window length from a pool of window sets [40-43]. This approach involves a high computation cost and the limited pool of window sets also reduces the chances of getting an accurate window length.
Various adaptively varying STFT approaches are proposed in  that reduce filter bank artefacts without compromising on time-frequency resolution. One of the approaches accounts for the time in which signal properties such as power and spectral shape remain preserved over the period, that is, a stationary region. Likewise, the opposite would be the time in which signal properties change over a period, that is, a transient region. Identifying a region involves integration of signal energy inside a given bank. The window size is then selected on the basis of variation of energies across critical banks. The general principle is increasing the time and frequency resolution for transient and nontransient regions, respectively. Similarly, a variable window length is determined by estimating the local instantaneous frequencies in every window slice over time in [45,46].
Non-STFT based tools for time-frequency analysis also appear in the body of literature. Amongst these, the CQT [17, 47, 48] and the wavelet transform (WT) [49-52] are the most common. From the outset, both methods seem to be the same. However, the difference lies in the usage of the basis function. If the basis function can be interpreted as a windowed sinusoid, then both methods are essentially the same . Wavelet transform can be categorized as discrete wavelet transform (DTW), continuous wavelet transform (CTW), and wavelet packet transform (WPT) . The significance of wavelet transform depends upon the selection of appropriate wavelet basis because inappropriate wavelet basis will directly hamper the results of WT. Many publications have been seen, describing different wavelet basis and advancement in WT [55-60].
4. Proposed Method
Computationally, the CQT is expensive as compared to the STFT. The asymptotic complexity for the STFT is O(n log n) following the pattern of the FFT, where n is the samples in the input signal. On the other hand, the asymptotic complexity of the CQT following (6) is O(n log n + nk + k), where k is the number of components. For performance reasons, therefore, it would be better to select the STFT over CQT for visualization of the spectrum. However, the STFT is feasible only for narrow band signals where the filter bank with fixed window size is used. A simple but effective switching framework is proposed that can alternate between both tools after analyzing the input signal using spectrum sensing techniques. A block diagram of the proposed framework is shown in Figure 5.
The first step involves spectrum sensing that determines the orientation of the signal on the spectrum using the normalized power spectral density [??]. The expectation [mu] and standard deviation a is extracted from [??] as
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (8)
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (9)
where [A.sub.i] is the amplitude of normalized Power Spectral Density PSD [[??].sub.i]. The expectation [mu] returns the frequency where PSD is concentrated. Together with [sigma], both give information about the distribution of the PSD. A signal would be considered narrow band when [sigma] is smaller than a user-defined threshold [beta]. An optimum threshold can be selected empirically such that smearing effect is minimized. After the analysis of known narrow and wide-band signals, the value of [beta] is set to be 1500. The signals having [sigma] less than 1500 are considered as narrow band signal and the appropriate tool; that is, STFT is selected. As mentioned earlier, STFT is computationally less expensive and the smearing effect is not prominent in case of narrow band signals. Signals having [sigma] greater than 1500 are considered wide-band signal. In such scenario, the proposed method will adopt CQT tool. Unlike the STFT, CQT will minimize the smearing effect for wideband signal and improve the visualization of spectrogram. The check will result in the selection of either the STFT or the CQT method as
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (10)
Upon selection of STFT, the next step is to select an appropriate window size as , where two closest sinusoids can be distinguished using (7). However, nonstationary signals may involve a large number of sinusoids in close proximity. This results in a very small [DELTA]f and consequently a large window. This makes the STFT very similar to the Fourier transform and will hamper temporal resolution. In order to select an appropriate window size a novel empirical model is proposed that adaptively selects a window size by modifying (7) to
W = 3[B.sub.s][F.sub.s]/[mu]. (11)
Equation (11) will adopt an appropriate window size which does not lose any temporal information after the transform, where the size of the main lobe of the window [B.sub.s] can be set to 2 for a rectangular, 4 for a Hamming/Hanning, and 6 for a Blackman window. In this work, Hamming window is used and the value of [B.sub.s] is set as 4.
The proposed method is tested over different inputs such as a heartbeat (Figure 6), mridangam (Figure 7), multiple sinusoids (Figure 8), radio (Figure 9), high-carrier (Figure 10), music (Figure 11), and a speech signal (Figure 12). According to the proposed method, five out of these seven signals are labeled as narrow band while the remaining two, music and speech, are labeled as wide-band signals. The proposed model adopts an appropriate window size for STFT using (11). All the figures show how the adaptive window selection improved the spectrogram visualization. The results from each signal type are given in Table 1.
A user-defined filter bank can be constructed using an approximation of the signal bandwidth (0.4-10 KHz) and its orientation using  as
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (12)
where C is the arbitrary bandwidth, [f.sub.1] is the center frequency of the 1st filter, [alpha] is the logarithmic growth factor, and Q is the total number of filter banks. This will not only reduce the number of banks but will also cover the band where a signal may lie. An example of a filter bank is shown in Figure 13 bearing signal bandwidth of 7.2 KHz ([0.2,7.4] KHz), C = 0.2 KHz, [f.sub.1] = 0.3 KHz, [alpha] = 1.4142, and Q = 8. The entire process of our proposed method is listed in Algorithm 1.
ALGORITHM 1: Complete algorithm. Reqiure: Non-stationary input signal x, Optimum threshold [beta], Bandwidth of 1st filter C, Center frequency of 1st filter [f.sub.1], Logarithmic growth factor [alpha], Number of filters Q (1) procedure (2) PSD f := periodogram(x) (3) Normalized PSD [??] := f/sum(f) (4) [mu] := Expectation of [??] (Equation (8)) (5) [sigma] := Standard Deviation of [??] (Equation (9)) (6) if [sigma] [less than or equal to] [beta] then [??] SIFT Selected (7) Window Size W := [3[B.sub.s][F.sub.s]/[mu]] (8) Overlapping Region [W.sub.0] := [W/2] (9) FFT [MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (10) Run STFT with W, [W.sub.o] (Equation (1)) (11) else [??] CQT Selected (12) Run CQT (Equation (6)) (13) (Optional) UserDefined Bins [Bw.sub.k] := FILTERBANK (C, [f.sub.1], [alpha], Q) (Equation (12)) (14) end if (15) end procedure (16) return Spectogram [[absolute value of ([X.sub.STFT|CQT])].sup.2]
5. Results and Discussion
A quantitative analysis of the proposed method is discussed in this section. The method selects an appropriate window length W without prior information about the input signal. Considering a composite signal bearing frequencies 100, 200, 400, and 500 Hz, then the Hamming window length required to provide the frequency resolution of 100 Hz ([DELTA]f = 200 Hz - 100 Hz) would be [B.sub.s][F.sub.s]/[DELTA]f = 4 x 44100/100 = 1764.
This shows that the minimum window size required to get 100 Hz frequency resolution is 1764 samples . By increasing the window size the frequency resolution increases but this will hamper the temporal resolution. The window length is set manually to 1764 samples in order to achieve the frequency resolution of 100 Hz. Background knowledge about the input signal is required to set the appropriate window length. The proposed method automatically calculates an appropriate window length using (11) as:
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (13)
Figure 8 shows how the proposed method adaptively selects the window size and improve the spectrogram. Signals that are almost invisible in default window size are explored by proposed method. The percentage of appropriate window length selection is 1371/1764 x 100 = 77.72%. In nature most of the signal are nonstationary and it is not possible to have information about all types of signal. Hence, it is very difficult to set an appropriate window length. The proposed method is evaluated on a number of nonstationary signals. Mridangam is an instrument which produces complex sound. The mridangam has got some stable harmonics and the minimum distance between two harmonics must be known in order to select an appropriate window length. After the analysis of mridangam signal, the first harmonic is around 200 Hz and the second harmonics is around 400 Hz. The minimum distance between two consecutive partials is around 200 Hz. So the appropriate window length is 882 samples. The adaptive window selected from the proposed method is 1003 samples. Hence, the percentage of appropriate window selection is 87.93%. Figure 7 shows that the proposed method improves the spectrogram by prominently displaying the harmonics which is not visible in default window selection. The proposed method is fully automatic and requires no prior information about the input signal. After the statistical analysis of input signal, the proposed method selects an appropriate window size using the empirical model proposed in this paper.
The heartbeat of normal human heart consists of S1 and S2 sounds. S1 results from mitral and tricuspid valve closure. It is a duller, lower-frequency sound than S2 and occurs at the beginning of ventricular systole. The approximate frequencies from different literatures for S1 and S2 are 20-120 Hz and 60-250 Hz, respectively. Hence, the appropriate window length to provide 30 Hz frequency resolution is 5880 samples. The window selected by the proposed method is 5816 samples. The percentage of appropriate window length is 98.91. Adaptive window clearly shows S1 and S2 signals which is completely missed in the default window as shown in Figure 6. A number of nonstationary signals are evaluated from proposed method, which is summarized in Table 2.
The appropriate window length is only possible when complete information about the input signal is known. This is usually not possible for all types of input signal. Hence, the proposed method is able to select an appropriate window size without any prior information about input signal and achieved the overall 87.71% of appropriate window length selection.
Note that the appropriate fixed window length is selected for narrowband signal. For wide-band signal it is not possible to select an appropriate fixed window length because long window length improves the spectral resolution at the cost of temporal resolution and vice versa. The proposed method is able to detect the wide-band signal and automatically selects constant Q transform that provides high spectral resolution at low frequency and high temporal resolution at high frequency with geometrically spaced center frequencies.
The existing methods for wide-band signal select window size from adaptive STFT using two main approaches. (1) Select a window size from a pool of windows using different concentration measurements such as skewness, kurtosis, and integrate energies [40-44]. (2) Define a benchmark [tau] and adjust it according to local characteristics of input signal using some concentration measurements such as instantaneous frequency and integrated energies [45, 46]. The problem with former approaches is that (i) they cannot obtain the optimal window length quickly or even fail to converge to the optimal window length and (ii) they are computationally expensive.
In  the smearing of energy in spectrogram is reduced by calculating STFT with 4 different window sizes. This increases the computational time approximately 3 times as compared to the proposed method. For all types of input signals whether narrow or wide-band signals, 4 different window sizes are used to reduce the smearing effect. The proposed method intelligently selects STFT for narrow band signal because for narrow band signal the fixed window length will not produce much smearing effects and improves the efficiency 4 times. When the input signal is wide-band signal then smearing effect is prominent while using STFT. In such a scenario, the proposed method selects CQT, which is computational expensive compared to STFT but it provides much better resolution and reduces the smearing effect. Figures 11(d) and 12(d) show the improved time-frequency resolution achieved by CQT.
The problem with the later approaches is that they are computationally expensive, which decides the window length on local characteristics of input signal. In  variable STFT is proposed, which adapts variable window length after analyzing the local characteristics of input signal. This is computationally expensive. The processing time for fixed STFT of length 64 and 128 is 0.1716 s and 0.1560 s, respectively, where the processing time of variable STFT is 0.5928 s for the same data. This demonstrates that the computing cost of variable STFT or any adaptive STFT which decides window length on local characteristics is much greater than the STFT. Variable STFT and adaptive STFT provide better resolution as compared to STFT but the proposed method solved the resolution problem by adapting CQT for wideband signal. Hence, the proposed method not only is able to improve the time-frequency resolution but also reduces the computational cost. The computing costs are compared in Table 3.
In this paper, a general framework for effective multiresolution signal analysis has been demonstrated. The framework avoids the undesirable side effect of the STFT such as fixed time-frequency resolution for all types of input signals. After the analysis of input signal the method adapted an appropriate tool, that is, STFT and CQT for narrow and wide-band signal, respectively. The proposed method is capable of selecting an appropriate window length for STFT and achieved an overall of 87.71% of appropriate window length selection. The proposed method also allows a user to dynamically construct the filter bank according to the parameters provided by the user, which helps in the reduction of redundancy. The results obtained from the proposed method have improved spectrogram visualization and computing cost and achieved 87.71% of appropriate window length selection. The proposed method is fully automatic and required no prior information about the input signal. The results obtained from the proposed method directly contributes in different domains such as feature extraction, for example, harmonic, pitch, attack, delay, and energy. These features can be used in different applications such as speech and speaker recognition, biomedical signal analysis, and music instrument analysis. In future, the authors are planning to automatically build a desirable nonuniform filter bank after analyzing the characteristics of input signal. The filter bank will not be limited to linear or geometrical spacing only. The aim is to reduce the computing cost.
The authors declare that they have no competing interests.
 M. R. Portnoff, "Time-frequency representation of digital signals and systems based on short-time fourier analysis," IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 28, no. 1, pp. 55-69, 1980.
 M. Ahmed and S. Nisar, "Text-to-speech synthesis using phoneme concatenation," International Journal of Engineering, Science and Technology, vol. 3, no. 2, pp. 193-197, 2014.
 J. J. Lee, S. M. Lee, I. Y. Kim, H. K. Min, and S. H. Hong, "Comparison between short time Fourier and wavelet transform for feature extraction of heart sound," in Proceedings of the IEEE Region 10 Conference (TENCON '99), vol. 2, pp. 1547-1550, IEEE, December 1999.
 D. Puthankattil Subha, P. K. Joseph, R. Acharya U, and C. M. Lim, "EEG signal analysis: a survey," Journal of Medical Systems, vol. 34, no. 2, pp. 195-212, 2010.
 F. Al-Badour, M. Sunar, and L. Cheded, "Vibration analysis of rotating machinery using time-frequency analysis and wavelet techniques," Mechanical Systems and Signal Processing, vol. 25, no. 6, pp. 2083-2101, 2011.
 B. Gold, N. Morgan, and D. Ellis, Speech and Audio Signal Processing: Processing and Perception of Speech and Music, John Wiley & Sons, New York, NY, USA, 2011.
 R. Bracewell, The Fourier Transform & Its Applications, McGgraw-Hill, New York, NY, USA, 1965.
 K. S. S. Adamczak and W. Makiea, "Investigating advantages and disadvantages of the analysis of a geometrical surface structure with the use of fourier and wavelet transform," Metrology and Measurement Systems, vol. 17, no. 2, pp. 233-244, 2010.
 D. Gabor, "Theory of communication. Part 1: the analysis of information," Journal of the Institution of Electrical Engineers-Part III: Radio and Communication Engineering, vol. 93, no. 26, pp. 429-441, 1946.
 J. B. Allen, "Short term spectral analysis, synthesis, and modification by discrete Fourier transform," IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 25, no. 3, pp. 235-238, 1977
 C. K. Chui, Wavelets: A Tutorial in Theory and Applications, vol. 2, Academic Press, Cambridge, Mass, USA, 2012.
 A. Lukin and J. Todd, "Adaptive time-frequency resolution for analysis and processing of audio," in Proceedings of the 120th Audio Engineering Society Convention, Paris, France, 2006.
 D. Rudoy, P. Basu, T. F. Quatieri, B. Dunn, and P. J. Wolfe, "Adaptive short-time analysis-synthesis for speech enhancement," in Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP '08), pp. 4905-4908, IEEE, Las Vegas, Nev, USA, April 2008.
 M. Muller, D. P. W. Ellis, A. Klapuri, and G. Richard, "Signal processing for music analysis," IEEE Journal on Selected Topics in Signal Processing, vol. 5, no. 6, pp. 1088-1110, 2011.
 H. Azami, S. Sanei, and K. Mohammadi, "A novel signal segmentation method based on standard deviation and variable threshold," Journal of Computer Applications, vol. 34, no. 2, pp. 27-34, 2011.
 D. Ozog, Signal Analysis, Whitman College, 2007
 J. C. Brown and M. S. Puckette, "An efficient algorithm for the calculation of a constant Q transform," Journal of the Acoustical Society of America, vol. 92, no. 5, pp. 2698-2701, 1992.
 N. Holighaus, M. Dorfler, G. A. Velasco, and T. Grill, "A framework for invertible, real-time constant-Q transforms," IEEE Transactions on Audio, Speech and Language Processing, vol. 21, no. 4, pp. 775-785, 2013.
 L. R. Rabiner and B.-H. Juang, Fundamentals of Speech Recognition, vol. 14, PTR Prentice Hall, Englewood Cliffs, NJ, USA, 1993.
 P. Busch, T Heinonen, and P. Lahti, "Heisenberg's uncertainty principle," Physics Reports, vol. 452, no. 6, pp. 155-176, 2007
 J. C. Brown, "Calculation of a constant Q spectral transform," The Journal of the Acoustical Society of America, vol. 89, no. 1, pp. 425-434, 1991.
 D. Chen, L.-G. Durand, and F. Bellemare, "Time and frequency domain analysis of acoustic signals from a human muscle," Muscle & Nerve, vol. 20, no. 8, pp. 991-1001, 1997
 C. Lu, P. Ding, and Z. Chen, "Time-frequency analysis of acoustic emission signals generated by tension damage in CFRP," Procedia Engineering, vol. 23, pp. 210-215, 2011.
 G. K. Sharma, A. Kumar, C. Babu Rao, T Jayakumar, and B. Raj, "Short time Fourier transform analysis for understanding frequency dependent attenuation in austenitic stainless steel," NDT and E International, vol. 53, pp. 1-7, 2013.
 R. Yan, R. X. Gao, and X. Chen, "Wavelets for fault diagnosis of rotary machines: a review with applications," Signal Processing, vol. 96, pp. 1-15, 2014.
 G. Matz, H. Bolcskei, and F. Hlawatsch, "Time-frequency foundations of communications: concepts and tools," IEEE Signal Processing Magazine, vol. 30, no. 6, pp. 87-96, 2013.
 H. Feichtinger and F. Luef, "Gabor analysis and time-frequency methods," in Encyclopedia of Applied and Computational Mathematics, Springer, Berlin, Germany, 2012.
 N. Bosschaart, T G. van Leeuwen, M. C. G. Aalders, and D. J. Faber, "Quantitative comparison of analysis methods for spectroscopic optical coherence tomography," Biomedical Optics Express, vol. 4, no. 11, pp. 2570-2584, 2013.
 A. G. Poulimenos and S. D. Fassois, "Parametric time-domain methods for non-stationary random vibration modelling and analysis--a critical survey and comparison," Mechanical Systems and Signal Processing, vol. 20, no. 4, pp. 763-816, 2006.
 K. Xu, J.-G. Minonzio, D. Ta, B. Hu, W. Wang, and P. Laugier, "Sparse inversion SVD method for dispersion extraction of ultrasonic guided waves in cortical bone," in Proceedings of the IEEE 6th European Symposium on Ultrasonic Characterization of Bone (ESUCB '15), pp. 1-3, Corfu Island, Greece, June 2015.
 M. Hu and H. Shao, "Autoregressive spectral analysis based on statistical autocorrelation," Physica A: Statistical Mechanics and Its Applications, vol. 376, no. 1-2, pp. 139-146, 2007
 M. Jachan, G. Matz, and F. Hlawatsch, "Time-frequency ARMA models and parameter estimators for underspread nonstationary random processes," IEEE Transactions on Signal Processing, vol. 55, no. 9, pp. 4366-4381, 2007
 L. D. Avendano-Valencia, J. I. Godino-Llorente, M. Blanco-Velasco, and G. Castellanos-Dominguez, "Feature extraction from parametric time-frequency representations for heart murmur detection," Annals of Biomedical Engineering, vol. 38, no. 8, pp. 2716-2732, 2010.
 S. Elouaham, R. Latif, A. Dliou, M. Laaboubi, and F. M. R. Maoulainie, "Parametric and non parametric time-frequency analysis of biomedical signals," International Journal of Advanced Computer Science and Applications, vol. 4, no. 1, pp. 74-79, 2013.
 M. Wacker and H. Witte, "Time-frequency techniques in biomedical signal analysis," Methods of Information in Medicine, vol. 52, no. 4, pp. 279-296, 2013.
 A. Robel, Analysis/Resynthesis with the Short Time Fourier Transform, Institute of Communication Science, 2006.
 A. J. R. Simpson, "Time-frequency trade-offs for audio source separation with binary masks," http://arxiv.org/abs/1504.07372.
 M. Kraszewski, M. Trojanowski, and M. R. Strqkowski, "Comment on quantitative comparison of analysis methods for spectroscopic optical coherence tomography," Biomedical Optics Express, vol. 5, no. 9, pp. 3023-3033, 2014.
 J. O. Smith and X. Serra, Parshl: An Analysis/Synthesis Program for Non-Harmonic Sounds Based on a Sinusoidal Representation, CCRMA, Department of Music, Stanford University, 1987
 Q. Yin, L. Shen, M. Lu, X. Wang, and Z. Liu, "Selection of optimal window length using STFT for quantitative SNR analysis of LFM signal," Journal of Systems Engineering and Electronics, vol. 24, no. 1, pp. 26-35, 2013.
 J. Zhong and Y. Huang, "Time-frequency representation based on an adaptive short-time Fourier transform," IEEE Transactions on Signal Processing, vol. 58, no. 10, pp. 5118-5128, 2010.
 H. K. Kwok and D. L. Jones, "Improved instantaneous frequency estimation using an adaptive short-time Fourier transform," IEEE Transactions on Signal Processing, vol. 48, no. 10, pp. 2964-2972, 2000.
 S.-C. Pei and S.-G. Huang, "STFT with adaptive window width based on the chirp rate," IEEE Transactions on Signal Processing, vol. 60, no. 8, pp. 4065-4080, 2012.
 A. Lukin and J. Todd, "Adaptive time-frequency resolution for analysis and processing of audio," in Audio Engineering Society Convention 120, Audio Engineering Society, 2006.
 A. Craciun and M. Spiertz, "Adaptive time frequency resolution for blind source separation," in Proceedings of the International Student Conference on Electrical Engineering (POSTER '10), vol. 10, 2010.
 J.-Y. Lee, "Variable short-time Fourier transform for vibration signals with transients," Journal of Vibration and Control, vol. 21, no. 7, pp. 1383-1397, 2015.
 I. W Selesnick, "Wavelet transform with tunable Q-factor," IEEE Transactions on Signal Processing, vol. 59, no. 8, pp. 3560-3575, 2011.
 C. Schorkhuber, A. Klapuri, and A. Sontacchi, "Audio pitch shifting using the constant-Q transform," Journal of the Audio Engineering Society, vol. 61, no. 7-8, pp. 562-572, 2013.
 S. G. Mallat, "A theory for multiresolution signal decomposition: the wavelet representation," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 11, no. 7, pp. 674-693, 1989.
 L. Cohen and P. Loughlin, Recent Developments in Time-Frequency Analysis, Springer, 1998.
 B. Boashash, Time-Frequency Signal Analysis and Processing: A Comprehensive Reference, Academic Press, Cambridge, Mass, USA, 2015.
 A. Graps, "An introduction to wavelets," IEEE Computational Science and Engineering, vol. 2, no. 2, pp. 50-61, 1995.
 I. Daubechies, "Orthonormal bases of wavelets with finite support--connection with discrete filters," in Wavelets, pp. 3866, Springer, Berlin, Germany, 1989.
 B. Li and X. Chen, "Wavelet-based numerical analysis: a review and classification," Finite Elements in Analysis and Design, vol. 81, pp. 14-31, 2014.
 J. Chen, Z. Li, J. Pan et al., "Wavelet transform based on inner product in fault diagnosis of rotating machinery: a review," Mechanical Systems and Signal Processing, vol. 70-71, pp. 1-35, 2016.
 D. Baccar and D. Soffker, "Wear detection by means of wavelet-based acoustic emission analysis," Mechanical Systems and Signal Processing, vol. 60, pp. 198-207, 2015.
 W. Sweldens, "The lifting scheme: a custom-design construction of biorthogonal wavelets," Applied and Computational Harmonic Analysis, vol. 3, no. 2, pp. 186-200, 1996.
 Z. Li, Z. He, Y. Zi, and H. Jiang, "Rotating machinery fault diagnosis using signal-adapted lifting scheme," Mechanical Systems and Signal Processing, vol. 22, no. 3, pp. 542-556, 2008.
 W. Xiao, Y. Zi, B. Chen, B. Li, and Z. He, "A novel approach to machining condition monitoring of deep hole boring," International Journal of Machine Tools and Manufacture, vol. 77, pp. 27-33, 2014.
 Z. Wang, S. Bian, M. Lei, C. Zhao, Y. Liu, and Z. Zhao, "Feature extraction and classification of load dynamic characteristics based on lifting wavelet packet transform in power system load modeling," International Journal of Electrical Power & Energy Systems, vol. 62, pp. 353-363, 2014.
 R. Lawrence, Fundamentals of Speech Recognition, Pearson Education, New Delhi, India, 2008.
Shibli Nisar, (1) Omar Usman Khan, (1) and Muhammad Tariq (1,2)
(1) National University of Computer and Emerging Sciences, Peshawar 25000, Pakistan
(2) Princeton University, New Jersey, NJ 08544, USA
Correspondence should be addressed to Shibli Nisar; firstname.lastname@example.org
Received 30 March 2016; Revised 24 June 2016; Accepted 13 July 2016
Academic Editor: Silvia Conforto
Caption: Figure 1: Uniform filter bank (STFT) with fixed time-frequency resolution.
Caption: Figure 2: (a) Time domain representation of 40 Hz and 100 Hz combined signal for 2 seconds; (b) Fourier transform of part (a); (c) time domain representation of 40 Hz signal for first two seconds and 100 Hz signal for next two seconds; (d) Fourier transform of part (c).
Caption: Figure 3: (a) Time domain representation of 40 Hz and 100 Hz combined signal for 2 seconds; (b) magnitude STFT representation of part (a); (c) time domain representation of 40 Hz signal for first two seconds and 100 Hz signal for next two seconds; (d) magnitude STFT representation of part (c).
Caption: Figure 4: CQT filter bank with geometrically spaced window bins.
Caption: Figure 5: Block diagram of the proposed method.
Caption: Figure 6: (a) PSD of heart signal; (b) STFT with default window; (c) STFT with proposed method window selection.
Caption: Figure 7: (a) PSD of mridangam signal; (b) STFT with default window; (c) STFT with proposed method window selection.
Caption: Figure 8: (a) PSD of multiple sinusoidals; (b) STFT with default window; (c) STFT with proposed method window.
Caption: Figure 9: (a) PSD of radio signal; (b) STFT with default window; (c) STFT with proposed method window selection.
Caption: Figure 10: (a) PSD of high-carrier signals; (b) STFT with default window; (c) STFT with proposed method window selection.
Caption: Figure 11: (a) PSD of music signal (wide band); (b) STFT with default window; (c) STFT with proposed method window selection; (d) magnitude of CQT (better time-frequency resolution achieved with CQT).
Caption: Figure 12: (a) PSD of speech signal (wide band); (b) STFT with default window; (c) STFT with proposed method window selection; (d) magnitude of CQT (better time-frequency resolution achieved with CQT).
Caption: Figure 13: User-defined filter bank. Parameters provided by a user.
Table 1: Adaptive window selection from proposed method, where [mu] is estimation, [sigma] is the standard deviation, [beta] is the optimal threshold (1500), and W is the window size. Signal Type [mu] [sigma] Decision Heartbeat (Figure 6) Low 90.99 135.49 STFT Mridangam (Figure 7) Intermediate 527.61 706.89 STFT Carriers (Figure 8) Intermediate 386.13 722.57 STFT Radio (Figure 9) Intermediate 2632.8 542.37 STFT High carrier (Figure 10) High 10425 1117 STFT Music (Figure 11) Mixed 2170 2160 CQT Speech (Figure 12) Mixed 810.15 1302 CQT Signal W Heartbeat (Figure 6) 5816 Mridangam (Figure 7) 1003 Carriers (Figure 8) 1371 Radio (Figure 9) 201 High carrier (Figure 10) 51 Music (Figure 11) Variable Speech (Figure 12) Variable Table 2: Adaptive window selection from proposed method, where [l.sub.A] is the appropriate length and [l.sub.p] is the proposed length. Signal Type [l.sub.A] [l.sub.p] % achieved Heartbeat (Figure 6) Low 5880 5816 98.91 Mridangam (Figure 7) Intermediate 882 1003 87.93 Carriers (Figure 8) Intermediate 1764 1371 77.72 Radio (Figure 9) Intermediate 176 201 87.56 Carrier (Figure 10) High 44.1 51 86.47 Table 3: Adaptive short time fourier transform. Schemes CPU time (seconds) STF[T.sub.fix=128] 0.1560 STF[T.sub.fix=64] 0.1716 CQT 0.413 VSTFT/ASTFT 0.5928 Proposed method 0.2845 STFT: Short Time Fourier Transform; CQT: constant Q transform; VSTFT: Variable Short Time Fourier Transform; ASTFT: Adoptive Short Time Fourier Transform.
|Printer friendly Cite/link Email Feedback|
|Title Annotation:||Research Article|
|Author:||Nisar, Shibli; Khan, Omar Usman; Tariq, Muhammad|
|Publication:||Computational Intelligence and Neuroscience|
|Date:||Jan 1, 2016|
|Previous Article:||Neural networks technique for filling gaps in satellite measurements: application to ocean color observations.|
|Next Article:||EEG resting-state brain topological reorganization as a function of age.|