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

Quick Search    Search Deep

Page 1   2  
jm.audio.* (47)jm.constants.* (16)jm.gui.* (41)
jm.midi.* (22)jm.music.* (37)jm.util.* (18)
jmat.data.* (13)jmat.function.* (10)jmat.io.* (33)
jmat.test.* (1)jmmv.db.* (6)jmmv.progs.* (17)
jmmv.ui.* (7)jms.client.* (2)jms.service.* (1)

jm: Javadoc index of package jm.


Package Samples:

jmmv.ui
jmmv.db
jmmv.progs.DiskCat
jm.audio
jm.audio.io
jm.audio.math
jm.audio.synth
jm.constants
jm.gui.cpn
jm.gui.graph
jm.gui.helper
jm.gui.histogram
jm.gui.show
jm.gui.sketch
jm.gui.wave
jm.midi.event
jm.midi
jm.music.data
jm.music.net
jm.music.rt

Classes:

PhraseAnalysis: Provides class methods which return statistics about a jm.music.data.Phrase or jm.music.data.Note array. For each statistic there are two methods, accepting either a Phrase or a Note array as a parameter. This class also provides the constants used when generating those statistics. The methods are grouped under the following categories: Bulk Statistics: Methods that call multiple other methods, and return their statistics in one group. They never generate any new statistics themselves; every value in the group can be accessed individually using the other methods in this class. The method getAllStatistics ...
Note: The Note class is representative of notes in standard western music notation. It contains data relavent to music note information such as time, duration and pitch. Notes get contained in Phrase objects. Like in tradtional music notation (CPN) notes get played one after the other in the order in which they are added to the Phrase. !IMPORTANT: notes with a pitch of the minimum integer are rests, those between 0 <> 127 are exactly the same as normal sounding notes numbered like the MIDI specification. Notes with a pitch specified as a double value, e.g., 440.0, are frequency values for the note pitch. ...
AudioObject: Audio Object is the super class of all audio reading, writing, processing and generating units. An AudioObject in the jMusic audio architecture is any class which is used to form part of an audio chain, be that a generator object (such as a wavetable), a reader object (such as an audio file reader), a processor object (such as a filter), or a writer object ( such as a file writer). Audio chains are created by linking together AudioObjects into lists where every AudioObject knows which AudioObjects come before and after it. This link is achieved by passing an AudioObjects immediate predicesors in ...
RealFloatFFT_Radix2: Computes FFT's of real, single precision data where n is an integral power of 2. The physical layout of the mathematical data d[i] in the array data is as follows: d[i] = data[i0 + stride*i] The FFT (D[i]) of real data (d[i]) is complex, but restricted by symmetry: D[n-i] = conj(D[i]) It turns out that there are still n `independent' values, so the transformation can still be carried out in-place. For RealFloatFFT_Radix2, the correspondence is as follows: Logical Physical Re(D[0]) = data[0] Im(D[0]) = 0 Re(D[1]) = data[1] Im(D[1]) = data[n-1] ... ... Re(D[k]) = data[k] Im(D[k]) = data[n-k] ... ...
WaveTable: Wavetable lookup creates an efficient means for resampling data into any frequency. It is particularly useful for holding simple wave information such as sinewaves and is often used as an oscillator. This WaveTable implementation can accept either one or two inputs. Two inputs expects that amplitude is the left input and frequency is the right input. One input allows the user to specify whether the input is for amplitude or frequency by setting the aoDestination variable((0)amplitude (1)frequency. A WaveTable can use fixed variables for both amplitude and frequency. The default is to use a default ...
VoiceEvt: Description: The interface VoiceEvt is the "parent" to a group of child classes representing MIDI voice event messages. These classes will usually be added to a linked list as type Event. The child classes instance variable id can be used to distinguish easily between the child event types. 001 - ATouch 002 - ChPres 003 - CChange 004 - NoteOff 005 - NoteOn 006 - PWheel 007 - PChange //This example shows how to add voice events to a list class makeScore { List violinPart = new List(); VoiceEvt voiceEvt = new CChange(); violinPart.insertAtBack(voiceEvt); } //This example prints the contents of a ...
HelperGUI: This jMusic utility is designed to be extended by user classes. It will provide a simple graphical interface that speeds up the cycle of composing-auditioning-recomposing by minimising the need for recompiling simple changes. It is especially useful for novice Java programmers. To use the HelperGUI class write a standard jMusic class that extends this class. It shopuld have a main() method and a constructor. Make a super() call in the constructor. Overwrite the compose() method [which returns a Score object] and include the compositional logic in that method. To render a score as an audio file, ...
QTHelperGUI: This jMusic utility is designed to be extended by user classes. It will provide a simple graphical interface that speeds up the cycle of composing-auditioning-recomposing by minimising the need for recompiling simple changes. It is especially useful for novice Java programmers. To use the HelperGUI class write a standard jMusic class that extends this class. It shopuld have a main() method and a constructor. Make a super() call in the constructor. Overwrite the compose() method [which returns a Score object] and include the compositional logic in that method. To render a score as an audio file, ...
ADSR: Envelope which can be set with an arbitrary number of points the envelope is constructed with linear lines between each specifed point. The points excepted by this class are positioned as a percent of the total length of the sound data being nextWorked on and the envelope itself is constructed in the build() method. Envelope objects can be used as either Generator Audio Objects (ie the first in the chain) or as processor Audio Objects (ie in the centre or the chain) depending on the constructor used. As a generator the Envelope can be used to pass each envelope position onto another Audio Object ...
Envelope: Envelope which can be set with an arbitrary number of points the envelope is constructed with linear lines between each specifed point. The points excepted by this class are positioned as a percent of the total length of the sound data being worked on and the envelope itself is constructed in the build() method. Envelope objects can be used as either Generator Audio Objects (ie the first in the chain) or as processor Audio Objects (ie in the centre or the chain) depending on the constructor used. As a generator the Envelope can be used to pass each envelope position onto another Audio Object as ...
RealFloatFFT: Abstract Class representing FFT's of real, single precision data. Concrete classes are typically named RealFloatFFT_ method , implement the FFT using some particular method. The physical layout of the mathematical data d[i] in the array data is as follows: d[i] = data[i0 + stride*i] The FFT (D[i]) of real data (d[i]) is complex, but restricted by symmetry: D[n-i] = conj(D[i]) It turns out that there are still n `independent' values, so the transformation can still be carried out in-place. However, each Real FFT method tends to leave the real and imaginary parts distributed in the data array in ...
SampleOut: The SampleOut class is responsible for writing sample data to disk. It combines all notes into a single Random Access File based on each notes start time. The output of samples into this file is in 32 bit floating point format and a maximum amplitude for this file is calculated on the fly and storied by this class for easy normalisation when being rewritten to a standard Audio File Format. NOTE: One important thing to note about the class is that all the notes of the score are written to the same file. Therefore everytime this class is called for each new note the information is continually written ...
EigenvalueDecomposition: Eigenvalues and eigenvectors of a real matrix. If A is symmetric, then A = V*D*V' where the eigenvalue matrix D is diagonal and the eigenvector matrix V is orthogonal. I.e. A = V.times(D.times(V.transpose())) and V.times(V.transpose()) equals the identity matrix. If A is not symmetric, then the eigenvalue matrix D is block diagonal with the real eigenvalues in 1-by-1 blocks and any complex eigenvalues, lambda + i*mu, in 2-by-2 blocks, [lambda, mu; -mu, lambda]. The columns of V represent the eigenvectors in the sense that A*V = V*D, i.e. A.times(V) equals V.times(D). The matrix V may be badly conditioned, ...
Images: Interface with methods for returning Images representing notes, rests and other stave elements for use with a CPN Stave . This abstraction is mainly used to allow different implementations from loading the Images in different ways. For instance, the ToolkitImages implementation is suitable for applications, while the AppletImages implementation is suitable for use in applets.
LUDecomposition: LU Decomposition. For an m-by-n matrix A with m >= n, the LU decomposition is an m-by-n unit lower triangular matrix L, an n-by-n upper triangular matrix U, and a permutation vector piv of length m so that A(piv,:) = L*U. In other words, assuming P the permutation Matrix, P*A = L*U. If m The LU decompostion with pivoting always exists, even if the matrix is singular, so the constructor will never fail. The primary use of the LU decomposition is in the solution of square systems of simultaneous linear equations. This will fail if isNonsingular() returns false.
NoteListException: Thrown by a method when a set of Notes does not fit its criteria. The set of Notes might be a Vector stored within a Phrase or a array of Notes. The actual problem with the Notes will be dependent on the function of the method throwing this error. For instance, a method might require that the notes must contain at least one non-rest. Another method might require only that it has a least one Note, regardless of whether its a rest or not. See the particular method for full details.
QTCycle: Real Time MIDI playback for jMusic using Apple's QuickTime Java API. To use, create a score and pass it to the constructor of this class then call the startPlayback() method (only once!) to begin looping. Use suspendPlayback() and resumePlayback() to interupt the playback once started. It is the responsibility of the calling app to update the scores as required, and numerous accessor methods are provided to adjust elements of the score or cycle process on the fly. A swing GUI is provided to adjust the scheduling parameters as required. It is initiated by thecalling the settings() method.
Phrase: The Phrase class is representative of a single musical phrase. Phrases are held in Parts and can be played at any time based on there start times. They may be played sequentially or in parallel. Phrases can be added to an Part like this... Part inst = new Part("Flute"); //Phrase for the right hand Phrase rightHand = new Phrase(0.0) //start this phrase on the first beat //Phrase for the left hand Phrase leftHane = new Phrase(4.0) //start this phrase on the fifth beat inst.addPhrase(rightHand); inst.addPhrase(leftHand);
SketchRuler: A jMusic tool which disketchScorelays a score as a simple 'piano roll' disketchScorelay in a window. The tool disketchScorelays a jMusic class as a simple piano roll view. To use it write: new ViewScore(scoreName); Where scoreName is the jMusic Score object. Alternately: new ViewScore(scoreName, xpos, ypos); Where xpos and ypos are intergers sketchScoreecifying the topleft position of the window. This is useful if you want to use ViewScore in conjunction with some other GUI interface which is already positioned in the top left corner of the screen.
SketchScore: A jMusic tool which displays a score as a simple 'piano roll' display in a window. The tool displays a jMusic class as a simple piano roll view. To use it write: new ViewScore(scoreName); Where scoreName is the jMusic Score object. Alternately: new ViewScore(scoreName, xpos, ypos); Where xpos and ypos are intergers specifying the topleft position of the window. This is useful if you want to use ViewScore in conjunction with some other GUI interface which is already positioned in the top left corner of the screen.
SingularValueDecomposition: Singular Value Decomposition. For an m-by-n matrix A with m >= n, the singular value decomposition is an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and an n-by-n orthogonal matrix V so that A = U*S*V'. The singular values, sigma[k] = S[k][k], are ordered so that sigma[0] >= sigma[1] >= ... >= sigma[n-1]. The singular value decompostion always exists, so the constructor will never fail. The matrix condition number and the effective numerical rank can be computed from this decomposition.
Score: The Score class is used to hold score data. Score data includes is primarily made up of a vector of Part objects. Commonly score data is algorithmically generated or read from a standard MIDI file, but can also be read and saved to file using Java's object serialization. In this way a Score's data can be saved in a more native context. To find out how to read from and write to standard MIDI files or to use object serializationcheck out the jm.util.Read and km.util.Write classes.
Form: Form provides a base abstarct class to create forms in a GUI, using Swing components. The form is based on a JPanel which can be 'included' in any container. A form emits a ChangeEvent whenever the state of any form entry changes (i.e. a letter is added, an option is changed, etc). This allows parent frames to know when the state of the panel changes. The form data is based on jmmv.db.Register and derived classes, that provide a common and abstract way to access a database.
QRDecomposition: QR Decomposition. For an m-by-n matrix A with m >= n, the QR decomposition is an m-by-n orthogonal matrix Q and an n-by-n upper triangular matrix R so that A = Q*R. The QR decompostion always exists, even if the matrix does not have full rank, so the constructor will never fail. The primary use of the QR decomposition is in the least squares solution of nonsquare systems of simultaneous linear equations. This will fail if isFullRank() returns false.
Volume: The Volume Audio Object is a simple volume control. Any samples that pass through the Volume Object will have their amplitudes adjusted by whatever volume level is set. Volume can take one or two Audio Objects for input. When using a single Audio Object as input Volume uses a default volume level for all incoming audio samples. When taking two Audio Objects as input the first input is a volume and the second is the sample data.

Home | Contact Us | Privacy Policy | Terms of Service