- gaussianWindow(double, double, double) - Static method in class metdetection.utils.MathUtils
-
Evaluate a Gaussian window function with the given mean range and standard deviation.
- generateGrammar(List<File>, List<File>, boolean) - Static method in class metdetection.Main
-
Generate a grammar from the given files with the given Runner.
- generateReducedPattern(MetricalLpcfgQuantum[]) - Static method in class metdetection.meter.lpcfg.MetricalLpcfgTerminal
-
Convert the given pattern into reduced form and return it.
- getAccuracyString(Measure, int, int, Measure, int, int) - Static method in class metdetection.utils.Evaluation
-
Get the accuracy String for a metrical hypothesis.
- getAllFilesRecursive(File) - Static method in class metdetection.Main
-
Get and return a List of every file beneath the given one.
- getAllFirstStepBranches() - Method in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
-
Get a List of all of the first step branches we could make out of this state.
- getAllMeters(File) - Static method in class metdetection.utils.Evaluation
-
Get a List of all of the meters of the given song, excluding the initial dummy one.
- getAllTimeSignatures() - Method in class metdetection.time.TimeTracker
-
Get a List of all of the time signatures of this TimeTracker, excluding the dummy one.
- getAnacrusisLength(File, List<File>) - Static method in class metdetection.Main
-
Get the anacrusis length for the given test file given the anacrusis files.
- getAnacrusisLength() - Method in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
-
Get the anacrusis length of this model.
- getAnacrusisSubBeats() - Method in class metdetection.time.TimeTracker
-
Get the anacrusis length of this TimeTracker, in sub beats.
- getAnacrusisTicks() - Method in class metdetection.time.TimeTracker
-
Get the anacrusis length of this TimeTracker, in ticks.
- getBeat() - Method in class metdetection.beat.Beat
-
Get this Beat's beat number.
- getBeatHypotheses() - Method in class metdetection.joint.JointModel
-
Get an ordered List of the
BeatTrackingModelState
s which are currently the top hypotheses
for this joint model.
- getBeats() - Method in class metdetection.beat.BeatTrackingModelState
-
Gets the Beats which are contained by this state currently.
- getBeats() - Method in class metdetection.beat.fromfile.FromFileBeatTrackingModelState
-
- getBeats() - Method in class metdetection.time.TimeTracker
-
Get a List of the Beats found by this TimeTracker up until (but not including)
the
TimeTracker.lastTick
.
- getBeatsAroundTime(long, List<Beat>) - Method in class metdetection.utils.MidiNote
-
- getBeatsPerMeasure() - Method in class metdetection.meter.Measure
-
Get the number of beats this measure is divided into.
- getBeatState() - Method in class metdetection.joint.JointModelState
-
Get the BeatTrackingModelState currently in this JointModelState.
- getBeatState() - Method in class metdetection.meter.MetricalModelState
-
Get the BeatTrackingModelState which this hierarchy is based on.
- getChildren() - Method in class metdetection.meter.lpcfg.MetricalLpcfgNonterminal
-
Get the children of this non-terminal.
- getCorrectVoice() - Method in class metdetection.utils.MidiNote
-
Get the gold standard voice of this note.
- getDenominator() - Method in class metdetection.time.TimeSignature
-
Get the denominator of this time signature.
- getDuration(String, int) - Method in class metdetection.parsing.KernEventParser
-
Get the duration, in ticks, of the given note or rest marker.
- getDuration(int, int, int) - Method in class metdetection.parsing.KernEventParser
-
Get the length in ticks of a note or rest with the given value and dots.
- getDurationTime() - Method in class metdetection.utils.MidiNote
-
Get the duration of this MidiNote in microseconds.
- getFirstTimeSignature() - Method in class metdetection.time.TimeTracker
-
Get the first non-dummy time signature in this song.
- getFrequencyCountEstimate(double[], int) - Static method in class metdetection.utils.SmoothingUtils
-
Get the frequency count estimate of the given frequency based on the values from the regression
from a log-log plot.
- getFrequencyMap(Collection<Integer>) - Static method in class metdetection.utils.SmoothingUtils
-
Get the frequency counts of the counts in the given Collection.
- getGCF(MetricalLpcfgQuantum[]) - Static method in class metdetection.meter.lpcfg.MetricalLpcfgTerminal
-
Get the greatest common factor of the lengths of all of the constituents in the given
pattern.
- getGCF(int, int) - Static method in class metdetection.utils.MathUtils
-
Get the greatest common factor of two integers.
- getGoldStandardVoices() - Method in interface metdetection.parsing.EventParser
-
Get a List of the gold standard voices from this song.
- getGoldStandardVoices() - Method in class metdetection.parsing.KernEventParser
-
Get a List of the gold standard voices from this song.
- getGoldStandardVoices() - Method in class metdetection.parsing.MidiEventParser
-
Get a List of the gold standard voices from this song.
- getGoodTuringSmoothing(Map<Integer, Integer>, int) - Static method in class metdetection.utils.SmoothingUtils
-
Return the Good-Turing smoothed probability values for our counts.
- getGrammar() - Method in class metdetection.meter.lpcfg.MetricalLpcfgGenerator
-
Get the MetricalGrammar we have generated.
- getGuessedVoice() - Method in class metdetection.utils.MidiNote
-
Get the guessed voice of this note.
- getHead() - Method in class metdetection.meter.lpcfg.MetricalLpcfgMeasure
-
Get the head of this non-terminal.
- getHead() - Method in interface metdetection.meter.lpcfg.MetricalLpcfgNode
-
Get the head of this lpcfg node.
- getHead() - Method in class metdetection.meter.lpcfg.MetricalLpcfgNonterminal
-
Get the head of this non-terminal.
- getHead() - Method in class metdetection.meter.lpcfg.MetricalLpcfgTerminal
-
Get the head of this terminal.
- getHeadProbability(Measure, String, MetricalLpcfgHead, MetricalLpcfgHead, MetricalLpcfgNonterminal.MetricalLpcfgLevel) - Method in class metdetection.meter.lpcfg.MetricalLpcfgProbabilityTracker
-
Gets the probability p(headLength | measure, type, parentHeadLength).
- getHierarchyHypotheses() - Method in class metdetection.joint.JointModel
-
Get an ordered List of the
MetricalModelState
s which are currently the top hypotheses
for this joint model.
- getHierarchyState() - Method in class metdetection.joint.JointModelState
-
Get the HierarchyModelState currently in this JointModelState.
- getHypotheses() - Method in class metdetection.generic.MidiModel
-
This method returns a TreeSet of the current hypothesis states of this MidiModel.
- getHypotheses() - Method in class metdetection.joint.JointModel
-
- getHypotheses() - Method in class metdetection.voice.fromfile.FromFileVoiceSplittingModel
-
- getHypotheses() - Method in class metdetection.voice.VoiceSplittingModel
-
- getIncomingLists() - Method in class metdetection.parsing.NoteListGenerator
-
Returns a List of the incoming note lists.
- getKeySignature() - Method in class metdetection.time.TimeTrackerNode
-
Get the KeySignature of this node.
- getLastTick() - Method in class metdetection.time.TimeTracker
-
Get the last tick for this song.
- getLength() - Method in class metdetection.meter.lpcfg.MetricalLpcfgHead
-
Get the length of this head.
- getLength() - Method in interface metdetection.meter.lpcfg.MetricalLpcfgNode
-
Get the length of this node, measured in sub beats.
- getLength() - Method in class metdetection.meter.lpcfg.MetricalLpcfgNonterminal
-
- getLength() - Method in class metdetection.meter.lpcfg.MetricalLpcfgTerminal
-
- getLevel() - Method in class metdetection.meter.lpcfg.MetricalLpcfgNonterminal
-
Get the level of this non-terminal.
- getLocalGrammar() - Method in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
-
Get the local grammar of this model.
- getLocalizedMessage() - Method in exception metdetection.meter.lpcfg.MetricalLpcfgElementNotFoundException
-
- getMatch(int, int, Measure, int, int) - Static method in class metdetection.utils.Evaluation
-
Get the match type of a grouping of the given length and offset given the correct measure,
anacrusis length, and sub beat length.
- getMaxIndex(double[]) - Static method in class metdetection.utils.MathUtils
-
Get the index of the first occurrence of the maximum value in the given array.
- getMeasure() - Method in class metdetection.beat.Beat
-
Get this Beat's measure number.
- getMeasure() - Method in class metdetection.meter.lpcfg.MetricalLpcfgMeasure
-
Get the Measure type of this node.
- getMeasure() - Method in class metdetection.meter.lpcfg.MetricalLpcfgTree
-
Get the measure node which is at the head of this tree.
- getMeasureHeadProbability(Measure, MetricalLpcfgHead) - Method in class metdetection.meter.lpcfg.MetricalLpcfgProbabilityTracker
-
Gets the probability p(headLength | measure).
- getMeasures() - Method in class metdetection.meter.lpcfg.MetricalLpcfg
-
Get a Set of the Measures which are contained in any tree from within this lpcfg.
- getMeter(File) - Static method in class metdetection.utils.Evaluation
-
Get the meter at the beginning of the given file.
- getMetricalMeasure() - Method in class metdetection.meter.fromfile.FromFileMetricalModelState
-
- getMetricalMeasure() - Method in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
-
- getMetricalMeasure() - Method in class metdetection.meter.MetricalModelState
-
Gets the Measure which is contained by this state currently.
- getMetricalMeasure() - Method in class metdetection.time.TimeSignature
-
Get the BeatHierarchy of this time signature.
- getMicroSecondsPerQuarter() - Method in class metdetection.time.Tempo
-
Gets the number of microseconds which pass per quarter note.
- getMostRecentNote() - Method in class metdetection.voice.Voice
-
Get the most recent note in this voice.
- getNextTrackNum(long[]) - Method in class metdetection.parsing.MidiEventParser
-
Get the index of the track with the next event.
- getNodeAtTick(long) - Method in class metdetection.time.TimeTracker
-
Get the TimeTrackerNode which is valid at the given tick.
- getNodeAtTime(long) - Method in class metdetection.time.TimeTracker
-
Get the TimeTrackerNode which is valid at the given time.
- getNodeLogProbability(MetricalLpcfgNode, MetricalLpcfgHead, Measure) - Method in class metdetection.meter.lpcfg.MetricalLpcfg
-
Get the log probability of the given Node.
- getNodes() - Method in class metdetection.time.TimeTracker
-
- getNoteFileString(File) - Static method in class metdetection.utils.Evaluation
-
Convert the given input file out into a note file.
- getNoteList() - Method in class metdetection.parsing.NoteListGenerator
-
Returns a list of the notes present in this song, in time order.
- getNoteName(int) - Static method in class metdetection.utils.MidiNote
-
Get the note name of the given MIDI pitch value.
- getNotes() - Method in class metdetection.voice.Voice
-
Get the List of notes which this node is the tail of, in chronological order.
- getNotes32PerBar() - Method in class metdetection.time.TimeSignature
-
Get the number of 32nd notes per measure at this time signature.
- getNumerator() - Method in class metdetection.time.TimeSignature
-
Get the numerator of this time signature.
- getNumLevels(String) - Static method in class metdetection.utils.Evaluation
-
Return the number of levels on the given line of Temperley output.
- getNumLinksCorrect(List<List<MidiNote>>) - Method in class metdetection.voice.Voice
-
Get the number of links in this Voice which are correct.
- getNumNotes() - Method in class metdetection.voice.Voice
-
Get the number of notes in the linked list with this node as its tail.
- getNumNotesCorrect() - Method in class metdetection.voice.Voice
-
Get the number of notes we've correctly grouped into this voice, based on the most common voice in the voice.
- getNumSharps() - Method in class metdetection.time.KeySignature
-
Get the number of sharps in this key signature.
- getOffsetAboveCFromChar(char) - Method in class metdetection.parsing.KernEventParser
-
Get the offset (in semitones) above C of the given pitch.
- getOffsetBeat(List<Beat>) - Method in class metdetection.utils.MidiNote
-
- getOffsetTick() - Method in class metdetection.utils.MidiNote
-
Gets the offset tick of this note.
- getOffsetTime() - Method in class metdetection.utils.MidiNote
-
Gets the offset time of this note.
- getOnsetBeat(List<Beat>) - Method in class metdetection.utils.MidiNote
-
- getOnsetTick() - Method in class metdetection.utils.MidiNote
-
Gets the onset tick of this note.
- getOnsetTime() - Method in class metdetection.utils.MidiNote
-
Gets the onset time of this note.
- getOriginalPattern() - Method in class metdetection.meter.lpcfg.MetricalLpcfgTerminal
-
Get the original unreduced pattern of this terminal.
- getPitch(String, int) - Method in class metdetection.parsing.KernEventParser
-
Get the pitch of the given note or rest marker.
- getPitch(String) - Method in class metdetection.parsing.KernEventParser
-
Get the pitch number of the given note data.
- getPitch() - Method in class metdetection.utils.MidiNote
-
Gets the key number of this note.
- getPositiveOffsetFromC() - Method in class metdetection.time.KeySignature
-
Get the positive offset from C of the tonic note of this key.
- getPPQ() - Method in class metdetection.time.TimeTracker
-
Get the PPQ of this TimeTracker.
- getPrevious() - Method in class metdetection.voice.Voice
-
Get the voice ending at the previous note in this voice.
- getProbabilityTracker() - Method in class metdetection.meter.lpcfg.MetricalLpcfg
-
Get the probability tracker of this grammar.
- getQuantisationError() - Method in class metdetection.parsing.QuantisationMeter
-
Get the average quantisation error out of the notes we've seen so far.
- getQuantizationError(MidiNote, int) - Method in class metdetection.time.TimeTracker
-
Get the quantization error of the given note, with the given number of divisions
per quarter note.
- getReducedPattern() - Method in class metdetection.meter.lpcfg.MetricalLpcfgTerminal
-
Get the pattern of this terminal.
- getScore() - Method in class metdetection.beat.fromfile.FromFileBeatTrackingModelState
-
- getScore() - Method in class metdetection.generic.MidiModelState
-
Get the score of this MidiModelState.
- getScore() - Method in class metdetection.joint.JointModelState
-
- getScore() - Method in class metdetection.meter.fromfile.FromFileMetricalModelState
-
- getScore() - Method in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
-
- getScore() - Method in class metdetection.voice.fromfile.FromFileVoiceSplittingModelState
-
- getShifted(double) - Method in class metdetection.meter.lpcfg.MetricalLpcfgHead
-
- getStartTick() - Method in class metdetection.time.TimeTrackerNode
-
Get the start tick of this node.
- getStartTime() - Method in class metdetection.time.TimeTrackerNode
-
Get the start time of this node.
- getSubBeatLength() - Method in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
-
Get the terminal length of this model.
- getSubBeatsPerBeat() - Method in class metdetection.meter.Measure
-
Get the number of sub-beats each beat of this measure
is divided into.
- getTactiPerMeasure() - Method in class metdetection.beat.BeatTrackingModelState
-
Get the number of tacti which are present in each measure of the Beats of this state.
- getTactiPerMeasure() - Method in class metdetection.beat.fromfile.FromFileBeatTrackingModelState
-
- getTactusNormalized(int, Beat, int, int) - Method in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
-
Get the tactus number as a beat index given some information about the Beats.
- getTempo() - Method in class metdetection.time.TimeTrackerNode
-
Get the Tempo of this node.
- getTerminal() - Method in interface metdetection.meter.lpcfg.MetricalLpcfgNode
-
Get the terminal at this level of the tree.
- getTerminal() - Method in class metdetection.meter.lpcfg.MetricalLpcfgNonterminal
-
- getTerminal() - Method in class metdetection.meter.lpcfg.MetricalLpcfgTerminal
-
- getTerminalLength() - Method in class metdetection.meter.lpcfg.MetricalLpcfgGenerator
-
Get the current terminal length.
- getTick() - Method in class metdetection.beat.Beat
-
Get this Beat's tick.
- getTickAtTime(long) - Method in class metdetection.time.TimeTracker
-
Gets the tick number at the given time, measured in microseconds.
- getTickAtTime(long, double) - Method in class metdetection.time.TimeTrackerNode
-
Get the tick number at the given time.
- getTime() - Method in class metdetection.beat.Beat
-
Get this Beat's time.
- getTimeAtTick(long) - Method in class metdetection.time.TimeTracker
-
Returns the time in microseconds of a given tick number.
- getTimeAtTick(long, double) - Method in class metdetection.time.TimeTrackerNode
-
Get the time at the given tick.
- getTimePerTick(double) - Method in class metdetection.time.TimeTrackerNode
-
Gets the amount of time, in microseconds, that passes between each tick.
- getTimeSignature() - Method in class metdetection.time.TimeTrackerNode
-
Get the TimeSignature of this node.
- getTotalCount(Collection<Integer>) - Static method in class metdetection.utils.SmoothingUtils
-
Get the sum of the counts in the given collection.
- getTransitionProbability(Measure, String, MetricalLpcfgHead, String, MetricalLpcfgNonterminal.MetricalLpcfgLevel) - Method in class metdetection.meter.lpcfg.MetricalLpcfgProbabilityTracker
-
Gets the probability p(transition | measure, type, headLength).
- getTransitionString() - Method in class metdetection.meter.lpcfg.MetricalLpcfgNonterminal
-
Get the transition String of this non-terminal.
- getTreeLogProbability(MetricalLpcfgTree) - Method in class metdetection.meter.lpcfg.MetricalLpcfg
-
Get the log probability that the given tree would occur in this grammar.
- getTrees() - Method in class metdetection.meter.lpcfg.MetricalLpcfg
-
Get the trees contained in this grammar.
- getTypeString() - Method in class metdetection.meter.lpcfg.MetricalLpcfgMeasure
-
Get the type String of this measure.
- getTypeString() - Method in class metdetection.meter.lpcfg.MetricalLpcfgNonterminal
-
Get the String of the type of this node.
- getVelocity() - Method in class metdetection.utils.MidiNote
-
Get the velocity of this note.
- getVoiceHypotheses() - Method in class metdetection.joint.JointModel
-
- getVoices() - Method in class metdetection.voice.fromfile.FromFileVoiceSplittingModelState
-
- getVoices() - Method in class metdetection.voice.VoiceSplittingModelState
-
Gets the Voices which are contained by this state currently.
- getVoiceState() - Method in class metdetection.beat.BeatTrackingModelState
-
Get the VoiceSplittingModelState which this beat tracker is based on.
- getVoiceState() - Method in class metdetection.joint.JointModelState
-
Get the VoiceSplittingModelState currently in this JointModelState.
- getVoiceState() - Method in class metdetection.meter.MetricalModelState
-
Get the VoiceSplittingModelState which this hierarchy is based on.
- goldStandard - Variable in class metdetection.parsing.KernEventParser
-
The gold standard voices from this song.
- goldStandard - Variable in class metdetection.parsing.MidiEventParser
-
The gold standard voices from this song.
- grammar - Variable in class metdetection.meter.lpcfg.MetricalLpcfgGenerator
-
The grammar which we are building.
- grammar - Variable in class metdetection.meter.lpcfg.MetricalLpcfgMetricalModelState
-
The grammar object we will use for probabilities.
- guessedVoice - Variable in class metdetection.utils.MidiNote
-
The index of the guessed voice of this note.