Class Section090
java.lang.Object
eu.bandm.music.applications.indisp.SyncPatterns<Section090>
eu.bandm.music.applications.indisp.Section090
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) int(package private) final int[][](package private) int[][]Fields inherited from class eu.bandm.music.applications.indisp.SyncPatterns
capacity, constructionDate, DEFAULT_PATTERN_TEXT, DEFAULT_RANDOM_SEED_TEXT, events, length, parameterComments, pattern, patternSize, patternText, random, sectionName, seedText, visibleScoreMark, VOICE_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidcompose()(package private) booleancopyAllButOneOne(int[] source, boolean keepOneOne, int[] target) Remove a single "1" from the copy, to protect it from being selected.(package private) booleancycle(int number, int loweight, int hiweight) (package private) booleancycle(int number, int loweight, int hiweight, boolean keepOneOne) (package private) intdynamics(int v, int t) (package private) Section090init()static voidMethods inherited from class eu.bandm.music.applications.indisp.SyncPatterns
appendToLilypond, appendToMidi, close, warning, writeOwnFilesOfSoundAndScore
-
Field Details
-
LENGTH_IN_MEASURES
int LENGTH_IN_MEASURES -
blockStart
int blockStart -
sounds
int[][] sounds -
origDyns
final int[][] origDyns
-
-
Constructor Details
-
Section090
Section090(Section070 proto)
-
-
Method Details
-
init
- Overrides:
initin classSyncPatterns<Section090>- Throws:
IOException
-
dynamics
int dynamics(int v, int t) - Specified by:
dynamicsin classSyncPatterns<Section090>
-
copyAllButOneOne
boolean copyAllButOneOne(int[] source, boolean keepOneOne, int[] target) Remove a single "1" from the copy, to protect it from being selected.- Returns:
- whether at least one "1" is contained.
-
cycle
boolean cycle(int number, int loweight, int hiweight) -
cycle
boolean cycle(int number, int loweight, int hiweight, boolean keepOneOne) -
compose
- Throws:
FileNotFoundException
-
main
- Throws:
IOException
-