9cadc1d3beaaa6bb03c4ab291f6483473624eae2,librosa/feature.py,,logfsgram,#,9

Before Change


        D = np.abs(D)**2
    else:
        // Convert to power
        D = np.abs(librosa.stft(y, n_fft=n_fft, hop_length=hop_length)) ** 2

    // Normalize, retain magnitude
    D = np.abs(D / D.max())

After Change


        del pitches

    else:
        D = librosa.stft(y, n_fft=n_fft, hop_length=hop_length)

    // Normalize, retain power
    D = np.abs(D / D.max())**2

    // Build the CQ basis
    cq_basis = librosa.filters.logfrequency(sr, n_fft=n_fft, **kwargs)
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: librosa/librosa
Commit Name: 9cadc1d3beaaa6bb03c4ab291f6483473624eae2
Time: 2014-01-02
Author: brm2132@columbia.edu
File Name: librosa/feature.py
Class Name:
Method Name: logfsgram


Project Name: librosa/librosa
Commit Name: b7c2f6e9ccd65a53d8ae9aa0d3ee287ce9c93019
Time: 2014-02-07
Author: brm2132@columbia.edu
File Name: librosa/feature.py
Class Name:
Method Name: logfsgram


Project Name: librosa/librosa
Commit Name: ec25db143c1f7b60e4c1e3646027b15ae3d11d5c
Time: 2013-04-01
Author: brm2132@columbia.edu
File Name: librosa/feature.py
Class Name:
Method Name: melspectrogram