A B C D E F G H I J K L M N O P Q R S T U V W 

M

Main - Class in metdetection
The Main class is used to interface with and run the MetricalLpcfgGenerator class.
Main() - Constructor for class metdetection.Main
 
main(String[]) - Static method in class metdetection.Main
 
main(String[]) - Static method in class metdetection.utils.Evaluation
 
major - Variable in class metdetection.time.KeySignature
True if this key is major.
makeBeatNonterminal(MetricalLpcfgQuantum[], int) - Static method in class metdetection.meter.lpcfg.MetricalLpcfgTreeFactory
Make and return a non-terminal representing a beat.
makeSubBeatNonterminal(MetricalLpcfgQuantum[]) - Static method in class metdetection.meter.lpcfg.MetricalLpcfgTreeFactory
Make and return a non-terminal representing a sub beat.
makeTree(List<MidiNote>, List<Beat>, Measure, int, int, int) - Static method in class metdetection.meter.lpcfg.MetricalLpcfgTreeFactory
Make a new tree based on a List of MidiNotes.
makeTree(MetricalLpcfgQuantum[], int, int) - Static method in class metdetection.meter.lpcfg.MetricalLpcfgTreeFactory
Make and return a tree from the given quantums with the given structure.
matches(MetricalLpcfgMetricalModelState.MetricalLpcfgMatch) - Method in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
Check if this model matches the given match type.
MathUtils - Class in metdetection.utils
A static class of some utility functions that may need to used from multiple places.
MathUtils() - Constructor for class metdetection.utils.MathUtils
A private constructor since this class should never be instantiated.
measure - Variable in class metdetection.beat.Beat
The measure number on which this Beat lies.
measure - Variable in class metdetection.meter.fromfile.FromFileMetricalModelState
The Measure of this metrical structure.
measure - Variable in class metdetection.meter.lpcfg.MetricalLpcfgMeasure
The measure of this tree structure.
measure - Variable in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
The measure type we are looking for.
measure - Variable in class metdetection.meter.lpcfg.MetricalLpcfgTree
The measure at the head of this tree.
Measure - Class in metdetection.meter
A Measure represents a metrical measure, containing information about the number of beats per measure, as well as the number of sub beats per beat.
Measure(int, int) - Constructor for class metdetection.meter.Measure
Create a new Measure with the given fields.
measureHeadMap - Variable in class metdetection.meter.lpcfg.MetricalLpcfgProbabilityTracker
The map used for modeling: p(head(measure) | measure)
measureNum - Variable in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
The measure number of the next subbeat to be shifted onto the stack.
MESSAGE_MASK - Static variable in class metdetection.parsing.MidiEventParser
The mask for reading the message type from a MidiMessage.
metdetection - package metdetection
 
metdetection.beat - package metdetection.beat
 
metdetection.beat.fromfile - package metdetection.beat.fromfile
 
metdetection.generic - package metdetection.generic
 
metdetection.joint - package metdetection.joint
 
metdetection.meter - package metdetection.meter
 
metdetection.meter.fromfile - package metdetection.meter.fromfile
 
metdetection.meter.lpcfg - package metdetection.meter.lpcfg
 
metdetection.parsing - package metdetection.parsing
 
metdetection.time - package metdetection.time
 
metdetection.utils - package metdetection.utils
 
metdetection.voice - package metdetection.voice
 
metdetection.voice.fromfile - package metdetection.voice.fromfile
 
