Exemple #1
0
 def __init__(self,
              fn,
              samplerate,
              filefmt='wav',
              datafmt='pcm16',
              channels=1):
     fmt = Format(filefmt, datafmt)
     Sndfile.__init__(self,
                      fn,
                      mode='w',
                      format=fmt,
                      channels=channels,
                      samplerate=samplerate)
Exemple #2
0
 def __init__(self,fn,samplerate,filefmt='wav',datafmt='pcm16',channels=1):
     fmt = Format(filefmt,datafmt)
     Sndfile.__init__(self,fn,mode='w',format=fmt,channels=channels,samplerate=samplerate)
Exemple #3
0
 def __init__(self,fn):
     Sndfile.__init__(self,fn)
Exemple #4
0
 def __init__(self, fn):
     Sndfile.__init__(self, fn)