qm-dsp 1.8
segment.h
Go to the documentation of this file.
1#ifndef _SEGMENT_H
2#define _SEGMENT_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/*
9 * segment.h
10 *
11 * Created by Mark Levy on 06/04/2006.
12 * Copyright 2006 Centre for Digital Music, Queen Mary, University of London.
13
14 This program is free software; you can redistribute it and/or
15 modify it under the terms of the GNU General Public License as
16 published by the Free Software Foundation; either version 2 of the
17 License, or (at your option) any later version. See the file
18 COPYING included with this distribution for more information.
19 *
20 */
21
22typedef struct segment_t
23{
24 long start; /* in samples */
25 long end;
26 int type;
28
29typedef struct segmentation_t
30{
31 int nsegs; /* number of segments */
32 int nsegtypes; /* number of segment types, so possible types are {0,1,...,nsegtypes-1} */
36
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif
50
feature_types
Definition segment.h:38
@ FEATURE_TYPE_UNKNOWN
Definition segment.h:39
@ FEATURE_TYPE_CHROMA
Definition segment.h:41
@ FEATURE_TYPE_MFCC
Definition segment.h:42
@ FEATURE_TYPE_CONSTQ
Definition segment.h:40
int type
Definition segment.h:26
long end
Definition segment.h:25
long start
Definition segment.h:24
segment_t * segments
Definition segment.h:34