Changeset 366f811 for python/aubio
- Timestamp:
- Sep 29, 2006, 4:57:54 PM (18 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 19bc85a
- Parents:
- d88ea06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/txtfile.py
rd88ea06 r366f811 23 23 def read_datafile(filename,depth=-1): 24 24 """read list data from a text file (columns of float)""" 25 fres = open(filename,'ro') 25 if filename == '--' or filename == '-': 26 import sys 27 fres = sys.stdin 28 else: 29 fres = open(filename,'ro') 26 30 l = [] 27 31 while 1:
Note: See TracChangeset
for help on using the changeset viewer.