Changes in python/lib/aubio/__init__.py [33102ab:229d050]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/aubio/__init__.py
r33102ab 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.