bodhidharma.midi_parsing.one_dimensional_features
Class InstrumentGroupTester

java.lang.Object
  extended by bodhidharma.midi_parsing.one_dimensional_features.InstrumentGroupTester

public class InstrumentGroupTester
extends java.lang.Object

A holder class for the static calculateInstrumentGroupFrequency method.

Author:
Cory McKay

Constructor Summary
InstrumentGroupTester()
           
 
Method Summary
static double calculateInstrumentGroupFrequency(int[] instruments, MIDIIntermediateRepresentations recording_info)
          Returns the fraction of Note Ons in the recording detailed by the recording_info parameter that are played by one of the General MIDI patches included in the instruments parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentGroupTester

public InstrumentGroupTester()
Method Detail

calculateInstrumentGroupFrequency

public static double calculateInstrumentGroupFrequency(int[] instruments,
                                                       MIDIIntermediateRepresentations recording_info)
Returns the fraction of Note Ons in the recording detailed by the recording_info parameter that are played by one of the General MIDI patches included in the instruments parameter.