Changes in / [6b98ab9:99c7aa2]
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
.appveyor.yml
r6b98ab9 r99c7aa2 43 43 - "%PYTHONDIR%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\"" 44 44 45 - "%PYTHONDIR%\\python.exe -m pip install --disable-pip-version-check --user --upgrade pip"46 - "%PYTHONDIR%\\python.exe -m pip install --upgrade setuptools"47 48 45 # We need wheel installed to build wheels 49 46 - "%PYTHONDIR%\\python.exe -m pip install wheel" 50 47 51 48 - "SET PATH=%PATH_EXTRAS%;%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%" 49 50 - "pip install --disable-pip-version-check --user --upgrade pip" 51 - "pip install --upgrade setuptools" 52 52 53 53 before_build: … … 56 56 build_script: 57 57 # build python module without using libaubio 58 - " %PYTHONDIR%\\python.exe -mpip install -r requirements.txt"58 - "pip install -r requirements.txt" 59 59 - "python setup.py build" 60 - " %PYTHONDIR%\\python.exe -mpip install ."60 - "pip install ." 61 61 - "python python\\demos\\demo_create_test_sounds.py" 62 62 - "nose2 --verbose" -
src/pitch/pitchyinfft.c
r6b98ab9 r99c7aa2 45 45 160., 200., 250., 315., 400., 500., 630., 800., 1000., 1250., 46 46 1600., 2000., 2500., 3150., 4000., 5000., 6300., 8000., 9000., 10000., 47 12500., 15000., 20000., 25100 ., -1.47 12500., 15000., 20000., 25100 48 48 }; 49 49 … … 73 73 for (i = 0; i < p->weight->length; i++) { 74 74 freq = (smpl_t) i / (smpl_t) bufsize *(smpl_t) samplerate; 75 while (freq > freqs[j] && freqs[j] > 0) { 76 //AUBIO_DBG("freq %3.5f > %3.5f \tsamplerate %d (Hz) \t" 77 // "(weight length %d, bufsize %d) %d %d\n", freq, freqs[j], 78 // samplerate, p->weight->length, bufsize, i, j); 75 while (freq > freqs[j]) { 79 76 j += 1; 80 77 }
Note: See TracChangeset
for help on using the changeset viewer.