MetricalLpcfg - Class in metdetection.meter.lpcfg
A MetricalLpcfg keeps track of the lexicalized pcfg we've generated with a MetricalLpcfgGenerator.
MetricalLpcfg() - Constructor for class metdetection.meter.lpcfg.MetricalLpcfg
Create a new empty grammar.
MetricalLpcfg(MetricalLpcfg) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfg
Create a new grammar, used by the MetricalLpcfg.deepCopy() method.
MetricalLpcfgElementNotFoundException - Exception in metdetection.meter.lpcfg
A MetricalLpcfgElementNotFOundException is thrown any time the MetricalLpcfg.extractTree(MetricalLpcfgTree) method is called but the given tree is not found in the grammar.
MetricalLpcfgElementNotFoundException(MetricalLpcfgTree) - Constructor for exception metdetection.meter.lpcfg.MetricalLpcfgElementNotFoundException
Create a new Exception based on the given Tree.
MetricalLpcfgElementNotFoundException(MetricalLpcfgNode) - Constructor for exception metdetection.meter.lpcfg.MetricalLpcfgElementNotFoundException
Create a new Exception based on the given Tree.
MetricalLpcfgGenerator - Class in metdetection.meter.lpcfg
The MetricalLpcfgGenerator class will generate and calculate probabilities for a MetricalLpcfg.
MetricalLpcfgGenerator() - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgGenerator
Create a new default MetricalGrammarGenerator.
MetricalLpcfgHead - Class in metdetection.meter.lpcfg
A MetricalLpcfgHead represents the head of a node in our lexicalized pcfg.
MetricalLpcfgHead() - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgHead
MetricalLpcfgHead(double, double, boolean) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgHead
Create a new head with the given fields.
MetricalLpcfgMeasure - Class in metdetection.meter.lpcfg
A MetricalLpcfgMeasure is a type of MetricalLpcfgNonterminal, which represents the Measure type of the tree.
MetricalLpcfgMeasure(int, int) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgMeasure
Create a new measure node with the given beats per measure and sub beats per beat.
MetricalLpcfgMeasure(MetricalLpcfgMeasure) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgMeasure
Create a new measure node as a copy of the given one.
MetricalLpcfgMetricalModelState - Class in metdetection.meter.lpcfg
A GrammarHierarchyModelState is used to generate hierarchy hypotheses using a grammar.
MetricalLpcfgMetricalModelState(MetricalLpcfg) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
Create a new state based on the given grammar.
MetricalLpcfgMetricalModelState(MetricalLpcfgMetricalModelState, MetricalLpcfg, Measure, int, int) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
Create a new state based on the given grammar, measure, and terminal length, and as a partial deep copy of the given state.
MetricalLpcfgMetricalModelState(MetricalLpcfgMetricalModelState) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
Create a new state which is a deep copy of the given one (when necessary).
MetricalLpcfgMetricalModelState.MetricalLpcfgMatch - Enum in metdetection.meter.lpcfg
A MetricalLpcfgMatch is an enum indicating which type of match a MetricalLpcfgMetricalModelState has matched.
MetricalLpcfgMetricalModelState.MetricalLpcfgMatch() - Constructor for enum metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState.MetricalLpcfgMatch
 
MetricalLpcfgNode - Interface in metdetection.meter.lpcfg
A MetricalLpcfgNode represents a node in the tree of the metrical lpcfg.
MetricalLpcfgNonterminal - Class in metdetection.meter.lpcfg
A MetricalLpcfgNonterminal is an internal node in a metrical lpcfg tree.
MetricalLpcfgNonterminal(MetricalLpcfgNonterminal.MetricalLpcfgLevel) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgNonterminal
MetricalLpcfgNonterminal(MetricalLpcfgNonterminal) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgNonterminal
Create a new non-terminal as a deep copy of the given one.
MetricalLpcfgNonterminal.MetricalLpcfgLevel - Enum in metdetection.meter.lpcfg
An enum representing the level of a MetricalLpcfgNonterminal
MetricalLpcfgNonterminal.MetricalLpcfgLevel() - Constructor for enum metdetection.meter.lpcfg.MetricalLpcfgNonterminal.MetricalLpcfgLevel
 
MetricalLpcfgNonterminal.MetricalLpcfgType - Enum in metdetection.meter.lpcfg
An enum representing the type of a MetricalLpcfgNonterminal
MetricalLpcfgNonterminal.MetricalLpcfgType() - Constructor for enum metdetection.meter.lpcfg.MetricalLpcfgNonterminal.MetricalLpcfgType
 
MetricalLpcfgProbabilityTracker - Class in metdetection.meter.lpcfg
A MetricalLpcfgProbabilityTracker keeps track of counts for a MetricalLpcfg.
MetricalLpcfgProbabilityTracker() - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgProbabilityTracker
Create a new empty probability tracker.
MetricalLpcfgProbabilityTracker(MetricalLpcfgProbabilityTracker) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgProbabilityTracker
Create a new probability tracker as a deep copy of the given one.
MetricalLpcfgQuantum - Enum in metdetection.meter.lpcfg
A MetricalGrammarTerminalQuantum represents the lowest level within a MetricalLpcfgTerminal, and can either be a rest, a tie, or an onset.
MetricalLpcfgQuantum() - Constructor for enum metdetection.meter.lpcfg.MetricalLpcfgQuantum
 
