Changeset c34336e for tests


Ignore:
Timestamp:
Dec 17, 2013, 5:13:28 PM (10 years ago)
Author:
Paul Brossier <piem@piem.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:
941c9f9
Parents:
5d10ac1
Message:

src/fvec.h: clean up fvec api

Location:
tests/src/spectral
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/src/spectral/test-phasevoc-jack.c

    r5d10ac1 rc34336e  
    7575    for (i=0;i<channels;i++) {
    7676      /* write input to datanew */
    77       fvec_write_sample(in[i], input[i][j], pos);
     77      fvec_set_sample(in[i], input[i][j], pos);
    7878      /* put synthnew in output */
    79       output[i][j] = fvec_read_sample(out[i], pos);
     79      output[i][j] = fvec_get_sample(out[i], pos);
    8080    }
    8181    /*time for fft*/
  • tests/src/spectral/test-phasevoc.c

    r5d10ac1 rc34336e  
    1515
    1616  // fill input with some data
    17   fvec_set (in, 1.);
     17  fvec_set_all (in, 1.);
    1818  fvec_print (in);
    1919
Note: See TracChangeset for help on using the changeset viewer.