src/tool-gasparize.cpp
void Tool_gasparize::fixTies(HumdrumFile& infile) {
	int strands = infile.getStrandCount();
	for (int i=0; i<strands; i++) {
		HTp sstart = infile.getStrandStart(i);
		if (!sstart) {
			continue;
		}
		if (!sstart->isKern()) {
			continue;
		}
		HTp send   = infile.getStrandEnd(i);
		fixTiesForStrand(sstart, send);
	}
	fixTieStartEnd(infile);
}
//////////////////////////////
//
// Tool_gasparize::fixTies --
//    If a tie is unclosed or if a note is followed by an invisible rest, then fix.
//
:fixTies
If a tie is unclosed or if a note is followed by an invisible rest, then fix.
: fixTies If a tie is unclosed or if a note is followed by an invisible rest then fix .
void Tool_gasparize::fixTies(HumdrumFile& infile) {
	int strands = infile.getStrandCount();
	for (int i=0; i<strands; i++) {
		HTp sstart = infile.getStrandStart(i);
		if (!sstart) {
			continue;
		}
		if (!sstart->isKern()) {
			continue;
		}
		HTp send   = infile.getStrandEnd(i);
		fixTiesForStrand(sstart, send);
	}
	fixTieStartEnd(infile);
}
void Tool_gasparize :: fixTies ( HumdrumFile & infile ) { int strands = infile . getStrandCount ( ) ; for ( int i = 0 ; i < strands ; i ++ ) { HTp sstart = infile . getStrandStart ( i ) ; if ( ! sstart ) { continue ; } if ( ! sstart -> isKern ( ) ) { continue ; } HTp send = infile . getStrandEnd ( i ) ; fixTiesForStrand ( sstart , send ) ; } fixTieStartEnd ( infile ) ; }
Tool_gasparize::fixTies
If a tie is unclosed or if a note is followed by an invisible rest, then fix.
Tool_gasparize :: fixTies If a tie is unclosed or if a note is followed by an invisible rest then fix .