Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahankinson committed Mar 13, 2024
1 parent dcbdf2e commit 5e053eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions include/vrv/iopae.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class PAEOutput : public Output {
* Helper method to return a string representation of the PAE duration.
*/
static std::string GetPaeDur(data_DURATION dur, int ndots);

private:
/**
* @name Methods for writing containers (measures, staff, etc) scoreDef and related.
Expand Down
4 changes: 2 additions & 2 deletions src/featureextractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ void FeatureExtractor::Extract(const Object *object)

std::stringstream pitch;
std::stringstream pitchWithDuration;

pitchWithDuration << PAEOutput::GetPaeDur(note->GetDur(), note->GetDots());

data_OCTAVE oct = note->GetOct();
char octSign = (oct > 3) ? '\'' : ',';
int signCount = (oct > 3) ? (oct - 3) : (4 - oct);
Expand Down
2 changes: 1 addition & 1 deletion src/iopae.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ std::string PAEOutput::GetPaeDur(data_DURATION ndur, int ndots)
case (DURATION_semifusa): dur = "6"; break;
default: LogWarning("Unsupported duration"); dur = "4";
}

if (ndots > 0) {
dur += std::string(ndots, '.');
}
Expand Down

0 comments on commit 5e053eb

Please sign in to comment.