com.vwp.sound.mod.modplay.module
Class Pattern
java.lang.Object
com.vwp.sound.mod.modplay.module.Pattern
public class Pattern
- extends Object
A pattern contains a number of tracks, each with the same number of divisions
- Author:
- torkjel
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 String getCode(int division)
- Returns:
- a code similar to the codes used in a tracker, representing the
given division of this pattern
getInfo
public String getInfo()
- Returns:
- information about this pattern in human readable form