Ignore:
Timestamp:
Aug 14, 2005, 5:21:19 AM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
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:
13d57e8
Parents:
a3e24ec
Message:

updated default parameters, fixed 0.000.wav creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/aubioclass.py

    ra3e24ec r855ed0a  
    192192    framestep = hopsize/(filei.samplerate()+0.)
    193193    channels  = filei.channels()
    194     newname   = "%s%f%s" % ("/tmp/",0.0000000,filein[-4:])
     194    newname   = "%s%s%f%s%s" % (filein.split(".")[0].split("/")[-1],".",
     195                frameread*framestep,".",filein.split(".")[-1])
    195196    fileo     = sndfile(newname,model=filei)
    196197    myvec     = fvec(hopsize,channels)
Note: See TracChangeset for help on using the changeset viewer.