Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/aubio/__init__.py

    r33102ab r229d050  
     1#! /usr/bin/env python
     2
    13import numpy
    24from _aubio import *
     
    46
    57class fvec(numpy.ndarray):
    6 
     8    " a simple numpy array holding a vector of float32 "
    79    def __new__(self, length = 1024, **kwargs):
     10        self.length = length
    811        if type(length) == type([]):
    912            return numpy.array(length, dtype='float32', **kwargs)
Note: See TracChangeset for help on using the changeset viewer.