marf.Storage.Loaders
Class MIDILoader

java.lang.Object
  |
  +--marf.Storage.SampleLoader
        |
        +--marf.Storage.Loaders.MIDILoader
All Implemented Interfaces:
ISampleLoader

public class MIDILoader
extends SampleLoader

Not Implemented.

Since:
0.3.0
Version:
$Revision: 1.1 $
Author:
Serguei Mokhov

Field Summary
 
Fields inherited from class marf.Storage.SampleLoader
iRequiredBitSize, iRequiredChannels, iRequiredFrequency, oAudioFormat, oAudioInputStream, oByteArrayOutputStream, oSample
 
Fields inherited from interface marf.Storage.ISampleLoader
DEFAULT_CHANNELS, DEFAULT_FREQUENCY, DEFAULT_SAMPLE_BIT_SIZE, INTERFACE_CODE_REVISION
 
Constructor Summary
MIDILoader()
          MIDI Loader Constructor.
 
Method Summary
static java.lang.String getRevision()
          Returns source code revision information.
 marf.Storage.Sample loadSample(java.io.File poFile)
          Not Implemented.
 int readAudioData(double[] padSample)
          Not Implemented.
 void saveSample(java.io.File poFile)
          Not Implemented.
 int writeAudioData(double[] padSample, int piNbrData)
          Not Implemented.
 
Methods inherited from class marf.Storage.SampleLoader
getSample, getSampleSize, loadSample, reset, saveSample, setSample, updateSample
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MIDILoader

public MIDILoader()
MIDI Loader Constructor.

Method Detail

readAudioData

public final int readAudioData(double[] padSample)
                        throws StorageException
Not Implemented.

Parameters:
padSample - unused
Returns:
integer the number of datums read
Throws:
NotImplementedException
StorageException - never thrown

writeAudioData

public final int writeAudioData(double[] padSample,
                                int piNbrData)
                         throws StorageException
Not Implemented.

Parameters:
padSample - unused
piNbrData - unused
Returns:
the number of data written
Throws:
NotImplementedException
StorageException - never thrown

loadSample

public marf.Storage.Sample loadSample(java.io.File poFile)
                               throws StorageException
Not Implemented.

Parameters:
poFile - unused
Returns:
Sample object refernce
Throws:
NotImplementedException
StorageException - never thrown

saveSample

public void saveSample(java.io.File poFile)
                throws StorageException
Not Implemented.

Parameters:
poFile - unused
Throws:
NotImplementedException
StorageException - never thrown

getRevision

public static java.lang.String getRevision()
Returns source code revision information.

Returns:
revision string