Method Detail

createPipeline

Creates a pipeline that produces a result with the property name in question as id.
E.g. to calculate the key property of an AudioSong,
this method should create a pipeline that produces a Key object
under the id key.

This method must return a new pipeline every time it is called. You must not
cache a once created pipeline and return it again and again.

When this instance is used, the produced pipeline is repeatedly called with audio data.
Specifically, the SignalProcessor.process(Object) method is called with
AudioBuffers for the desired clip (see SongPropertyAnalyzer.getRequiredClip(AudioFileFormat)).
The audio format is typically 44.1kHz, stereo, signed 16 bit.

Once all buffers are processed, the system calls SignalProcessor.flush() and then expects
SignalProcessor.getOutput() to return the computed value.