Changeset 689106e for python/tests/test_sink.py
- Timestamp:
- Apr 18, 2016, 11:24:47 PM (8 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:
- 6db7600
- Parents:
- 1c6fe64
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_sink.py
r1c6fe64 r689106e 45 45 vec = fvec(write) 46 46 g(vec, write) 47 except StandardError:47 except Exception: 48 48 pass 49 49 else: … … 71 71 if read < f.hop_size: break 72 72 if 0: 73 print "read", "%.2fs" % (total_frames / float(f.samplerate) ),74 print "(", total_frames, "frames", "in",75 print total_frames / f.hop_size, "blocks", "at", "%dHz" % f.samplerate, ")",76 print "from", f.uri,77 print "to", g.uri73 print ("read", "%.2fs" % (total_frames / float(f.samplerate) ) ), 74 print ("(", total_frames, "frames", "in" ), 75 print (total_frames / f.hop_size, "blocks", "at", "%dHz" % f.samplerate, ")" ), 76 print ("from", f.uri ), 77 print ("to", g.uri) 78 78 del_tmp_sink_path(sink_path) 79 79 … … 96 96 if read < f.hop_size: break 97 97 if 0: 98 print "read", "%.2fs" % (total_frames / float(f.samplerate) ),99 print "(", total_frames, "frames", "in",100 print f.channels, "channels", "in",101 print total_frames / f.hop_size, "blocks", "at", "%dHz" % f.samplerate, ")",102 print "from", f.uri,103 print "to", g.uri,104 print "in", g.channels, "channels"98 print ("read", "%.2fs" % (total_frames / float(f.samplerate) ) ), 99 print ("(", total_frames, "frames", "in" ), 100 print (f.channels, "channels", "in" ), 101 print (total_frames / f.hop_size, "blocks", "at", "%dHz" % f.samplerate, ")" ), 102 print ("from", f.uri ), 103 print ("to", g.uri ), 104 print ("in", g.channels, "channels") 105 105 del_tmp_sink_path(sink_path) 106 106
Note: See TracChangeset
for help on using the changeset viewer.