Changes in src/notes/notes.h [dd18484:17b08e6]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/notes/notes.h
rdd18484 r17b08e6 16 16 You should have received a copy of the GNU General Public License 17 17 along with aubio. If not, see <http://www.gnu.org/licenses/>. 18 19 */ 20 21 /** \file 22 23 Note detection object 18 24 19 25 */ … … 52 58 53 59 \param o note detection object as returned by new_aubio_notes() 54 \param in input signal of size [hop_size] 55 \param out output notes of size [3] ? FIXME 60 \param input input signal of size [hop_size] 61 \param output output notes, fvec of length 3 62 63 The notes output is a vector of length 3 containing: 64 - 0. the midi note value, or 0 if no note was found 65 - 1. the note velocity 66 - 2. the midi note to turn off 56 67 57 68 */ 58 69 void aubio_notes_do (aubio_notes_t *o, const fvec_t * input, fvec_t * output); 70 71 /** set notes detection silence threshold 72 73 \param o notes detection object as returned by new_aubio_notes() 74 \param silence new silence detection threshold 75 76 \return 0 on success, non-zero otherwise 77 78 */ 79 uint_t aubio_notes_set_silence(aubio_notes_t * o, smpl_t silence); 80 81 /** get notes detection silence threshold 82 83 \param o notes detection object as returned by new_aubio_notes() 84 85 \return current silence threshold 86 87 */ 88 smpl_t aubio_notes_get_silence(const aubio_notes_t * o); 89 90 /** get notes detection minimum inter-onset interval, in millisecond 91 92 \param o notes detection object as returned by new_aubio_notes() 93 94 \return current minimum inter onset interval 95 96 */ 97 smpl_t aubio_notes_get_minioi_ms(const aubio_notes_t *o); 98 99 /** set notes detection minimum inter-onset interval, in millisecond 100 101 \param o notes detection object as returned by new_aubio_notes() 102 \param minioi_ms new inter-onset interval 103 104 \return 0 on success, non-zero otherwise 105 106 */ 107 uint_t aubio_notes_set_minioi_ms (aubio_notes_t *o, smpl_t minioi_ms); 59 108 60 109 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.