Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

patternLength

Get the number of PTPattern tables in a PTModule


Description

Get the number of PTPattern tables in a PTModule object.

Usage

## S4 method for signature 'PTModule'
patternLength(x)

Arguments

x

A PTModule object for which the number of PTPattern tables need to be returned.

Details

The number of PTPattern tables in a PTModule object should range from 1 up to either 64 or 100. The maximum depends on the trackerFlag of the PTModule object.

Value

Returns a numeric value representing the number of PTPattern tables in object x.

Author(s)

Pepijn de Vries

See Also

Examples

data("mod.intro")

## Get the number of pattern tables in mod.intro:
patternLength(mod.intro)

ProTrackR

Manipulate and Play 'ProTracker' Modules

v0.3.7
GPL-3
Authors
Pepijn de Vries [aut, cre, dtc]
Initial release
2020-02-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.