From 407e123b0cbadc570525b2775028d9b4fced2f4a Mon Sep 17 00:00:00 2001
From: Sean <espionage724@tutanota.com>
Date: Sat, 30 Apr 2016 16:22:22 -0400
Subject: [PATCH] - Change axis=1 to axis=0
---
extlib/freesound/audioprocessing.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extlib/freesound/audioprocessing.py b/extlib/freesound/audioprocessing.py
index 7ef8d5d..04e5e34 100644
a
|
b
|
class AudioProcessor(object):
|
165 | 165 | |
166 | 166 | if resize_if_less and (add_to_start > 0 or add_to_end > 0): |
167 | 167 | if add_to_start > 0: |
168 | | samples = numpy.concatenate((numpy.zeros(add_to_start), samples), axis=1) |
| 168 | samples = numpy.concatenate((numpy.zeros(add_to_start), samples), axis=0) |
169 | 169 | |
170 | 170 | if add_to_end > 0: |
171 | 171 | samples = numpy.resize(samples, size) |