You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function "split_sequence_with_sentiment" is used to split sequences of annotations to create chunks with a length of 4. When the length of the complete sequence is not a multiple of 4, the remaining values are discarded.
When the MIDI is being split according to these annotation chunks, the discarded values are not taken into consideration, and this would cause a time-shift. When there are only negative or only positive values in a sequence, this is not a problem since the discarded values are at the end of each sequence. But when there are both positive and negative values within a sequence, the sequence is first split to include only positive or only negative values. The values are discarded from the end of these sub-sequences, and these locations are effectively in the middle of the complete sequence. This would certainly be a problem.
Please let me know if I'm missing something.
The text was updated successfully, but these errors were encountered:
The function "split_sequence_with_sentiment" is used to split sequences of annotations to create chunks with a length of 4. When the length of the complete sequence is not a multiple of 4, the remaining values are discarded.
When the MIDI is being split according to these annotation chunks, the discarded values are not taken into consideration, and this would cause a time-shift. When there are only negative or only positive values in a sequence, this is not a problem since the discarded values are at the end of each sequence. But when there are both positive and negative values within a sequence, the sequence is first split to include only positive or only negative values. The values are discarded from the end of these sub-sequences, and these locations are effectively in the middle of the complete sequence. This would certainly be a problem.
Please let me know if I'm missing something.
The text was updated successfully, but these errors were encountered: