Changeset 144aff7


Ignore:
Timestamp:
Jul 27, 2006, 10:37:32 AM (18 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:
36dfbc6
Parents:
26bf968
Message:

floor, not FLOOR in examples, only inst_headers for user doc
floor, not FLOOR in examples, only inst_headers for user doc

Patches applied:

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/user.cfg

    r26bf968 r144aff7  
    469469# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py
    470470
    471 FILE_PATTERNS          =
     471FILE_PATTERNS          = *.h
    472472
    473473# The RECURSIVE tag can be used to turn specify whether or not subdirectories
     
    481481# subdirectory from a directory tree whose root is specified with the INPUT tag.
    482482
    483 EXCLUDE                =
     483EXCLUDE                = ../src/aubio_priv.h
    484484
    485485# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
  • examples/aubionotes.c

    r26bf968 r144aff7  
    6767                              send_noteon(curnote,0);
    6868                              /* get and send new one */
    69                               send_noteon(pitch,127+(int)FLOOR(curlevel));
     69                              send_noteon(pitch,127+(int)floor(curlevel));
    7070                              curnote = pitch;
    7171                      }
     
    8787                              /* get and send new one */
    8888                              if (curnote>45){
    89                                       send_noteon(curnote,127+(int)FLOOR(curlevel));
     89                                      send_noteon(curnote,127+(int)floor(curlevel));
    9090                              }
    9191                      }
  • examples/utils.c

    r26bf968 r144aff7  
    406406void send_noteon(int pitch, int velo)
    407407{
    408     smpl_t mpitch = (FLOOR)(aubio_freqtomidi(pitch)+.5);
     408    smpl_t mpitch = floor(aubio_freqtomidi(pitch)+.5);
    409409    /* we should check if we use midi here, not jack */
    410410#if ALSA_SUPPORT
Note: See TracChangeset for help on using the changeset viewer.