====== Classic Looping ====== This test is meant to be run from top to bottom. Dropping into one of the sections will likely not work. See [[https://sourceforge.net/p/rosegarden/bugs/1605|bug #1605]]. ===== Setup ===== * Launch rg * Preferences * DISABLE "Stop playback at end of last segment" * ENABLE "Jump to loop" * DISABLE "Advanced Looping (beta)" in preferences. ===== Basic Looping ===== * Press the loop button on the transport. * Confirm button goes back to unpressed and no loop is set. * Move the cursor using Ctrl+Click in the ruler to bar 3. * Press the start loop button "|<-" on the transport. * Move the cursor using Ctrl+Click to bar 4. * Press the end loop button "->|" on the transport. * Confirm * a loop range from bar 3 to 4 * Transport loop button is pressed. * Edit > Cut/Copy Range and "Clear range of tempos" menu items are enabled. * Press play. * Confirm playback looping between bar 3 and 4. ===== Right-Click in Ruler ===== * Right-click in the ruler. * Confirm * Loop disappears * Playback continues past bar 4. * Transport loop button unpressed. * Right-click in the ruler. * Confirm * Loop reappears. * Playback jumps to start of loop. * Right-click in the ruler once more to clear the loop in preparation for the next test. ===== Loop Button ===== * Click on the loop button on the transport. * Confirm * Loop range re-appears. * Playback jumps to start of loop. * Click on the loop button on the transport. * Confirm * loop range disappears * playback continues past bar 4. * Edit > Cut/Copy Range and "Clear range of tempos" menu items are disabled. * Click on the loop button on the transport. * Confirm * loop range re-appears * looped playback resumes. * Edit > Cut Range remains disabled since we are playing. * Edit > Copy Range and "Clear range of tempos" menu items are enabled. ===== Right-Click and Drag ===== * Specify a loop range from 5 to 6 by right-clicking and dragging on the top ruler. * Confirm playback jumps to bar 5 when mouse button is released. * Specify a loop range from 3 to 2 (RIGHT TO LEFT!) by right-clicking and dragging on the top ruler. * Confirm playback jumps to bar 2 when mouse button is released. * Specify a null loop range by right-clicking and dragging right then left until the indicator is just a line. * Confirm * Loop button on transport is unpressed. * Loop range disappears. * Playback continues without looping. * Edit > Cut/Copy Range and "Clear range of tempos" menu items are disabled. * Press the loop button on the transport. * Confirm loop re-appears and looped playback resumes. ===== Marker Looping ===== * Create two markers (Shift+M) in REVERSE TIME ORDER. E.g. at bar 6 and then at bar 4. * Shift+click between those two markers in the marker ruler. * Confirm * Loop range appears between the markers. * Loop is enabled and working. * Shift+click between the first marker and bar 1 in the marker ruler. * Confirm * Loop range appears between bar 1 and the first marker. * Loop is enabled and working. ===== Set Loop To Selection ===== * Create a Segment * Launch the Matrix * Drop a large note. It should be selected. * Move > Set Loop to Selection. * Confirm * Loop is set to range of note. * Loop is on. * Move > Clear Loop * Confirm: Loop off. * Launch Notation. * Select the note. * Move > Set Loop to Selection. * Confirm * Loop is set to range of note. * Loop is on. * Move > Clear Loop * Confirm: Loop off. ===== MIDI Controller ===== * Given a loop range. * Press the Loop button on a MIDI controller. * Confirm: Toggles loop on/off. ===== Insert/Delete Range ===== * Insert Range... * Insert Range before loop moves the entire loop. * Insert Range inside the loop moves the end only. ===== Tempo Change ===== * Given a loop range after bar 1. * Change the tempo at bar 1. * Composition > Open Tempo and Time Signature Editor * Confirm loop is still in the same place and works. ===== Results =====