Manual: Pattern Properties

From OpenMPT Wiki
Jump to navigation Jump to search

This page contains information on a not yet released version of OpenMPT. Some of this information might not be applicable to the current version of OpenMPT. You may view an (possibly outdated) older version of this article without information on the upcoming changes.

Pattern Properties dialog

The Pattern Properties dialog can be opened from the Pattern Editor, e.g. by clicking the question mark icon in the toolbar or by clicking the pattern number in the upper-left corner of the pattern display (#0 or similar). It is not available for MOD and S3M files, as the pattern length is fixed in those formats.

Pattern Size[edit]

To change the number of rows in the pattern, either type the number into the text field, or click on the menu arrow to choose from a list. Pattern lengths from 1 to 1024 rows are supported. To quickly halve or double the number of rows, click on the “/2” or “x2” buttons. If you are reducing the number of rows, and there is event data in the rows that are being deleted, you will be alerted that this data will be lost, and you can back out if necessary.

The following options are available to customize the resizing process:

  • Top of Pattern: When growing the pattern, empty rows are added at the top. When shrinking the pattern, rows are removed from the top.
  • Bottom of Pattern: When growing the pattern, empty rows are added at the bottom. When shrinking the pattern, rows are removed from the bottom.
  • Repeat pattern contents when adding rows: Instead of adding empty rows, the existing rows of the pattern are copied to the new pattern space. For example when doubling the pattern size, the new pattern will contain the original contents, repeated once.

Time Signature[edit]

For MPTM tracks, you can enable per-pattern Time Signatures by setting the “Override” checkbox. Then enter the Rows per Beat and Rows per Measure values that you want to apply to this pattern only.

In Modern tempo mode, the duration of the rows contributing to a beat can be configured by clicking the Configure Swing button, which will open the Tempo Swing Settings dialog. This way, swinging rhythms can be created automatically without the help of pattern commands.

At the bottom is a reminder of the pattern you are modifying, the current number of rows, and the amount of memory it consumes.