AlignmentDuration icon indicating copy to clipboard operation
AlignmentDuration copied to clipboard

when WITH_SHORT_PAUSES = 1

Open georgid opened this issue 9 years ago • 1 comments

we got error: last state for word SAZ is not sp. Sorry - not implemented.

The problem is it is that I removed sp from SAZ so that it is not sil sp but sil.

georgid avatar Oct 26 '16 14:10 georgid

remove align._PhonemeBase.PhonemeBase.getNumStates and replace by return 1

move this logic ```

   stateIndices = range( phoneme.getNumStates())   
        if ParametersAlgo.ONLY_MIDDLE_STATE and len(phoneme.model.states) == 3: # take only middle state. 1 is middle in 0,1,2
                 stateIndices = [1]

from align._LyricsWithModelsBase._LyricsWithModelsBase._phonemes2stateNetwork
to align._LyricsWithModelsBase._LyricsWithModelsBase._createStateWithDur

georgid avatar Oct 26 '16 14:10 georgid