Revision 36:937432fc2898 BeatTracker.h

View differences:

BeatTracker.h
54 54

  
55 55
    /** Perform beat tracking.
56 56
     *  @param events The onsets or peaks in a feature list
57
     *  @param unfilledReturn Pointer to list in which to return 
58
     *     un-interpolated beats, or NULL
57 59
     *  @return The list of beats, or an empty list if beat tracking fails
58 60
     */
59
    static EventList beatTrack(AgentParameters params, EventList events) {
60
	return beatTrack(params, events, EventList());
61
    static EventList beatTrack(AgentParameters params, EventList events,
62
                               EventList *unfilledReturn) {
63
	return beatTrack(params, events, EventList(), unfilledReturn);
61 64
    }
62 65
	
63 66
    /** Perform beat tracking.
64 67
     *  @param events The onsets or peaks in a feature list
65 68
     *  @param beats The initial beats which are given, if any
69
     *  @param unfilledReturn Pointer to list in which to return
70
     *     un-interpolated beats, or NULL
66 71
     *  @return The list of beats, or an empty list if beat tracking fails
67 72
     */
68 73
    static EventList beatTrack(AgentParameters params,
69
                               EventList events, EventList beats);
74
                               EventList events, EventList beats,
75
                               EventList *unfilledReturn);
70 76
	
71 77
	
72 78
    // Various get and set methods

Also available in: Unified diff