MetricalLpcfgTerminal - Class in metdetection.meter.lpcfg
A MetricalLpcfgTerminal object represents a terminal symbol in the rhythmic grammar.
MetricalLpcfgTerminal() - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgTerminal
Create a new terminal with just a single rest.
MetricalLpcfgTerminal(MetricalLpcfgQuantum[]) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgTerminal
Create a new MetricalGrammarTerminal with the given pattern and MetricalLpcfgTerminal.baseLength of 1.
MetricalLpcfgTerminal(MetricalLpcfgQuantum[], int) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgTerminal
Create a new MetricalGrammarTerminal with the given pattern and base length.
MetricalLpcfgTerminal(MetricalLpcfgTerminal) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgTerminal
Create a new MetricalGrammarTerminal, a shallow copy of the given one.
MetricalLpcfgTree - Class in metdetection.meter.lpcfg
A MetricalLpcfgTree represents the tree structure generated by a metrical lpcfg for a single measure of a single voice of a song.
MetricalLpcfgTree(MetricalLpcfgMeasure) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgTree
Create a new tree with the given measure at its head.
MetricalLpcfgTree(MetricalLpcfgTree) - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgTree
Create a new tree as a deep copy of the given one.
MetricalLpcfgTreeFactory - Class in metdetection.meter.lpcfg
A MetricalLpcfgTreeFactory is a class whose static methods aid in the creation of MetricalLpcfgTrees.
MetricalLpcfgTreeFactory() - Constructor for class metdetection.meter.lpcfg.MetricalLpcfgTreeFactory
Private constructor to ensure that no factory is instantiated.
MetricalModelState - Class in metdetection.meter
A MetricalModelState is used in meter detection, and contains some representation of a song's meter.
MetricalModelState() - Constructor for class metdetection.meter.MetricalModelState
 
microSecondsPerQuarter - Variable in class metdetection.time.Tempo
The number of microseconds which pass per quarter note in the song.
MidiEventParser - Class in metdetection.parsing
A MidiEventParser handles the interfacing between this program and MIDI files.
MidiEventParser(File, NoteEventParser, TimeTracker, boolean) - Constructor for class metdetection.parsing.MidiEventParser
Creates a new MidiEventParser
MidiModel - Class in metdetection.generic
A MidiModel is a generic interface which defines any model which takes a series of MidiNotes as input through the MidiModel.handleIncoming(List) method, and generates some sort of hypotheses, which can be obtained through the MidiModel.getHypotheses() method.
MidiModel() - Constructor for class metdetection.generic.MidiModel
 
MidiModelState - Class in metdetection.generic
A MidiModelState contains the state of any of our MidiModels.
MidiModelState() - Constructor for class metdetection.generic.MidiModelState
 
MidiNote - Class in metdetection.utils
A MidiNote represents a single instance of a played midi note.
MidiNote(int, int, long, long, int, int) - Constructor for class metdetection.utils.MidiNote
Constructor for a new note.
MidiWriter - Class in metdetection.parsing
A MidiWriter is able to take in MidiNotes and a TimeTracker, and write them out to a valid Midi File.
MidiWriter(File, TimeTracker) - Constructor for class metdetection.parsing.MidiWriter
Create a new MidiWriter to write out to the given File.
moreEventsRemain(int[]) - Method in class metdetection.parsing.MidiEventParser
Return true if some notes remain.
mostRecentIndex - Variable in class metdetection.beat.fromfile.FromFileBeatTrackingModelState
The index of the current Beat in our Beats list.
mostRecentNote - Variable in class metdetection.voice.Voice
The most recent note of this voice.
mostRecentTime - Variable in class metdetection.beat.fromfile.FromFileBeatTrackingModelState
The most recent time for which we have seen a note offset so far, initially 0.
mostRecentTime - Variable in class metdetection.meter.fromfile.FromFileMetricalModelState
The time of the most recent note onset we've seen so far.
mostRecentTime - Variable in class metdetection.voice.fromfile.FromFileVoiceSplittingModelState
The most recent time for which we have seen a note onset so far, initially 0.
A B C D E F G H I J K L M N O P Q R S T U V W