rasmus.interpreter.sampled
Class AudioSession
java.lang.Object
rasmus.interpreter.sampled.AudioSession
public class AudioSession
- extends java.lang.Object
Method Summary |
void |
addToBatch(java.lang.Runnable runnable)
|
java.io.InputStream |
asByteStream(AudioStreamable streamable,
int sampleSizeInBits,
boolean signed,
boolean bigEndian)
|
java.io.InputStream |
asByteStream(AudioStream stream,
int sampleSizeInBits,
boolean signed,
boolean bigEndian)
|
java.io.InputStream |
asByteStream(RNameSpace namespace,
int sampleSizeInBits,
boolean signed,
boolean bigEndian)
|
java.io.InputStream |
asByteStream(RVariable variable,
int sampleSizeInBits,
boolean signed,
boolean bigEndian)
|
void |
close()
|
void |
commit()
|
AudioCache |
getAudioCache()
|
BeatToTimeMapper |
getBeatToTimeMap()
|
int |
getChannels()
|
int |
getMaxPolyphony()
|
AudioSession |
getMonoSession()
|
double |
getRate()
|
AudioVoiceManager |
getVoiceManager()
|
boolean |
isRealTime()
|
AudioSession |
newSession()
|
AudioSession |
newSession(double rate,
int channels)
|
AudioStream |
openStream(AudioStreamable streamable)
|
AudioStream |
openStream(RNameSpace namespace)
|
AudioStream |
openStream(RVariable variable)
|
void |
setBeatToTimeMap(BeatToTimeMapper bmap)
|
void |
setMaxPolyphony(int maxpoly)
|
void |
setRealTime(boolean value)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AudioSession
public AudioSession(double rate,
int channels)
getVoiceManager
public AudioVoiceManager getVoiceManager()
setMaxPolyphony
public void setMaxPolyphony(int maxpoly)
getMaxPolyphony
public int getMaxPolyphony()
commit
public void commit()
getChannels
public int getChannels()
getRate
public double getRate()
getAudioCache
public AudioCache getAudioCache()
getBeatToTimeMap
public BeatToTimeMapper getBeatToTimeMap()
setBeatToTimeMap
public void setBeatToTimeMap(BeatToTimeMapper bmap)
isRealTime
public boolean isRealTime()
setRealTime
public void setRealTime(boolean value)
addToBatch
public void addToBatch(java.lang.Runnable runnable)
newSession
public AudioSession newSession(double rate,
int channels)
newSession
public AudioSession newSession()
getMonoSession
public AudioSession getMonoSession()
openStream
public AudioStream openStream(RNameSpace namespace)
openStream
public AudioStream openStream(RVariable variable)
openStream
public AudioStream openStream(AudioStreamable streamable)
asByteStream
public java.io.InputStream asByteStream(AudioStream stream,
int sampleSizeInBits,
boolean signed,
boolean bigEndian)
asByteStream
public java.io.InputStream asByteStream(AudioStreamable streamable,
int sampleSizeInBits,
boolean signed,
boolean bigEndian)
asByteStream
public java.io.InputStream asByteStream(RVariable variable,
int sampleSizeInBits,
boolean signed,
boolean bigEndian)
asByteStream
public java.io.InputStream asByteStream(RNameSpace namespace,
int sampleSizeInBits,
boolean signed,
boolean bigEndian)
close
public void close()