Changeset f218f29 for src/hist.h
- Timestamp:
- Nov 7, 2007, 5:03:59 PM (16 years ago)
- 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:
- 10cf306
- Parents:
- ef7df76 (diff), 4368223 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hist.h
ref7df76 rf218f29 1 1 /* 2 2 Copyright (C) 2003 Paul Brossier 3 3 4 5 6 7 4 This program is free software; you can redistribute it and/or modify 5 it under the terms of the GNU General Public License as published by 6 the Free Software Foundation; either version 2 of the License, or 7 (at your option) any later version. 8 8 9 10 11 12 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 13 14 You should have received a copy of the GNU General Public License 15 along with this program; if not, write to the Free Software 16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 */ 14 You should have received a copy of the GNU General Public License 15 along with this program; if not, write to the Free Software 16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 18 */ 18 19 19 20 /** @file … … 34 35 typedef struct _aubio_hist_t aubio_hist_t; 35 36 36 /** histogram creation 37 /** histogram creation 37 38 * \param flow minimum input 38 39 * \param fhig maximum input 39 40 * \param nelems number of histogram columns 40 * \param channels number of channels 41 * \param channels number of channels 41 42 */ 42 43 aubio_hist_t * new_aubio_hist(smpl_t flow, smpl_t fhig, uint_t nelems, uint_t channels); … … 48 49 void aubio_hist_do_notnull(aubio_hist_t *s, fvec_t * input); 49 50 /** compute the mean of the histogram */ 50 smpl_t aubio_hist_mean(aubio_hist_t *s); 51 smpl_t aubio_hist_mean(aubio_hist_t *s); 51 52 /** weight the histogram */ 52 void aubio_hist_weig th(aubio_hist_t *s);53 void aubio_hist_weight(aubio_hist_t *s); 53 54 /** compute dynamic histogram for non-null elements */ 54 55 void aubio_hist_dyn_notnull (aubio_hist_t *s, fvec_t *input);
Note: See TracChangeset
for help on using the changeset viewer.