Skip to content

Instantly share code, notes, and snippets.

@yomguy
Created September 30, 2013 08:54
Show Gist options
  • Save yomguy/6761064 to your computer and use it in GitHub Desktop.
Save yomguy/6761064 to your computer and use it in GitHub Desktop.
TS 0.5dev tests
momo@wm22:~/dev/timeside/timeside$ python tests/run_all_tests
[TestTranscodingFrom32kHzWav]
Test conversion to mp3 ... ok
Test conversion to ogg ... ok
Test conversion to wav ... ok
[TestTranscodingFromAnotherWav]
Test conversion to mp3 ... ok
Test conversion to ogg ... ok
Test conversion to wav ... ok
[TestTranscodingFromFlac]
Test conversion to mp3 ... ok
Test conversion to ogg ... ok
Test conversion to wav ... ok
[TestTranscodingFromMissingFile]
Test conversion to mp3 ... ok
Test conversion to ogg ... ok
Test conversion to wav ... ok
[TestTranscodingFromMonoWav]
Test conversion to mp3 ... ok
Test conversion to ogg ... ok
Test conversion to wav ... ok
[TestTranscodingFromMp3]
Test conversion to mp3 ... ok
Test conversion to ogg ... ok
Test conversion to wav ... ok
[TestTranscodingFromOgg]
Test conversion to mp3 ... ok
Test conversion to ogg ... ok
Test conversion to wav ... ok
[TestTranscodingFromWav]
Test conversion to mp3 ... ok
Test conversion to ogg ... ok
Test conversion to wav ... ok
[TestGraphing]
Test FLAC to Spectrogram ... ok
Test FLAC to Waveform ... ok
Test FLAC to WaveformContourBlack ... ok
Test FLAC to WaveformContourWhite ... ok
Test MP3 to Spectrogram ... ok
Test MP3 to Waveform ... ok
Test MP3 to WaveformContourBlack ... ok
Test MP3 to WaveformContourWhite ... ok
Test OGG to Spectrogram ... ok
Test OGG to Waveform ... ok
Test OGG to WaveformContourBlack ... ok
Test OGG to WaveformContourWhite ... ok
Test WAV to Spectrogram ... ok
Test WAV to Waveform ... ok
Test WAV to WaveformContourBlack ... ok
Test WAV to WaveformContourWhite ... ok
Test WAV to WaveformSimple ... ok
[TestYaafe]
runs on guitar and load Yaafe dataflow from file ... ERROR
runs on guitar and load Yaafe feature plan from file ... ERROR: unknown feature MFCC
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
ok
runs on sweep and define feature plan manually ... ERROR: unknown feature MFCC
ERROR: unknown feature MFCC
ERROR: unknown feature MFCC
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
WARNING: node 'audio' does not exist !
ERROR: unknown input audio
ok
[TestDecoding]
Test flac decoding ... ok
Test mp3 decoding ... ok
Test ogg decoding ... ok
Test wav decoding ... ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingLongBlock]
Test flac decoding ... ok
Test mp3 decoding ... ok
Test ogg decoding ... ok
Test wav decoding ... ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingMonoDownsampling]
Test flac decoding ... ok
Test mp3 decoding ... ok
Test ogg decoding ... ok
Test wav decoding ... ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingMonoUpsampling]
Test flac decoding ... ok
Test mp3 decoding ... ok
Test ogg decoding ... ok
Test wav decoding ... ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingSegment]
Test flac decoding ... Test mp3 decoding ... ok
Test ogg decoding ... Test wav decoding ... ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingSegmentDefaultDuration]
Test flac decoding ... Test mp3 decoding ... ok
Test ogg decoding ... Test wav decoding ... ok
Test 32kHz wav decoding ... ^[[5~ok
Test mono wav decoding ... ok
[TestDecodingSegmentDefaultStart]
Test flac decoding ... Test mp3 decoding ... ok
Test ogg decoding ... Test wav decoding ... ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingShortBlock]
Test flac decoding ... ^[[5~ok
Test mp3 decoding ... ok
Test ogg decoding ... ^[[5~ok
Test wav decoding ... ^[[5~ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingStereo]
Test flac decoding ... ok
Test mp3 decoding ... ok
Test ogg decoding ... ok
Test wav decoding ... ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingStereoDownsampling]
Test flac decoding ... ok
Test mp3 decoding ... ok
Test ogg decoding ... ok
Test wav decoding ... ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingStereoUpsampling]
Test flac decoding ... ok
Test mp3 decoding ... ok
Test ogg decoding ... ok
Test wav decoding ... ok
Test 32kHz wav decoding ... ok
Test mono wav decoding ... ok
[TestDecodingWrongFiles]
Test decoding dev null ... ok
Test decoding empty file ... ok
Test decoding missing file ... ok
Test decoding file withouth audio stream ... ok
[TestAubioSpecdesc]
runs on guitar ... ERROR
runs on sweep ... ERROR
[TestAubioPitch]
runs on guitar ... ok
runs on sweep ... ok
[TestComponentArchitecture]
Test abstract implementation ... ok
Test that a component doesn't implement the interface implemented by its parent ... ok
Test implementation redundancy across inheritance ... ok
Test @interfacedoc on static method (decorators reversed) ... ok
Test @interfacedoc decorator ... ok
Test @interfacedoc with unexistant method in interface ... ok
Test @interfacedoc decorator on static method ... ok
Test whether a component implements an interface's parent ... ok
Test a component implementing one interface ... ok
Test an interface implemented by two components ... ok
Test a component implementing two interfaces ... ok
[TestAubioMfcc]
runs on guitar ... ERROR
runs on sweep ... ERROR
[TestAnalyzerResult]
empty list ... ok
float result ... ok
integer result ... ok
list result ... ok
list of lists result ... ok
list of strings result ... ok
None ... ok
numpy 2d array of float64 ... ok
numpy 3d array of int32 ... ok
numpy array of strings ... ok
numpy vector of float ... ok
gasps on numpy complex128 ... ok
gasps on numpy complex256 ... ok
gasps on numpy complex64 ... ok
gasps on numpy datetime64 ... ok
gasps on numpy float128 ... ok
gasps on numpy float16 ... ok
groks a numpy float32 ... ok
groks a numpy float64 ... ok
groks a numpy int16 ... ok
groks a numpy int32 ... ok
groks a numpy int64 ... ok
groks a numpy int8 ... ok
groks a numpy object_ ... ok
groks a numpy string_ ... ok
gasps on numpy timedelta64 ... ok
groks a numpy uint16 ... ok
groks a numpy uint32 ... ok
groks a numpy uint64 ... ok
groks a numpy uint8 ... ok
string result ... ok
None ... ok
[TestAnalyzerResultHdf5]
empty list ... ok
float result ... ok
integer result ... ok
list result ... ok
list of lists result ... ok
list of strings result ... ok
None ... ok
numpy 2d array of float64 ... ok
numpy 3d array of int32 ... ok
numpy array of strings ... ok
numpy vector of float ... ok
gasps on numpy complex128 ... ok
gasps on numpy complex256 ... ok
gasps on numpy complex64 ... ok
gasps on numpy datetime64 ... ok
gasps on numpy float128 ... ok
gasps on numpy float16 ... ok
groks a numpy float32 ... ok
groks a numpy float64 ... ok
groks a numpy int16 ... ok
groks a numpy int32 ... ok
groks a numpy int64 ... ok
groks a numpy int8 ... ok
groks a numpy object_ ... ok
groks a numpy string_ ... ok
gasps on numpy timedelta64 ... ok
groks a numpy uint16 ... ok
groks a numpy uint32 ... ok
groks a numpy uint64 ... ok
groks a numpy uint8 ... ok
string result ... ok
None ... ok
[TestAnalyzerResultJson]
empty list ... ok
float result ... ok
integer result ... ok
list result ... ok
list of lists result ... ok
list of strings result ... ok
None ... ok
numpy 2d array of float64 ... ok
numpy 3d array of int32 ... ok
numpy array of strings ... ok
numpy vector of float ... ok
gasps on numpy complex128 ... ok
gasps on numpy complex256 ... ok
gasps on numpy complex64 ... ok
gasps on numpy datetime64 ... ok
gasps on numpy float128 ... ok
gasps on numpy float16 ... ok
groks a numpy float32 ... ok
groks a numpy float64 ... ok
groks a numpy int16 ... ok
groks a numpy int32 ... ok
groks a numpy int64 ... ok
groks a numpy int8 ... ok
groks a numpy object_ ... ok
groks a numpy string_ ... ok
gasps on numpy timedelta64 ... ok
groks a numpy uint16 ... ok
groks a numpy uint32 ... ok
groks a numpy uint64 ... ok
groks a numpy uint8 ... ok
string result ... ok
None ... ok
[TestAnalyzerResultNumpy]
empty list ... ok
float result ... ok
integer result ... ok
list result ... ok
list of lists result ... ok
list of strings result ... ok
None ... ok
numpy 2d array of float64 ... ok
numpy 3d array of int32 ... ok
numpy array of strings ... ok
numpy vector of float ... ok
gasps on numpy complex128 ... ok
gasps on numpy complex256 ... ok
gasps on numpy complex64 ... ok
gasps on numpy datetime64 ... ok
gasps on numpy float128 ... ok
gasps on numpy float16 ... ok
groks a numpy float32 ... ok
groks a numpy float64 ... ok
groks a numpy int16 ... ok
groks a numpy int32 ... ok
groks a numpy int64 ... ok
groks a numpy int8 ... ok
groks a numpy object_ ... ok
groks a numpy string_ ... ok
gasps on numpy timedelta64 ... ok
groks a numpy uint16 ... ok
groks a numpy uint32 ... ok
groks a numpy uint64 ... ok
groks a numpy uint8 ... ok
string result ... ok
None ... ok
[TestAnalyzerResultXml]
empty list ... ok
float result ... ok
integer result ... ok
list result ... ok
list of lists result ... ok
list of strings result ... ok
None ... ok
numpy 2d array of float64 ... ok
numpy 3d array of int32 ... ok
numpy array of strings ... ok
numpy vector of float ... ok
gasps on numpy complex128 ... ok
gasps on numpy complex256 ... ok
gasps on numpy complex64 ... ok
gasps on numpy datetime64 ... ok
gasps on numpy float128 ... ok
gasps on numpy float16 ... ok
groks a numpy float32 ... ok
groks a numpy float64 ... ok
groks a numpy int16 ... ok
groks a numpy int32 ... ok
groks a numpy int64 ... ok
groks a numpy int8 ... ok
groks a numpy object_ ... ok
groks a numpy string_ ... ok
gasps on numpy timedelta64 ... ok
groks a numpy uint16 ... ok
groks a numpy uint32 ... ok
groks a numpy uint64 ... ok
groks a numpy uint8 ... ok
string result ... ok
None ... ok
[TestAnalyzerResultYaml]
empty list ... ok
float result ... ok
integer result ... ok
list result ... ok
list of lists result ... ok
list of strings result ... ok
None ... ok
numpy 2d array of float64 ... ok
numpy 3d array of int32 ... ok
numpy array of strings ... ok
numpy vector of float ... ok
gasps on numpy complex128 ... ok
gasps on numpy complex256 ... ok
gasps on numpy complex64 ... ok
gasps on numpy datetime64 ... ok
gasps on numpy float128 ... ok
gasps on numpy float16 ... ok
groks a numpy float32 ... ok
groks a numpy float64 ... ok
groks a numpy int16 ... ok
groks a numpy int32 ... ok
groks a numpy int64 ... ok
groks a numpy int8 ... ok
groks a numpy object_ ... ok
groks a numpy string_ ... ok
gasps on numpy timedelta64 ... ok
groks a numpy uint16 ... ok
groks a numpy uint32 ... ok
groks a numpy uint64 ... ok
groks a numpy uint8 ... ok
string result ... ok
None ... ok
[TestAnalyzerLevel]
runs on guitar ... ok
runs on sweep ... ok
[TestAnalyzerDC]
runs on guitar ... ERROR
runs on sweep ... ERROR
[TestFixedSizeInputAdapter]
Test automatic padding support ... ok
Test a stream which contain a multiple number of buffers ... ok
Test simple stream with two channels ... ok
[TestAubioMelEnergy]
runs on guitar ... ERROR
runs on sweep ... ERROR
[TestEncoding]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
[TestEncodingHighSamplerate]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
[TestEncodingLongBlock]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
[TestEncodingLowSamplerate]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
[TestEncodingOverwriteFails]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
Test webm encoding ... ok
[TestEncodingOverwriteForced]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
[TestEncodingShortBlock]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
[TestEncodingStereo]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
[TestEncodingToDevNull]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
[TestEncodingToDirectory]
Test flac encoding ... ok
Test mp3 encoding ... ok
Test vorbis encoding ... ok
Test wav encoding ... ok
[TestAubioTemporal]
runs on guitar ... ok
runs on sweep ... ok
[TestListCoreProcessors]
has some analyzers ... ok
has some decoders ... ok
has some encoders ... ok
has some graphers ... ok
======================================================================
ERROR: runs on guitar and load Yaafe dataflow from file
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dev/timeside/tests/test_yaafe.py", line 59, in tearDown
results = self.analyzer.results()
File "/home/dev/timeside/timeside/analyzer/yaafe.py", line 95, in results
result = AnalyzerResult()
File "/home/dev/timeside/timeside/analyzer/core.py", line 601, in __init__
self.data = []
File "/home/dev/timeside/timeside/analyzer/core.py", line 619, in __setattr__
type(value))
TypeError: AnalyzerResult can not accept type <type 'numpy.ndarray'>
======================================================================
ERROR: runs on guitar
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dev/timeside/tests/test_aubio_specdesc.py", line 23, in tearDown
results = self.analyzer.results()
File "/home/dev/timeside/timeside/analyzer/aubio_specdesc.py", line 75, in results
specdesc = AnalyzerResult()
File "/home/dev/timeside/timeside/analyzer/core.py", line 601, in __init__
self.data = []
File "/home/dev/timeside/timeside/analyzer/core.py", line 619, in __setattr__
type(value))
TypeError: AnalyzerResult can not accept type <type 'numpy.ndarray'>
======================================================================
ERROR: runs on sweep
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dev/timeside/tests/test_aubio_specdesc.py", line 23, in tearDown
results = self.analyzer.results()
File "/home/dev/timeside/timeside/analyzer/aubio_specdesc.py", line 75, in results
specdesc = AnalyzerResult()
File "/home/dev/timeside/timeside/analyzer/core.py", line 601, in __init__
self.data = []
File "/home/dev/timeside/timeside/analyzer/core.py", line 619, in __setattr__
type(value))
TypeError: AnalyzerResult can not accept type <type 'numpy.ndarray'>
======================================================================
ERROR: runs on guitar
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dev/timeside/tests/test_aubio_mfcc.py", line 23, in tearDown
results = self.analyzer.results()
File "/home/dev/timeside/timeside/analyzer/aubio_mfcc.py", line 67, in results
mfcc = AnalyzerResult()
File "/home/dev/timeside/timeside/analyzer/core.py", line 601, in __init__
self.data = []
File "/home/dev/timeside/timeside/analyzer/core.py", line 619, in __setattr__
type(value))
TypeError: AnalyzerResult can not accept type <type 'numpy.ndarray'>
======================================================================
ERROR: runs on sweep
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dev/timeside/tests/test_aubio_mfcc.py", line 23, in tearDown
results = self.analyzer.results()
File "/home/dev/timeside/timeside/analyzer/aubio_mfcc.py", line 67, in results
mfcc = AnalyzerResult()
File "/home/dev/timeside/timeside/analyzer/core.py", line 601, in __init__
self.data = []
File "/home/dev/timeside/timeside/analyzer/core.py", line 619, in __setattr__
type(value))
TypeError: AnalyzerResult can not accept type <type 'numpy.ndarray'>
======================================================================
ERROR: runs on guitar
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dev/timeside/tests/test_analyzer_dc.py", line 40, in tearDown
results = self.analyzer.results()
File "/home/dev/timeside/timeside/analyzer/dc.py", line 51, in results
result = AnalyzerResult()
File "/home/dev/timeside/timeside/analyzer/core.py", line 601, in __init__
self.data = []
File "/home/dev/timeside/timeside/analyzer/core.py", line 619, in __setattr__
type(value))
TypeError: AnalyzerResult can not accept type <type 'numpy.ndarray'>
======================================================================
ERROR: runs on sweep
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dev/timeside/tests/test_analyzer_dc.py", line 40, in tearDown
results = self.analyzer.results()
File "/home/dev/timeside/timeside/analyzer/dc.py", line 51, in results
result = AnalyzerResult()
File "/home/dev/timeside/timeside/analyzer/core.py", line 601, in __init__
self.data = []
File "/home/dev/timeside/timeside/analyzer/core.py", line 619, in __setattr__
type(value))
TypeError: AnalyzerResult can not accept type <type 'numpy.ndarray'>
======================================================================
ERROR: runs on guitar
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dev/timeside/tests/test_aubio_melenergy.py", line 23, in tearDown
results = self.analyzer.results()
File "/home/dev/timeside/timeside/analyzer/aubio_melenergy.py", line 65, in results
melenergy = AnalyzerResult()
File "/home/dev/timeside/timeside/analyzer/core.py", line 601, in __init__
self.data = []
File "/home/dev/timeside/timeside/analyzer/core.py", line 619, in __setattr__
type(value))
TypeError: AnalyzerResult can not accept type <type 'numpy.ndarray'>
======================================================================
ERROR: runs on sweep
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dev/timeside/tests/test_aubio_melenergy.py", line 23, in tearDown
results = self.analyzer.results()
File "/home/dev/timeside/timeside/analyzer/aubio_melenergy.py", line 65, in results
melenergy = AnalyzerResult()
File "/home/dev/timeside/timeside/analyzer/core.py", line 601, in __init__
self.data = []
File "/home/dev/timeside/timeside/analyzer/core.py", line 619, in __setattr__
type(value))
TypeError: AnalyzerResult can not accept type <type 'numpy.ndarray'>
----------------------------------------------------------------------
Ran 379 tests in 28.353s
FAILED (errors=9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment