Package com.prineside.tdi2.ibxm
Class Module
java.lang.Object
com.prineside.tdi2.ibxm.Module
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionint
int
int[]
int
int
boolean
int
boolean
int
int
int
Pattern[]
int
int[]
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Module
fromZipInputStream
(InputStream zipInputStream) float
void
static String
toZippedBase64
(byte[] fileData) Packs file data as a file inside of a zip file and returns the zip archive as a base64 string
-
Field Details
-
songName
-
numChannels
public int numChannels -
numInstruments
public int numInstruments -
numPatterns
public int numPatterns -
sequenceLength
public int sequenceLength -
restartPos
public int restartPos -
defaultGVol
public int defaultGVol -
defaultSpeed
public int defaultSpeed -
defaultTempo
public int defaultTempo -
c2Rate
public int c2Rate -
gain
public int gain -
linearPeriods
public boolean linearPeriods -
fastVolSlides
public boolean fastVolSlides -
defaultPanning
public int[] defaultPanning -
sequence
public int[] sequence -
patterns
-
instruments
-
-
Constructor Details
-
Module
public Module() -
Module
-
Module
- Throws:
IOException
-
Module
- Throws:
IOException
-
Module
- Throws:
IOException
-
-
Method Details
-
getFileExtension
-
fromZipInputStream
-
toStringBuffer
-
toZippedBase64
@Null public static String toZippedBase64(byte[] fileData) throws IOException, IllegalStateException Packs file data as a file inside of a zip file and returns the zip archive as a base64 string- Throws:
IOException
IllegalStateException
-
getVolumeMultiplierFromInstrumentNames
public float getVolumeMultiplierFromInstrumentNames() -
getInfoFromInstrumentNames
-