public class PP_SampleReasoning extends Reasoning
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
PP_SampleReasoning.InputMode
The Enum InputMode.
|
(package private) static class |
PP_SampleReasoning.ReasoningState
The Enum ReasoningState.
|
(package private) static class |
PP_SampleReasoning.VSTMode
The Enum VSTMode.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
audioFileList
The audio file list.
|
(package private) int |
chunk_size
The chunk_size.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
curto
The curto.
|
(package private) Sensor |
ear
The ear.
|
(package private) Memory |
earMemory
The ear memory.
|
(package private) Sensor |
eyes
The eyes.
|
(package private) Memory |
eyesMemory
The eyes memory.
|
(package private) double |
frame_duration
The frame_duration.
|
(package private) PP_SampleReasoning.InputMode |
inputMode
The input mode.
|
(package private) Memory |
internalMemory
The internal memory.
|
(package private) Actuator |
legs
The legs.
|
(package private) Memory |
legsMemory
The legs memory.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
longo
The longo.
|
(package private) Actuator |
mouth
The mouth.
|
(package private) Memory |
mouthMemory
The mouth memory.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
nylon
The nylon.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
percussaoSino
The percussao sino.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
percussoes
The percussoes.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
pizzicatos
The pizzicatos.
|
(package private) float |
sampleRate
The sample rate.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
sinos
The sinos.
|
(package private) double |
start_time
The start_time.
|
(package private) PP_SampleReasoning.ReasoningState |
state
The state.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
tremolos
The tremolos.
|
java.lang.String[] |
vstList
The vst list.
|
(package private) PP_SampleReasoning.VSTMode |
vstMode
The vst mode.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
vstReference
The vst reference.
|
parameters| Constructor and Description |
|---|
PP_SampleReasoning() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
eventHandlerRegistered(EventHandler evtHdl)
Chamado no momento em que um novo EventHandler é registrado no Agente Musical.
|
boolean |
init()
User-implemented initialization method, called by start().
|
void |
needAction(Actuator sourceActuator,
double instant,
double duration)
Chamado no caso de eventos frequentes, quando existe a necessidade de uma ação.
|
void |
newSense(Sensor sourceSensor,
double instant,
double duration)
Chamado no momento que o Agente Musical recebe um novo evento (e o raciocínio está registrado no Sensor).
|
void |
process()
Método de processamento do raciocínio.
|
void |
processCommand(Command cmd)
An user-implemented method to process a received command.
|
eventHandlerDeregistered, needAction, setWakeUp, start, stopaddParameter, addParameters, configure, finit, getAddress, getAgent, getComponentName, getComponentType, getParameter, getParameter, getParameters, getState, getType, parameterUpdate, receiveCommand, sendCommand, setAgent, setComponentName, setParameters, setState, setTypeActuator mouth
Memory mouthMemory
Sensor ear
Memory earMemory
int chunk_size
float sampleRate
double frame_duration
double start_time
Memory internalMemory
Actuator legs
Memory legsMemory
Sensor eyes
Memory eyesMemory
PP_SampleReasoning.InputMode inputMode
PP_SampleReasoning.VSTMode vstMode
public java.util.Hashtable<java.lang.String,java.lang.String> vstReference
public java.lang.String[] vstList
public java.util.Hashtable<java.lang.String,java.lang.String> sinos
public java.util.Hashtable<java.lang.String,java.lang.String> tremolos
public java.util.Hashtable<java.lang.String,java.lang.String> nylon
public java.util.Hashtable<java.lang.String,java.lang.String> percussaoSino
public java.util.Hashtable<java.lang.String,java.lang.String> pizzicatos
public java.util.Hashtable<java.lang.String,java.lang.String> percussoes
public java.util.Hashtable<java.lang.String,java.lang.String> curto
public java.util.Hashtable<java.lang.String,java.lang.String> longo
public java.lang.String[] audioFileList
PP_SampleReasoning.ReasoningState state
public boolean init()
LifeCycleinit in interface LifeCycleinit in class MusicalAgentComponentprotected void eventHandlerRegistered(EventHandler evtHdl)
ReasoningeventHandlerRegistered in class ReasoningevtHdl - the evt hdlpublic void newSense(Sensor sourceSensor, double instant, double duration)
Reasoningpublic void needAction(Actuator sourceActuator, double instant, double duration)
ReasoningneedAction in class ReasoningsourceActuator - the source actuatorinstant - the instantduration - the durationpublic void processCommand(Command cmd)
RouterClientprocessCommand in interface RouterClientprocessCommand in class MusicalAgentComponentcmd - the cmd