Changeset 229d050 for python/lib/aubio
- Timestamp:
- Mar 22, 2013, 6:37:18 PM (12 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:
- bea5389
- Parents:
- ff74460
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/aubio/__init__.py
rff74460 r229d050 1 #! /usr/bin/env python 2 1 3 import numpy 2 4 from _aubio import * … … 4 6 5 7 class fvec(numpy.ndarray): 6 8 " a simple numpy array holding a vector of float32 " 7 9 def __new__(self, length = 1024, **kwargs): 10 self.length = length 8 11 if type(length) == type([]): 9 12 return numpy.array(length, dtype='float32', **kwargs)
Note: See TracChangeset
for help on using the changeset viewer.