|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cycling74.msp.MSPSignal
public class MSPSignal
Signals representation; signals inlets will copy signal data to this object.
| Field Summary | |
|---|---|
short |
cc
Tells the number of time this signal is connected. |
boolean |
connected
Tells if this signal is connected. |
int |
n
Number of sample in vector. |
double |
sr
The sampling rate. |
float[] |
vec
The current sample data. |
| Constructor Summary | |
|---|---|
MSPSignal(float[] vec,
double sr,
int n,
short cc)
|
|
| Method Summary | |
|---|---|
MSPSignal |
alias()
Returns a copy of this signal but with the same sample buffer. |
MSPSignal |
dup()
Returns the a duplicated signal object. |
MSPSignal |
dupclean()
Returns the a duplicated signal object, but the sample vector is re-initialized. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public short cc
public boolean connected
public int n
public double sr
public float[] vec
| Constructor Detail |
|---|
public MSPSignal(float[] vec,
double sr,
int n,
short cc)
| Method Detail |
|---|
public MSPSignal alias()
public MSPSignal dup()
public MSPSignal dupclean()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||