Changeset 79a01c5


Ignore:
Timestamp:
Sep 17, 2009, 7:30:50 AM (15 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:
03eeff1
Parents:
5b1fff7
Message:

src/lvec.{c,h}: add lvec_print

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/lvec.c

    r5b1fff7 r79a01c5  
    6262}
    6363
     64/* helper functions */
     65
     66void lvec_print(lvec_t *s) {
     67  uint_t i,j;
     68  for (i=0; i< s->channels; i++) {
     69    for (j=0; j< s->length; j++) {
     70      AUBIO_MSG(AUBIO_LSMP_FMT " ", s->data[i][j]);
     71    }
     72    AUBIO_MSG("\n");
     73  }
     74}
     75
  • src/lvec.h

    r5b1fff7 r79a01c5  
    114114lsmp_t ** lvec_get_data(lvec_t *s);
    115115
     116/** print out lvec data
     117
     118  \param s vector to print out
     119
     120*/
     121void lvec_print(lvec_t *s);
     122
    116123#ifdef __cplusplus
    117124}
Note: See TracChangeset for help on using the changeset viewer.