Modifier and Type | Class and Description |
---|---|
static interface |
Bus.GetCompletionAction
Interface describing an action to take place after
an asynchronous bus query is completed.
|
kAddAfter, kAddBefore, kAddReplace, kAddToHead, kAddToTail, kAudioRate, kControlRate, kDemandRate, kDoneFree, kDoneFreeAll, kDoneFreeAllPred, kDoneFreeAllSucc, kDoneFreeGroup, kDoneFreePausePred, kDoneFreePauseSucc, kDoneFreePred, kDoneFreePredGroup, kDoneFreePredGroupDeep, kDoneFreeSucc, kDoneFreeSuccGroup, kDoneFreeSuccGroupDeep, kDoneNothing, kDonePause, kDumpBoth, kDumpHex, kDumpOff, kDumpText, kHeaderAIFF, kHeaderIRCAM, kHeaderNeXT, kHeaderRaw, kHeaderWAVE, kSampleALaw, kSampleDouble, kSampleFloat, kSampleInt16, kSampleInt24, kSampleInt32, kSampleInt8, kSampleMuLaw, kScalarRate
Constructor and Description |
---|
Bus(Server server)
Creates an mono audio bus on the server at index 0.
|
Bus(Server server,
Object rate) |
Bus(Server server,
Object rate,
int index) |
Bus(Server server,
Object rate,
int index,
int numChannels) |
Modifier and Type | Method and Description |
---|---|
void |
alloc() |
static Bus |
alloc(Server server,
Object rate) |
static Bus |
alloc(Server server,
Object rate,
int numChannels) |
static Bus |
audio(Server server) |
static Bus |
audio(Server server,
int numChannels) |
static Bus |
control(Server server) |
static Bus |
control(Server server,
int numChannels) |
boolean |
equals(Object o) |
void |
fill(float value) |
void |
fill(int[] numChans,
float[] values) |
void |
fill(int[] offsets,
int[] numChans,
float[] values) |
void |
fill(int offset,
int numChans,
float value) |
de.sciss.net.OSCMessage |
fillMsg(float value) |
de.sciss.net.OSCMessage |
fillMsg(int[] numChans,
float[] values) |
de.sciss.net.OSCMessage |
fillMsg(int[] offsets,
int[] numChans,
float[] values) |
de.sciss.net.OSCMessage |
fillMsg(int offset,
int numChans,
float value) |
void |
free() |
void |
get(Bus.GetCompletionAction action) |
void |
get(int[] offsets,
Bus.GetCompletionAction action) |
void |
get(int offset,
Bus.GetCompletionAction action) |
int |
getIndex() |
de.sciss.net.OSCMessage |
getMsg() |
de.sciss.net.OSCMessage |
getMsg(int[] offsets) |
void |
getn(int[] offsets,
int[] numChans,
Bus.GetCompletionAction action) |
de.sciss.net.OSCMessage |
getnMsg() |
de.sciss.net.OSCMessage |
getnMsg(int numChans) |
de.sciss.net.OSCMessage |
getnMsg(int[] offsets,
int[] numChans) |
de.sciss.net.OSCMessage |
getnMsg(int offset,
int numChans) |
int |
getNumChannels() |
Object |
getRate() |
Server |
getServer() |
int |
hashCode() |
boolean |
isAudioOut()
Queries whether this bus is playing audio
onto the hardware audio interface channels.
|
void |
printOn(PrintStream stream) |
void |
realloc() |
void |
set(float value) |
void |
set(int[] offsets,
float[] values) |
de.sciss.net.OSCMessage |
setMsg(float value)
Set the value of a monophonic bus.
|
de.sciss.net.OSCMessage |
setMsg(int[] offsets,
float[] values) |
void |
setn(float[] values) |
void |
setn(int[] offsets,
float[][] values) |
de.sciss.net.OSCMessage |
setnMsg(float[] values) |
de.sciss.net.OSCMessage |
setnMsg(int[] offsets,
float[][] values) |
String |
toString() |
public Bus(Server server)
server
- the Server
on which the bus residespublic Object getRate()
public int getNumChannels()
public int getIndex()
public Server getServer()
public void set(float value) throws IOException
IOException
public void set(int[] offsets, float[] values) throws IOException
IOException
public de.sciss.net.OSCMessage setMsg(float value)
public de.sciss.net.OSCMessage setMsg(int[] offsets, float[] values)
public void setn(float[] values) throws IOException
IOException
public void setn(int[] offsets, float[][] values) throws IOException
IOException
public de.sciss.net.OSCMessage setnMsg(float[] values)
public de.sciss.net.OSCMessage setnMsg(int[] offsets, float[][] values)
public void fill(float value) throws IOException
IOException
public void fill(int offset, int numChans, float value) throws IOException
IOException
public void fill(int[] numChans, float[] values) throws IOException
IOException
public void fill(int[] offsets, int[] numChans, float[] values) throws IOException
IOException
public de.sciss.net.OSCMessage fillMsg(float value)
public de.sciss.net.OSCMessage fillMsg(int offset, int numChans, float value)
public de.sciss.net.OSCMessage fillMsg(int[] numChans, float[] values)
public de.sciss.net.OSCMessage fillMsg(int[] offsets, int[] numChans, float[] values)
public void get(Bus.GetCompletionAction action) throws IOException
IOException
public void get(int offset, Bus.GetCompletionAction action) throws IOException
IOException
public void get(int[] offsets, Bus.GetCompletionAction action) throws IOException
IOException
public void getn(int[] offsets, int[] numChans, Bus.GetCompletionAction action) throws IOException
IOException
public de.sciss.net.OSCMessage getMsg()
public de.sciss.net.OSCMessage getMsg(int[] offsets)
public de.sciss.net.OSCMessage getnMsg()
public de.sciss.net.OSCMessage getnMsg(int numChans)
public de.sciss.net.OSCMessage getnMsg(int offset, int numChans)
public de.sciss.net.OSCMessage getnMsg(int[] offsets, int[] numChans)
public void free()
public void alloc()
public void realloc()
public void printOn(PrintStream stream)
public boolean isAudioOut()
true
if this bus plays audio on audible interface channels,
false
otherwiseCopyright © 2015–2022 SciJava. All rights reserved.