comparison test/test_collect.py @ 112:9343eee50605

Update to Python 3. Currently crashes during tests (and also, two tests are now failing, even with Py2).
author Chris Cannam
date Wed, 17 Jun 2015 12:35:41 +0100
parents 0c5a4dc04ed9
children 1c7c4bd74363
comparison
equal deleted inserted replaced
111:4f590fc46ace 112:9343eee50605
4 import vamp.frames as fr 4 import vamp.frames as fr
5 5
6 plugin_key = "vamp-test-plugin:vamp-test-plugin" 6 plugin_key = "vamp-test-plugin:vamp-test-plugin"
7 plugin_key_freq = "vamp-test-plugin:vamp-test-plugin-freq" 7 plugin_key_freq = "vamp-test-plugin:vamp-test-plugin-freq"
8 8
9 rate = 44100 9 rate = 44100.0
10 10
11 # Throughout this file we have the assumption that the plugin gets run with a 11 # Throughout this file we have the assumption that the plugin gets run with a
12 # blocksize of 1024, and with a step of 1024 for the time-domain version or 512 12 # blocksize of 1024, and with a step of 1024 for the time-domain version or 512
13 # for the frequency-domain one. That is certainly expected to be the norm for a 13 # for the frequency-domain one. That is certainly expected to be the norm for a
14 # plugin like this that declares no preference, and the Python Vamp module is 14 # plugin like this that declares no preference, and the Python Vamp module is