Skip to content

Commit

Permalink
Merge 5b74d76 into f47fb11
Browse files Browse the repository at this point in the history
  • Loading branch information
piem committed Mar 8, 2017
2 parents f47fb11 + 5b74d76 commit 2b078d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librosa/core/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def load(path, sr=22050, mono=True, offset=0.0, duration=None,
y = np.concatenate(y)

if n_channels > 1:
y = y.reshape((-1, 2)).T
y = y.reshape((-1, n_channels)).T
if mono:
y = to_mono(y)

Expand Down

0 comments on commit 2b078d2

Please sign in to comment.