Modifier and Type | Method and Description |
---|---|
SongContext |
SoundHelix.getNextSongFromQueue()
Removes and returns the next SongContext from the queue.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLConfigurable.configure(SongContext songContext,
Node node)
Configures the instance using the specified XML node.
|
Modifier and Type | Method and Description |
---|---|
Arrangement |
ArrangementEngine.render(SongContext songContext)
Renders and returns an Arrangement.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleArrangementEngine.configure(SongContext songContext,
Node node) |
Arrangement |
SimpleArrangementEngine.render(SongContext songContext) |
Modifier and Type | Method and Description |
---|---|
Harmony |
HarmonyEngine.render(SongContext songContext)
Renders a harmony.
|
Modifier and Type | Method and Description |
---|---|
void |
PatternHarmonyEngine.configure(SongContext songContext,
Node node) |
Harmony |
PatternHarmonyEngine.render(SongContext songContext) |
Modifier and Type | Method and Description |
---|---|
void |
LFO.setSongContext(SongContext songContext)
Sets the song context.
|
Modifier and Type | Field and Description |
---|---|
protected SongContext |
AbstractLFO.songContext
The song context.
|
Modifier and Type | Method and Description |
---|---|
void |
TriangleLFO.configure(SongContext songContext,
Node node) |
void |
SineLFO.configure(SongContext songContext,
Node node) |
void |
SawtoothLFO.configure(SongContext songContext,
Node node) |
void |
RectangleLFO.configure(SongContext songContext,
Node node) |
void |
LinearRandomLFO.configure(SongContext songContext,
Node node) |
void |
LFOSequenceLFO.configure(SongContext songContext,
Node node) |
void |
AbstractLFO.setSongContext(SongContext songContext) |
Modifier and Type | Method and Description |
---|---|
Pattern |
PatternEngine.render(SongContext songContext,
String wildcardString)
Generates a pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
StringPatternEngine.configure(SongContext songContext,
Node node) |
void |
RandomPatternEngine.configure(SongContext songContext,
Node node) |
void |
RandomFragmentPatternEngine.configure(SongContext songContext,
Node node) |
void |
CrescendoPatternEngine.configure(SongContext songContext,
Node node) |
Pattern |
StringPatternEngine.render(SongContext songContext,
String wildcardString) |
Modifier and Type | Method and Description |
---|---|
void |
Player.play(SongContext songContext)
Plays the arrangement from the song context.
|
Modifier and Type | Method and Description |
---|---|
void |
MidiPlayer.configure(SongContext songContext,
Node node) |
void |
MidiPlayer.play(SongContext songContext) |
Modifier and Type | Method and Description |
---|---|
Track |
SequenceEngine.render(SongContext songContext,
ActivityVector[] activityVectors)
Renders one or more sequences (i.e., voices) as a track.
|
Modifier and Type | Method and Description |
---|---|
void |
PatternSequenceEngine.configure(SongContext songContext,
Node node) |
void |
PadSequenceEngine.configure(SongContext songContext,
Node node) |
void |
MultiPatternSequenceEngine.configure(SongContext songContext,
Node node) |
void |
MelodySequenceEngine.configure(SongContext songContext,
Node node) |
void |
FreePatternSequenceEngine.configure(SongContext songContext,
Node node) |
void |
FreeMultiPatternSequenceEngine.configure(SongContext songContext,
Node node) |
void |
DrumSequenceEngine.configure(SongContext songContext,
Node node) |
void |
ChordSequenceEngine.configure(SongContext songContext,
Node node) |
void |
ArpeggioSequenceEngine.configure(SongContext songContext,
Node node) |
protected int |
AbstractSequenceEngine.getNextPatternRestartTick(SongContext songContext,
int tick)
Returns the tick number of the next required pattern restart after the given tick.
|
Track |
PadSequenceEngine.render(SongContext songContext,
ActivityVector[] activityVectors) |
Track |
MelodySequenceEngine.render(SongContext songContext,
ActivityVector[] activityVectors) |
Track |
DrumSequenceEngine.render(SongContext songContext,
ActivityVector[] activityVectors) |
Track |
ArpeggioSequenceEngine.render(SongContext songContext,
ActivityVector[] activityVectors) |
Track |
AbstractMultiPatternSequenceEngine.render(SongContext songContext,
ActivityVector[] activityVectors) |
Track |
AbstractFreeMultiPatternSequenceEngine.render(SongContext songContext,
ActivityVector[] activityVectors) |
Modifier and Type | Method and Description |
---|---|
void |
CFGSongNameEngine.configure(SongContext songContext,
Node node) |
Modifier and Type | Method and Description |
---|---|
void |
ActivityMatrix.dump(SongContext songContext,
String title,
Level level)
Dumps the activity vectors as an activity matrix using the given log level.
|
static Pattern |
Pattern.parseString(SongContext songContext,
String patternString,
int targetTPB)
Parses the given pattern string using no wildcards.
|
static Pattern |
Pattern.parseString(SongContext songContext,
String patternString,
String wildcardString,
int targetTPB)
Parses the given pattern string using the given wildcard string.
|
String |
Pattern.PatternEntry.toString(SongContext songContext) |
Constructor and Description |
---|
LFOSequence(SongContext songContext)
Constructor.
|
Sequence(SongContext songContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SongContext |
RemoteControl.getSongContext()
Gets the song context to be remote-controlled.
|
SongContext |
AbstractTextRemoteControl.getSongContext() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteControl.setSongContext(SongContext songContext)
Sets the song context to be remote-controlled.
|
void |
AbstractTextRemoteControl.setSongContext(SongContext songContext) |
Modifier and Type | Method and Description |
---|---|
static SongContext |
SongUtils.generateSong(InputStream inputStream,
String systemId,
long randomSeed)
Parses the XML file provided by the given input stream, creates an arrangement and a player and configures the player to use this arrangement.
|
static SongContext |
SongUtils.generateSong(InputStream inputStream,
String systemId,
String songName)
Parses the XML file provided by the given input stream, creates an arrangement and a player and configures the player to use this arrangement.
|
static SongContext |
SongUtils.generateSong(URL url,
long randomSeed)
Parses the XML file provided by the given input stream, creates an arrangement and a player and configures the player to use this arrangement.
|
static SongContext |
SongUtils.generateSong(URL url,
String songName)
Parses the XML file provided by the given input stream, creates an arrangement and a player and configures the player to use this arrangement.
|
Modifier and Type | Method and Description |
---|---|
static void |
HarmonyUtils.checkSanity(SongContext songContext)
Checks the sanity of the song's harmony.
|
static void |
HarmonyUtils.dumpChords(SongContext songContext)
Dumps all chords and their lengths in ticks.
|
static int |
HarmonyUtils.getChordSectionCount(SongContext songContext)
Returns the total number of chord sections.
|
static int |
HarmonyUtils.getChordSectionNumber(SongContext songContext,
int tick)
Returns the number of the chord section of the given tick (counted from 0) or -1 if the tick is negative or at or beyond the end of the song.
|
static List<Integer> |
HarmonyUtils.getChordSectionStartTicks(SongContext songContext)
Returns a list of start ticks for all chord sections, in ascending order.
|
static String |
HarmonyUtils.getChordSectionString(SongContext songContext,
int tick)
Returns a string specifying the chord section that starts at the specified tick, which is a comma-separated list of chords and tick lengths.
|
static int |
HarmonyUtils.getChordSectionTick(SongContext songContext,
int chordSection)
Returns the first tick of the given chord section number (starting from 0) or -1 if the chord section number is negative or beyond the end of
the song.
|
static int |
HarmonyUtils.getDistinctChordSectionCount(SongContext songContext)
Returns the number of distinct chord sections.
|
static <T> T |
XMLUtils.getInstance(SongContext songContext,
Class<T> superclazz,
Node node,
long parentRandomSeed,
int salt)
Tries to instantiate an instance from the class defined by the node's attribute "class" by calling its nullary (empty) constructor.
|
static int[] |
HarmonyUtils.getMinMaxSegmentLengths(SongContext songContext,
ActivityVector av)
Returns the minimum and the maximum length of all activity segments of the given ActivityVector as well as the minimum and maximum length of
all pauses between activity segments, all counted in chord sections.
|