tactu5
Class Aggregator

java.lang.Object
  extended by tactu5.Aggregator

public class Aggregator
extends java.lang.Object

Aggregator class generate objects to feed the sequencer. It's possible to pass it Sequence and ClusterSequence datatype. You could create many Aggregator objects and use them to change internal sequencer contents in real time

Author:
Alessandro

Constructor Summary
Aggregator()
           
 
Method Summary
 void addClusterSequence(ClusterSequence cs)
          Add ClusterSequence datatype to Agregator container.
 void addClusterSequence(ClusterSequence cs, float offSet)
          Add ClusterSequence to Aggregator container, it allows to define a time offset in millieconds.
 void addSequence(Sequence s)
          Add sequence with no offset declaired
 void addSequence(Sequence s, float offSet)
          Add simple sequence to Aggregator container, it allows to define a time offset in millieconds.
 InternalSequence getScore()
          Return the aggragated score, it's necessary to call this method to feed Tactu5 internal sequencer.
 void resetAll()
          Reset all.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aggregator

public Aggregator()
Method Detail

addSequence

public void addSequence(Sequence s)
Add sequence with no offset declaired

Parameters:
s - Sequence datatype

addSequence

public void addSequence(Sequence s,
                        float offSet)
Add simple sequence to Aggregator container, it allows to define a time offset in millieconds.

Parameters:
s - Sequence datatype.
offSet - float, milliseconds.

addClusterSequence

public void addClusterSequence(ClusterSequence cs)
Add ClusterSequence datatype to Agregator container.

Parameters:
cs -

addClusterSequence

public void addClusterSequence(ClusterSequence cs,
                               float offSet)
Add ClusterSequence to Aggregator container, it allows to define a time offset in millieconds.

Parameters:
cs - ClusterSequence datatype
offSet - float, offset in milliseconds

getScore

public InternalSequence getScore()
Return the aggragated score, it's necessary to call this method to feed Tactu5 internal sequencer.

Returns:

resetAll

public void resetAll()
Reset all.