d3fd847ea63f5a4df3355ff5e43b3228cf43c444,tests/test_core.py,,test_piptrack,#,486
Before Change
S = np.asarray([[1, 0, 0]]).T
np.seterr(divide="raise")
yield __test, None, 22050, S, 4096, None, 150.0, 4000.0, 0.1
def test_estimate_tuning():
After Change
S = np.abs(librosa.stft(y, n_fft=n_fft, hop_length=hop_length))
for fmin in [0, 100]:
for fmax in [4000, 8000, sr // 2]:
for threshold in [0.1, 0.2, 0.5]:
yield __test, S, n_fft, hop_length, fmin, fmax, threshold
def test_piptrack_negative():
def __test(y, sr, S, n_fft, hop_length, fmin, fmax, threshold):
pitches, mags = librosa.piptrack(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: librosa/librosa
Commit Name: d3fd847ea63f5a4df3355ff5e43b3228cf43c444
Time: 2015-08-31
Author: brian.mcfee@nyu.edu
File Name: tests/test_core.py
Class Name:
Method Name: test_piptrack
Project Name: luispedro/mahotas
Commit Name: e988f3320b269577eb83371a60aca3db4b1c92b7
Time: 2020-08-13
Author: luis@luispedro.org
File Name: mahotas/tests/test_convolve.py
Class Name:
Method Name: test_gaussian_order_high
Project Name: luispedro/mahotas
Commit Name: e988f3320b269577eb83371a60aca3db4b1c92b7
Time: 2020-08-13
Author: luis@luispedro.org
File Name: mahotas/tests/test_internal.py
Class Name:
Method Name: test_get_axis_off