From 28a4753a00c6fa19e7e44f71457f9915fd4add6b Mon Sep 17 00:00:00 2001 From: Matt Briggs Date: Sat, 1 Feb 2020 09:43:04 -0800 Subject: [PATCH 1/2] further explain tick time position --- Sourcecode/include/mx/api/NoteData.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Sourcecode/include/mx/api/NoteData.h b/Sourcecode/include/mx/api/NoteData.h index 9aa8a0f58..5b83aaf9a 100755 --- a/Sourcecode/include/mx/api/NoteData.h +++ b/Sourcecode/include/mx/api/NoteData.h @@ -102,8 +102,13 @@ namespace mx int userRequestedVoiceNumber; Stem stem; - // the location of the note, timewise, within the measure - // denominated in ticksPerQuarter as defined by ScoreData + // the location of the note, timewise, within the measuredenominated in ticksPerQuarter as + // defined by ScoreData. in each measure, the note with tickTimePosition 0 is located at + // the start of the measure. if ScoreData defines ticksPerQuarter as N, then the note + // located at tickTimePosition N will be located one quarter note after the start of the + // measure. MusicXML's and tags will be automatically derived and + // placed in to the MusicXML to facilitate the correct placement of notes based on their + // tickTimePosition defined here. int tickTimePosition; DurationData durationData; From 92d1207d261c258e29fd7733686dc4a64afca69f Mon Sep 17 00:00:00 2001 From: Matt Briggs Date: Sun, 2 Feb 2020 09:59:28 -0800 Subject: [PATCH 2/2] improve tick time position comment --- Sourcecode/include/mx/api/NoteData.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Sourcecode/include/mx/api/NoteData.h b/Sourcecode/include/mx/api/NoteData.h index 5b83aaf9a..1c1539b02 100755 --- a/Sourcecode/include/mx/api/NoteData.h +++ b/Sourcecode/include/mx/api/NoteData.h @@ -101,14 +101,14 @@ namespace mx PitchData pitchData; // step, alter, octave, accidental, etc int userRequestedVoiceNumber; Stem stem; - - // the location of the note, timewise, within the measuredenominated in ticksPerQuarter as - // defined by ScoreData. in each measure, the note with tickTimePosition 0 is located at + + // the time location of the note, within the measure, denominated in ticksPerQuarter which + // is defined in ScoreData. in each measure, the note with tickTimePosition 0 is located at // the start of the measure. if ScoreData defines ticksPerQuarter as N, then the note // located at tickTimePosition N will be located one quarter note after the start of the - // measure. MusicXML's and tags will be automatically derived and - // placed in to the MusicXML to facilitate the correct placement of notes based on their - // tickTimePosition defined here. + // measure. MusicXML's and tags will be automatically placed into the + // MusicXML as required to facilitate the correct timing of notes based on their + // tickTimePosition values. int tickTimePosition; DurationData durationData;