Anacrusis Test Plan

Normal Case

  • Launch rg
  • Create a 2 bar segment at bar 1.
  • Launch notation on that segment.
  • Make sure the cursor is to the far left. Press home if not.
  • Press the following keys: qasdfdsa
  • In the main window: Segment > Create Anacrusis…
  • Click Ok
  • Confirm
    • The Composition starts at bar 0 (unmarked on the ruler).
    • The segment start is at bar 0 beat 4.
    • The segment end is at bar 2 beat 4.
    • The time signature and tempo start at bar 0 beat 1 (000-01-00-00). Composition > Open Tempo and Time Signature Editor.

Undo

  • Press Ctrl+Z to undo the “Create Anacrusis”.
  • Confirm the anacrusis is undone.
    • Composition now starts at bar 1.
    • Segment begins at bar 1.
    • The time signature and tempo start at bar 1 beat 1 (001-01-00-00). Composition > Open Tempo and Time Signature Editor.
  • Press Ctrl+Shift+Z to redo the anacrusis.

Notation Editor

  • In notation: View > Layout Mode > Continuous Page Layout
  • Confirm
    • Bar 1 is labeled “1”.
    • Bar “0” is not labeled.
    • FAIL

Lilypond

  • Extend the segment to bar 8 beat 4 and fill with 8th notes (quavers).
  • File > Print Preview
  • Confirm the second line has the correct bar number.

Anacrusis and Repeats

  • Load Down By The Sally Gardens.rg from the bug tracker.
  • Ctrl+A and then N to launch notation with all segments.
  • Confirm
    • The repeat bar appears after the D dotted half note in bar 4.
    • A plain bar appears after the D E eighth notes that follow the repeat bar.
  • File > Print Preview
  • Confirm
    • The repeat bar appears after the D dotted half note in bar 4.
    • A plain bar appears after the D E eighth notes that follow the repeat bar.
  • Should we try any of the other examples included with bug #1388?
  • FAIL 24 July 2025 [29c1c32130] Notation does not show the correctly.

See bug #1388.

MIDI Export

  • Load the baseline-ted2.rg test file.
  • Export it as a .mid file.
  • Dump with lilymidi:
    • lilymidi –pretty baseline-ted2.mid
  • Confirm:
    • Tempo Change at time 0, 120bpm (500000 msec/quarter)
    • Tempo Change at time 2400, 70bpm (857142 msec/quarter)
    • Program change and control changes at time 0.
    • Time stamps at 960, 1440, 1920, 2400, 2880, 3360, and 3840. Those will be the only time stamps in that time range.

See bug #1627.

 
 
test/anacrusis.txt · Last modified: 2025/07/25 02:32 by tedfelix
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki