Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-08 14:55:01 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-08 14:55:01 +0300
commit69d8bf08be9c77c02b130c53495da1a56f9879e3 (patch)
treeacd24992305eef80ad8e935273970a21206984d5 /power_sequencer
parent547f313f0763de0cd90f791ce6e6942ca7abfc4a (diff)
Fix script_load_modules test failures in power sequencer
Diffstat (limited to 'power_sequencer')
-rw-r--r--power_sequencer/operators/audiosync/mfcc/mfcc.py8
-rw-r--r--power_sequencer/scripts/BPSProxy/setup.py4
-rw-r--r--power_sequencer/scripts/BPSRender/setup.py4
3 files changed, 8 insertions, 8 deletions
diff --git a/power_sequencer/operators/audiosync/mfcc/mfcc.py b/power_sequencer/operators/audiosync/mfcc/mfcc.py
index 93709e8c..5d9c9467 100644
--- a/power_sequencer/operators/audiosync/mfcc/mfcc.py
+++ b/power_sequencer/operators/audiosync/mfcc/mfcc.py
@@ -16,10 +16,6 @@
#
import numpy as np
-from scipy.signal import hamming, lfilter
-from scipy.fftpack import fft
-from scipy.fftpack.realtransforms import dct
-
from .trfbank import trfbank
from .segment_axis import segment_axis
@@ -56,6 +52,10 @@ def mfcc(input, nwin=256, nfft=512, fs=16000, nceps=13):
spoken sentences", IEEE Trans. Acoustics. Speech, Signal Proc.
ASSP-28 (4): 357-366, August 1980."""
+ from scipy.signal import hamming, lfilter
+ from scipy.fftpack import fft
+ from scipy.fftpack.realtransforms import dct
+
# MFCC parameters: taken from auditory toolbox
over = nwin - 160
# Pre-emphasis factor (to take into account the -6dB/octave rolloff of the
diff --git a/power_sequencer/scripts/BPSProxy/setup.py b/power_sequencer/scripts/BPSProxy/setup.py
index 99453b04..f1dc3f59 100644
--- a/power_sequencer/scripts/BPSProxy/setup.py
+++ b/power_sequencer/scripts/BPSProxy/setup.py
@@ -14,8 +14,6 @@
# You should have received a copy of the GNU General Public License along with Power Sequencer. If
# not, see <https://www.gnu.org/licenses/>.
#
-from setuptools import setup
-
def readme():
with open("README.rst") as f:
@@ -23,6 +21,8 @@ def readme():
if __name__ == "__main__":
+ from setuptools import setup
+
setup(
name="bpsproxy",
version="0.1.3.post1",
diff --git a/power_sequencer/scripts/BPSRender/setup.py b/power_sequencer/scripts/BPSRender/setup.py
index 1f17b9ba..3d829d64 100644
--- a/power_sequencer/scripts/BPSRender/setup.py
+++ b/power_sequencer/scripts/BPSRender/setup.py
@@ -14,8 +14,6 @@
# You should have received a copy of the GNU General Public License along with Power Sequencer. If
# not, see <https://www.gnu.org/licenses/>.
#
-from setuptools import setup
-
def readme():
with open("README.rst") as f:
@@ -23,6 +21,8 @@ def readme():
if __name__ == "__main__":
+ from setuptools import setup
+
setup(
name="bpsrender",
version="0.1.40.post1",