AlignmentDuration
AlignmentDuration copied to clipboard
Lyrics-to-audio-alignement system. Based on Machine Learning Algorithms: Hidden Markov Models with Viterbi forced alignment. The alignment is explicitly aware of durations of musical notes. The phon...
# TODO: could be done weasier with this code, and check last method in Word # grTruthWordList = testT(decoder.lyricsWithModels)
as well LyricsWithModels.LyricsWithModels.printWordsAndStates and LyricsWithModels.LyricsWithModels.printWordsAndStatesAndDurations can take code from LyricsParsing.expandlyrics2WordList.
make SymbTrParser and maybe MakamScore inherit form AlignmentStep.*
e.g. printWordsAndStatesAndDurations and phoneteme2StatesNetwork. Put this repeating logic as a helper method in LyricParsing
for getRefDurations : expandlyrics2WordList for decoded done with other code. unify these two. solve together with HARD CODED bug
EXAMPLE : /Users/joro/Documents/Phd/UPF//ISTANBUL//barbaros/02_Gel_9_nakarat2.scoreDeviation this is a problem for evaluation Accuracy:: For now WORKAROUD in AccuracyEvaluator.calcCorrect currEndDetected = finallTsAnno logging.warn("currEndDetected > finallTsAnno") REASON: Munir nurretim makes shorter some notes? ??
in function detectedAlignedfileName = mlf2TabFormat(detectedWordList, URIrecordingNoExt, tokenLevelAlignedSuffix)
in line 117 of AlignmentStep.Aligner() there is different num arguments. problem triggered by outputHTKPhoneAlignedURI = Aligner.alignOnechunk(MODEL_URI, URIrecordingWav, lyrics, URIrecordingAnno, '/tmp/', withSynthesis) in AlignmentDuration.alignOneChunk()