Changeset f45dd12 for src/tempo


Ignore:
Timestamp:
Sep 5, 2015, 12:12:32 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
44e9eeb5, 60fc05b, c59e693
Parents:
0557af9
Message:

src/tempo/*: remove trailing spaces

Location:
src/tempo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/tempo/beattracking.c

    r0557af9 rf45dd12  
    136136  uint_t numelem = 4;
    137137
    138   smpl_t phase;                 // beat alignment (step - lastbeat) 
    139   smpl_t beat;                  // beat position 
     138  smpl_t phase;                 // beat alignment (step - lastbeat)
     139  smpl_t beat;                  // beat position
    140140  smpl_t bp;                    // beat period
    141141  uint_t a, b;                  // used to build shift invariant comb filterbank
     
    227227  beat = bp - phase;
    228228
    229   // AUBIO_DBG ("bp: %f, phase: %f, lastbeat: %f, step: %d, winlen: %d\n", 
     229  // AUBIO_DBG ("bp: %f, phase: %f, lastbeat: %f, step: %d, winlen: %d\n",
    230230  //    bp, phase, bt->lastbeat, step, winlen);
    231231
     
    319319  }
    320320
    321   //now look for step change - i.e. a difference between gp and rp that 
     321  //now look for step change - i.e. a difference between gp and rp that
    322322  // is greater than 2*constthresh - always true in first case, since gp = 0
    323323  if (counter == 0) {
     
    342342    }
    343343  } else if (counter > 0) {
    344     //if counter doesn't = 1, 
     344    //if counter doesn't = 1,
    345345    counter = counter - 1;
    346346  }
  • src/tempo/beattracking.h

    r0557af9 rf45dd12  
    11/*
    2   Copyright (C) 2003-2013 Matthew Davies and Paul Brossier <piem@aubio.org>
     2  Copyright (C) 2003-2015 Matthew Davies and Paul Brossier <piem@aubio.org>
    33
    44  This file is part of aubio.
     
    3535
    3636  \example tempo/test-beattracking.c
    37  
     37
    3838*/
    3939#ifndef _AUBIO_BEATTRACKING_H
     
    5050
    5151  \param winlen length of the onset detection window
    52   \param hop_size number of onset detection samples [512] 
     52  \param hop_size number of onset detection samples [512]
    5353  \param samplerate samplerate of the input signal
    5454
     
    5757    uint_t samplerate);
    5858
    59 /** track the beat 
     59/** track the beat
    6060
    6161  \param bt beat tracking object
    6262  \param dfframes current input detection function frame, smoothed by
    63   adaptive median threshold. 
    64   \param out stored detected beat locations 
     63  adaptive median threshold.
     64  \param out stored detected beat locations
    6565
    6666*/
     
    7878smpl_t aubio_beattracking_get_bpm(aubio_beattracking_t * bt);
    7979
    80 /** get current tempo confidence 
     80/** get current tempo confidence
    8181
    8282  \param bt beat tracking object
Note: See TracChangeset for help on using the changeset viewer.