864e5a68de205bca41a2f4b706c5542e9a5b45e5,librosa/core/time_frequency.py,,octs_to_hz,#Any#Any#,688
Before Change
--------
hz_to_octs
octs = np.asarray([octs]).flatten()
return (float(A440) / 16)*(2.0**octs)
def fft_frequencies(sr=22050, n_fft=2048):
After Change
--------
hz_to_octs
return (float(A440) / 16)*(2.0**np.atleast_1d(octs))
def fft_frequencies(sr=22050, n_fft=2048):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
Project Name: librosa/librosa
Commit Name: 864e5a68de205bca41a2f4b706c5542e9a5b45e5
Time: 2015-02-14
Author: brian.mcfee@nyu.edu
File Name: librosa/core/time_frequency.py
Class Name:
Method Name: octs_to_hz
Project Name: librosa/librosa
Commit Name: 864e5a68de205bca41a2f4b706c5542e9a5b45e5
Time: 2015-02-14
Author: brian.mcfee@nyu.edu
File Name: librosa/core/time_frequency.py
Class Name:
Method Name: hz_to_midi
Project Name: librosa/librosa
Commit Name: 864e5a68de205bca41a2f4b706c5542e9a5b45e5
Time: 2015-02-14
Author: brian.mcfee@nyu.edu
File Name: librosa/core/time_frequency.py
Class Name:
Method Name: midi_to_hz
Project Name: librosa/librosa
Commit Name: 864e5a68de205bca41a2f4b706c5542e9a5b45e5
Time: 2015-02-14
Author: brian.mcfee@nyu.edu
File Name: librosa/core/time_frequency.py
Class Name:
Method Name: hz_to_octs