com.vwp.sound.mod.modplay.module
Class Pattern
java.lang.Object
com.vwp.sound.mod.modplay.module.Pattern
public class Pattern
- extends java.lang.Object
A pattern contains a number of tracks, each with the same number of divisions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pattern
public Pattern(Track[] tracks,
int divisions)
- Parameters:
tracks
- divisions
-
getTrack
public Track getTrack(int n)
- * @return the n'th track
getTrackCount
public int getTrackCount()
- Returns:
- the number of tracks in this pattern
getDivisions
public int getDivisions()
- Returns:
- the number of divisions in this pattern
getCode
public java.lang.String getCode(int division)
- Returns:
- a code similar to the codes used in a tracker, representing the
given division of this pattern
getInfo
public java.lang.String getInfo()
- Returns:
- information about this pattern in human readable form