Modifier and Type | Method and Description |
---|---|
abstract java.util.TreeSet<? extends BeatTrackingModelState> |
BeatTrackingModelState.handleIncoming(java.util.List<MidiNote> notes) |
Modifier and Type | Method and Description |
---|---|
java.util.TreeSet<FromFileBeatTrackingModelState> |
FromFileBeatTrackingModelState.handleIncoming(java.util.List<MidiNote> notes) |
Modifier and Type | Method and Description |
---|---|
abstract java.util.TreeSet<? extends MidiModelState> |
MidiModelState.handleIncoming(java.util.List<MidiNote> notes)
Return a TreeSet of all of the possible MidiModelStates which we could tansition into
given the List of MidiNotes.
|
abstract void |
MidiModel.handleIncoming(java.util.List<MidiNote> notes)
This method takes as input some List of MidiNotes, and then does some work on
the notes, updating its list of hypotheses in the process.
|
Modifier and Type | Method and Description |
---|---|
java.util.TreeSet<JointModelState> |
JointModelState.handleIncoming(java.util.List<MidiNote> notes) |
void |
JointModel.handleIncoming(java.util.List<MidiNote> notes) |
Modifier and Type | Method and Description |
---|---|
abstract java.util.TreeSet<? extends MetricalModelState> |
MetricalModelState.handleIncoming(java.util.List<MidiNote> notes) |
Modifier and Type | Method and Description |
---|---|
java.util.TreeSet<FromFileMetricalModelState> |
FromFileMetricalModelState.handleIncoming(java.util.List<MidiNote> notes) |
Modifier and Type | Field and Description |
---|---|
private java.util.Queue<MidiNote> |
MetricalLpcfgMetricalModelState.notesToCheck
Notes which we have yet to check for beat and sub beat matches.
|
private java.util.List<java.util.LinkedList<MidiNote>> |
MetricalLpcfgMetricalModelState.notesToCheckBeats
A List of a Queue per voice of notes to check for beat matching.
|
private java.util.List<java.util.LinkedList<MidiNote>> |
MetricalLpcfgMetricalModelState.unfinishedNotes
A List of any notes which have not yet been completely added to a Tree, divided by voice.
|
Modifier and Type | Method and Description |
---|---|
private void |
MetricalLpcfgGenerator.addNote(MidiNote note,
java.util.List<Beat> beats,
MetricalLpcfgQuantum[][] quantums,
int[] notes32PerMeasure)
Add the given note into our tracking arrays.
|
private static void |
MetricalLpcfgTreeFactory.addNote(MidiNote note,
MetricalLpcfgQuantum[] quantums,
java.util.List<Beat> beats,
int firstBeatIndex,
int lastBeatIndex)
Add the given note into the given quantums array.
|
private void |
MetricalLpcfgMetricalModelState.updateMatchType(MidiNote note)
Update the current match type for the given note.
|
Modifier and Type | Method and Description |
---|---|
private void |
MetricalLpcfgMetricalModelState.addNewVoices(java.util.List<MidiNote> notes)
Add new voices into our tracking list
MetricalLpcfgMetricalModelState.unfinishedNotes . |
private boolean |
MetricalLpcfgMetricalModelState.checkConglomerateBeatMatch(java.util.LinkedList<MidiNote> voiceNotes)
Check for a conglomerate beat match.
|
java.util.TreeSet<MetricalLpcfgMetricalModelState> |
MetricalLpcfgMetricalModelState.handleIncoming(java.util.List<MidiNote> notes) |
static MetricalLpcfgTree |
MetricalLpcfgTreeFactory.makeTree(java.util.List<MidiNote> notes,
java.util.List<Beat> beats,
Measure measure,
int subBeatLength,
int anacrusisLengthSubBeats,
int measureNum)
Make a new tree based on a List of MidiNotes.
|
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedList<MidiNote> |
NoteListGenerator.activeNotes
A list of the MidiNotes which have not yet been closed.
|
private java.util.List<MidiNote> |
NoteListGenerator.completedNotes
A list of MidiNotes which have already been closed.
|
private java.util.List<java.util.List<MidiNote>> |
MidiEventParser.goldStandard
The gold standard voices from this song.
|
private java.util.List<java.util.List<MidiNote>> |
KernEventParser.goldStandard
The gold standard voices from this song.
|
Modifier and Type | Method and Description |
---|---|
MidiNote |
QuantisationMeter.noteOn(int key,
int velocity,
long tick,
int channel) |
MidiNote |
NoteListGenerator.noteOn(int key,
int velocity,
long tick,
int channel) |
MidiNote |
NoteEventParser.noteOn(int key,
int velocity,
long tick,
int channel)
Process a Note On event.
|
MidiNote |
DummyNoteEventParser.noteOn(int key,
int velocity,
long tick,
int channel) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.List<MidiNote>> |
MidiEventParser.getGoldStandardVoices()
Get a List of the gold standard voices from this song.
|
java.util.List<java.util.List<MidiNote>> |
KernEventParser.getGoldStandardVoices()
Get a List of the gold standard voices from this song.
|
java.util.List<java.util.List<MidiNote>> |
EventParser.getGoldStandardVoices()
Get a List of the gold standard voices from this song.
|
java.util.List<java.util.List<MidiNote>> |
NoteListGenerator.getIncomingLists()
Returns a List of the incoming note lists.
|
java.util.List<MidiNote> |
NoteListGenerator.getNoteList()
Returns a list of the notes present in this song, in time order.
|
Modifier and Type | Method and Description |
---|---|
void |
MidiWriter.addMidiNote(MidiNote note)
Add the given MidiNote into the
MidiWriter.sequence . |
Modifier and Type | Method and Description |
---|---|
double |
TimeTracker.getQuantizationError(MidiNote note,
int divisions)
Get the quantization error of the given note, with the given number of divisions
per quarter note.
|
Modifier and Type | Method and Description |
---|---|
int |
MidiNote.compareTo(MidiNote o) |
boolean |
MidiNote.overlaps(MidiNote other)
Return whether this note overlaps another MidiNote in time.
|
Modifier and Type | Field and Description |
---|---|
private MidiNote |
Voice.mostRecentNote
The most recent note of this voice.
|
Modifier and Type | Method and Description |
---|---|
MidiNote |
Voice.getMostRecentNote()
Get the most recent note in this voice.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<MidiNote> |
Voice.getNotes()
Get the List of notes which this node is the tail of, in chronological order.
|
Modifier and Type | Method and Description |
---|---|
int |
Voice.getNumLinksCorrect(java.util.List<java.util.List<MidiNote>> goldStandard)
Get the number of links in this Voice which are correct.
|
abstract java.util.TreeSet<? extends VoiceSplittingModelState> |
VoiceSplittingModelState.handleIncoming(java.util.List<MidiNote> notes) |
Constructor and Description |
---|
Voice(MidiNote note)
Create a new Voice.
|
Voice(MidiNote note,
Voice prev)
Create a new Voice with the given previous voice.
|
Modifier and Type | Method and Description |
---|---|
java.util.TreeSet<FromFileVoiceSplittingModelState> |
FromFileVoiceSplittingModelState.handleIncoming(java.util.List<MidiNote> notes) |
void |
FromFileVoiceSplittingModel.handleIncoming(java.util.List<MidiNote> notes) |