d7eeac5df67900175d78cb997d36e1185911d3b5,librosa/onset.py,,onset_strength_multi,#Any#Any#Any#Any#Any#Any#Any#Any#,269

Before Change



    // Counter-act framing effects. Shift the onsets by n_fft / hop_length
    if centering:
        padding = [(0, 0)] * onset_env.ndim
        padding[-1] = (n_fft // (2 * hop_length), 0)
        onset_env = np.pad(onset_env, padding, mode="constant")

    // remove the DC component
    if detrend:
        onset_env = scipy.signal.lfilter([1.0, -1.0], [1.0, -0.99], onset_env, axis=-1)

After Change


    // Counter-act framing effects. Shift the onsets by n_fft / hop_length
    if centering:
        onset_env = np.pad(onset_env,
                           [(0, 0), (n_fft // (2 * hop_length), 0)],
                           mode="constant")

    // remove the DC component
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: librosa/librosa
Commit Name: d7eeac5df67900175d78cb997d36e1185911d3b5
Time: 2015-08-14
Author: brian.mcfee@nyu.edu
File Name: librosa/onset.py
Class Name:
Method Name: onset_strength_multi


Project Name: arraiy/torchgeometry
Commit Name: 20a9acca2636512522116601ae09c6be0408b486
Time: 2020-03-19
Author: ducha.aiki@gmail.com
File Name: kornia/geometry/transform/imgwarp.py
Class Name:
Method Name: warp_affine


Project Name: khaotik/DaNet-Tensorflow
Commit Name: de00082780be884fc90e0113d323bfd63006ffba
Time: 2017-08-07
Author: junkkhaotik@gmail.com
File Name: main.py
Class Name: Model
Method Name: train