- Timestamp:
- Feb 14, 2014, 11:20:46 PM (11 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:
- 8f14c6e
- Parents:
- 97d77da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/demos/demo_pysoundcard_record.py
r97d77da r098925a5 17 17 vec = s.read(hop_size) 18 18 # mix down to mono 19 mono_vec = vec.sum(-1) 19 mono_vec = vec.sum(-1) / float(s.input_channels) 20 20 g(mono_vec, hop_size) 21 total_frames += hop_size 21 total_frames += hop_size 22 22 s.stop() 23 23
Note: See TracChangeset
for help on using the changeset viewer.