Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (31 sloc) 1.07 KB
//
// Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu>
// Creation Date: Mon Apr 28 15:21:27 PDT 2014
// Last Modified: Fri May 2 15:15:46 PDT 2014
// Filename: ScorePageSet_ties.cpp
// URL: https://github.com/craigsapp/scorelib/blob/master/src-library/ScorePageSet_ties.cpp
// Syntax: C++11
//
// Description: Functions related to lyrics identification
// within ScoreSegments.
//
#include "ScorePageSet.h"
#include "ScoreUtility.h"
#include <set>
using namespace std;
//////////////////////////////
//
// ScorePageSet::analyzeTies -- Analyze ties for all parts in all segments.
//
void ScorePageSet::analyzeTies(void) {
// Need duration offsets and pitch analyses before
// doing tie analysis. This should be fixed a bit
// later (should be automated, but is not for some reason).
analyzeStaffDurations();
analyzePitch();
// Iterate through each Segment, which will stitching
// system break ties together.
for (unsigned int i=0; (int)i<getSegmentCount(); i++) {
getSegment(i).analyzeSystemBreakTies();
}
}
You can’t perform that action at this time.