1a766e674e36b894d6aa6734e792a764fc91e2c6,librosa/core.py,,stft,#,169

Before Change


            raise ValueError("Size mismatch between n_fft and len(window)")

    // Pad the window out to n_fft size
    lpad        = (n_fft - win_length)/2
    fft_window  = np.pad(fft_window, (lpad, n_fft - win_length - lpad), mode="constant")
    
    // Reshape so that the window can be broadcast
    fft_window  = fft_window.reshape((-1, 1))

After Change


            raise ValueError("Size mismatch between n_fft and len(window)")

    // Pad the window out to n_fft size
    fft_window = util.pad_center(fft_window, n_fft)

    // Reshape so that the window can be broadcast
    fft_window  = fft_window.reshape((-1, 1))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: librosa/librosa
Commit Name: 1a766e674e36b894d6aa6734e792a764fc91e2c6
Time: 2014-01-18
Author: brm2132@columbia.edu
File Name: librosa/core.py
Class Name:
Method Name: stft


Project Name: librosa/librosa
Commit Name: 1a766e674e36b894d6aa6734e792a764fc91e2c6
Time: 2014-01-18
Author: brm2132@columbia.edu
File Name: librosa/core.py
Class Name:
Method Name: stft


Project Name: librosa/librosa
Commit Name: 1a766e674e36b894d6aa6734e792a764fc91e2c6
Time: 2014-01-18
Author: brm2132@columbia.edu
File Name: librosa/core.py
Class Name:
Method Name: istft


Project Name: librosa/librosa
Commit Name: 1a766e674e36b894d6aa6734e792a764fc91e2c6
Time: 2014-01-18
Author: brm2132@columbia.edu
File Name: librosa/filters.py
Class Name:
Method Name: constant_q