/usr/lib/python2.7/dist-packages/aubio/__init__.py is in python-aubio 0.4.1-2+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #! /usr/bin/env python
import numpy
from _aubio import *
from midiconv import *
from slicing import *
class fvec(numpy.ndarray):
" a simple numpy array holding a vector of float32 "
def __new__(self, length = 1024, **kwargs):
self.length = length
if type(length) == type([]):
return numpy.array(length, dtype='float32', **kwargs)
return numpy.zeros(length, dtype='float32', **kwargs)
|