Skip to content

Commit

Permalink
Merge pull request #31 from bmcfee/librosa050update
Browse files Browse the repository at this point in the history
fixed warning in cqt
  • Loading branch information
bmcfee committed Feb 22, 2017
2 parents 2dbceb2 + b01677d commit cf9f38e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pumpp/feature/cqt.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ def transform_audio(self, y):
fmin=self.fmin,
n_bins=(self.n_octaves *
self.over_sample * 12),
bins_per_octave=(self.over_sample * 12),
real=False))
bins_per_octave=(self.over_sample * 12)))

return {'mag': cqtm.T.astype(np.float32),
'phase': np.angle(phase).T.astype(np.float32)}
Expand Down

0 comments on commit cf9f38e

Please sign in to comment.