9770d06dd3309b3ca6ea81582415e52198d2298e,tests/test_display.py,,get_spec,#,32
Before Change
@nottest
def get_spec(y, sr):
C = librosa.cqt(y, sr=sr)
return librosa.stft(y), C, sr
__EXAMPLE_FILE = "data/test1_22050.wav"
After Change
@nottest
def get_spec(y, sr):
C = np.abs(librosa.cqt(y, sr=sr, real=False))
return librosa.stft(y), C, sr
__EXAMPLE_FILE = "data/test1_22050.wav"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: librosa/librosa
Commit Name: 9770d06dd3309b3ca6ea81582415e52198d2298e
Time: 2016-02-04
Author: brian.mcfee@nyu.edu
File Name: tests/test_display.py
Class Name:
Method Name: get_spec
Project Name: librosa/librosa
Commit Name: 6f8da02dfedeea06c59e385d51eacc3df9dd34e6
Time: 2016-02-04
Author: brian.mcfee@nyu.edu
File Name: tests/test_constantq.py
Class Name:
Method Name: __test_cqt_size
Project Name: librosa/librosa
Commit Name: 6f8da02dfedeea06c59e385d51eacc3df9dd34e6
Time: 2016-02-04
Author: brian.mcfee@nyu.edu
File Name: librosa/core/constantq.py
Class Name:
Method Name: hybrid_cqt