Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D F G I J L M N O P R S T U W

A

AOException - exception jm.audio.AOException.
AudioObjectException is a generic exception used for a range of AudioObject excpeptions including incorrect number of inputs, unbalanced sample buffer return sizes etc.
AOException(String, String) - Constructor for class jm.audio.AOException
Simple Constructor which excepts a custom message
AOException(String, int) - Constructor for class jm.audio.AOException
This Constructor writes a standard message from the MESSAGES array using the int as an index.
Audio - class jm.audio.Audio.
The Audio class provides a number of static methods to help pass a jmusic score to the audio architecture and for putting a notes sample information into the correct location in a global audio file.

WARNING !!!!!!! This class is an absolute disgrace ;) It works but is very ugly and I can't be bothered to clean it up at the moment.
Audio() - Constructor for class jm.audio.Audio
 
AudioChainListener - interface jm.audio.AudioChainListener.
This interface is informed whenever an audio chain completes processing its current buffer.
AudioObject - class jm.audio.AudioObject.
Audio Object is the super class of all audio reading, writing, processing and generating units.
AudioObject(AudioObject, String) - Constructor for class jm.audio.AudioObject
This constructor is used for all audio processors and writers that need to accept input from a single stream (ie Audio Object).
AudioObject(AudioObject[], String) - Constructor for class jm.audio.AudioObject
This constructor is used for all audio processors and writers that need to accept input from multiple streams (ie Audio Objects).
AudioObject(Instrument, int, String) - Constructor for class jm.audio.AudioObject
This constructor is used for generator and reader audio units where no previous audio objects exist in the stream.
actionLines(Object, int) - Method in class jm.audio.RTMixer
This method passes on external action requests (i.e.
addAudioChainListener(AudioChainListener) - Method in class jm.audio.Instrument
Attaches an AudioChainListener to this instrument
addEmUp(String, String, float) - Static method in class jm.audio.Audio
 
addPrimaryAO(AudioObject) - Method in class jm.audio.Instrument
Add primary Audio Objects to the primaryAO vector
addRTLine(RTLine) - Method in class jm.audio.Instrument
Associates an RTLine with this Instrument

B

begin() - Method in class jm.audio.RTMixer
Begin starts RTMixer.
block - Variable in class jm.audio.Instrument
should the inst block or not (RT should block, non-RT should not
block() - Method in class jm.audio.Instrument
block is called to hold any further processing untill all instruments are in the same place (in time that is).
bos - Variable in class jm.audio.RTMixer
bos is used to convert sampleArray into a byte stream
bufferSize - Variable in class jm.audio.RTMixer
buffer size
bufsize - Variable in class jm.audio.Instrument
buffer size for passing samples between work methods
build() - Method in class jm.audio.AudioObject
The build method can be overriden by Audio Objects to provide any extra initialization that may be required before the Audio Object can be used for each new note that needs rendering.
buildNext(Note, double, int) - Method in class jm.audio.AudioObject
The buildNext method decimates information down through the audio chain passing data such as sampleRate, number channels, number of samples required etc.

C

channels - Static variable in class jm.audio.Audio
 
channels - Variable in class jm.audio.AudioObject
The number of audio channels for this audio object.
channels - Variable in class jm.audio.RTMixer
The number of channels to be used when setting up SourceDataLine
clear - Variable in class jm.audio.Instrument
if clear is true the threads wait call will be skipped
combine(String, String, String, boolean, boolean) - Static method in class jm.audio.Audio
Combine converts the floating point audio file and combines them into an integer file.
controlChange(float[], int, boolean) - Method in interface jm.audio.AudioChainListener
Control change is called whenever an instrument fills its sample buffer.
controlChange(float[], int, boolean) - Method in class jm.audio.RTMixer
The controlChange method is called every time an instrument fills a sample buffer.
controlRate - Variable in class jm.audio.RTMixer
The control rate is used to set how often in instrument returns a full buffer.
count - Variable in class jm.audio.RTMixer
count shows how many RTLines have passed RTMixer their full buffers
createChain() - Method in class jm.audio.Instrument
This method is automatically called on startup to initialise any AudioObjects used by this instrument
currentNote - Variable in class jm.audio.AudioObject
the note currently being rendered
currentNoteStartTime - Variable in class jm.audio.AudioObject
the currentNotes startTime
currentTime - Variable in class jm.audio.RTMixer
A Timer which keeps track of how many samples have been written since this object started

D

dline - Variable in class jm.audio.RTMixer
dline is the JFM java sound object which we write sampleArray to
dos - Variable in class jm.audio.RTMixer
dos is used to help convert sampleArray into bos

F

finalAO - Variable in class jm.audio.Instrument
the final audio chaine object
finalize() - Method in class jm.audio.RTMixer
 
finished - Variable in class jm.audio.AudioObject
 
finished - Variable in class jm.audio.Instrument
Signifies whether this Instruments audio chain finished processing NOTE: This may be longer than both the notes duration and the notes rhythmvalue !
finishedNewData - Variable in class jm.audio.Instrument
 

G

getAudio(String, long, int, float, RandomAccessFile) - Static method in class jm.audio.Audio
 
getBufSize() - Method in class jm.audio.Instrument
Returns the buffer size being used by this instrument.
getChannels() - Method in class jm.audio.AudioObject
Returns the number of channels in this Audio Object
getFinished() - Method in class jm.audio.Instrument
Return the finished state of this note
getInitialised() - Method in class jm.audio.Instrument
Returns theinitialsed status of the instrument.
getListeners() - Method in class jm.audio.Instrument
Return this instruments audio chain listeners
getSampleRate() - Method in class jm.audio.AudioObject
getSampleRate returns an Audio Objects samples rate

I

Instrument - class jm.audio.Instrument.
An Instrument in jMusic is a chain of AudioObjects which are strung together to form a signal processing chain.
Instrument() - Constructor for class jm.audio.Instrument
Simple default constructor
index - Variable in class jm.audio.Instrument
Index value for rtBuffer
initJMFSound(int) - Method in class jm.audio.RTMixer
This method creates an instance of the JMF SourceDataLine object.
initialised - Variable in class jm.audio.Instrument
Has the creatChain method been called yet?
inputs - Variable in class jm.audio.AudioObject
how many inputs are attached to this object
inst - Variable in class jm.audio.AudioObject
The Instrument which currently implements this AudioObject
iterateChain() - Method in class jm.audio.Instrument
The iterate chain method is resposible for pulling the appropriate number of samples through the audio chain.
iterations - Variable in class jm.audio.Instrument
the number of samples processed by this instrument for this note

J

JPF - Static variable in class jm.audio.Audio
Do we want to write the jpf file
jm.audio - package jm.audio
 

L

listeners - Variable in class jm.audio.Instrument
Vector for holding AudioChainListeners

M

MESSAGES - Static variable in class jm.audio.AOException
 

N

name - Variable in class jm.audio.AudioObject
The name of this Audio Object.
newNote(Note, double, int) - Method in class jm.audio.AudioObject
The newNote method is called everytime a new note is passed to the AudioObject.
next - Variable in class jm.audio.AudioObject
the AudioObject following to this one
nextWork(float[]) - Method in class jm.audio.AudioObject
 
numOfChannels - Variable in class jm.audio.Instrument
the number of channels which this Instrument must supply
numOfSamples - Variable in class jm.audio.AudioObject
the number of samples which need to be processed for this note to be rendered (in mono, for stereo multiply by 2 etc.)
numOfSamples - Variable in class jm.audio.Instrument
the number of samples which this Instrument needs to write

O

okToRun - Variable in class jm.audio.Instrument
The instrument is free to render or play

P

pause() - Method in class jm.audio.Instrument
 
pause() - Method in class jm.audio.RTMixer
Pauses RTMixer playback.
previous - Variable in class jm.audio.AudioObject
the AudioObject previous to this one
primaryAO - Variable in class jm.audio.Instrument
the primary audio chain objects (ie the first in each chain)
processScore(Score, Instrument[], String) - Static method in class jm.audio.Audio
Makes an array which contains all the notes from all the phrases from all the instruments etc.

R

RTMixer - class jm.audio.RTMixer.
RTMixer is responsible for convolving the audio signals being pulled from n number of RTLines.
RTMixer(RTLine[], int, int, int, double) - Constructor for class jm.audio.RTMixer
The RTMixer constructor sets a number of attributes and opens a JMF java sound sourceDataLine.
release() - Method in class jm.audio.Instrument
release is called by RTAudio when the RTLine is ready to start processing data again.
renderNote(Note, double) - Method in class jm.audio.Instrument
The renderNote method is called whenever the instrument is asked to render a new note.
restNote - Variable in class jm.audio.Instrument
This shows whether we can just substitue blank buffers (all zeros)
rtBuffer - Variable in class jm.audio.Instrument
Real time export Buffer which is ALWAYS bufsize (i.e., not changed to reflect a change in the notes duration which is why we need an rtBufferIndex).
rtline - Variable in class jm.audio.Instrument
This is the rtline that this instrument is associated with (RT Only)
rtlines - Variable in class jm.audio.RTMixer
RTLines associated with this RTMixer object
run() - Method in class jm.audio.Instrument
This threads run method

S

sampleArray - Variable in class jm.audio.RTMixer
sampleArray contains the convolution of all RTLines buffers
sampleRate - Static variable in class jm.audio.Audio
 
sampleRate - Variable in class jm.audio.AudioObject
This audio objects sampling rate
sampleRate - Variable in class jm.audio.RTMixer
The sampleRate to be used when establishing the JMF SourceDataLine
samplesProcessed - Variable in class jm.audio.Instrument
number of samples processed by this instrument in its lifetime
scorePosition - Variable in class jm.audio.RTMixer
How far into the score we are in terms of beats
setBlock(boolean) - Method in class jm.audio.Instrument
Set whether the instrument should block or not.
setBufSize(int) - Method in class jm.audio.Instrument
Sets the buffer size which is used to pass sample data between work methods.
setClear(boolean) - Method in class jm.audio.Instrument
If clear is set to true the iterate method will not block after calling controlChange on all its listeners.
setController(double[]) - Method in class jm.audio.Instrument
An array of double values which can be used as controller messages.
setFinalAO(AudioObject) - Method in class jm.audio.Instrument
Sets the finalAO for this instrument
setFinished(boolean) - Method in class jm.audio.Instrument
Is the instrument still processing a note?
setInitialised(boolean) - Method in class jm.audio.Instrument
Tells if the instrument's creatchain method has been called or not.
setNext(AudioObject) - Method in class jm.audio.AudioObject
The setNext method is called from the constructor to set the next variable for the previous object in the object chain (essentially this creates a double linked list so every object in the chain knows which objects came before and which are to follow.

T

totLines - Variable in class jm.audio.RTMixer
The number of lines in the RTLine array

U

unPause() - Method in class jm.audio.Instrument
 
unPause() - Method in class jm.audio.RTMixer
Continues the RTMixer playback.

W

work(float[]) - Method in class jm.audio.AudioObject
The work method is responsible for handling the processing done by an AudioObject.
writeOutAudio(int) - Method in class jm.audio.RTMixer
This method writes out the convolved sampleArray to the SourceDataLine

A B C D F G I J L M N O P R S T U W