Changeset f912e90
- Timestamp:
- Jun 21, 2019, 2:03:49 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/crepe, feature/crepe_org, feature/timestretch, fix/ffmpeg5, master
- Children:
- 099237f
- Parents:
- 5039244
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/utils.py
r5039244 rf912e90 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.