Changeset 2f16966 for python/tests/utils.py
- Timestamp:
- Jun 29, 2019, 2:27:35 PM (5 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/crepe_org, fix/ffmpeg5, master
- Children:
- c37bc19
- Parents:
- 3d73183 (diff), 2244f00 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/utils.py
r3d73183 r2f16966 4 4 import re 5 5 import glob 6 import struct 6 7 import numpy as np 7 8 from tempfile import mkstemp 8 9 9 10 DEFAULT_SOUND = '22050Hz_5s_brownnoise.wav' 11 12 def is32bit(): 13 return struct.calcsize("P") * 8 == 32 10 14 11 15 def array_from_text_file(filename, dtype = 'float'):
Note: See TracChangeset
for help on using the changeset viewer.