Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment and Export Performed Part into Multiple MIDI Files #438

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

C-Suhit
Copy link
Collaborator

@C-Suhit C-Suhit commented Mar 2, 2025

This function allows users to segment a given Performed Part into multiple Performed Parts based on a given 'gap' time in seconds. The function looks for the note indices where there exists the given gap time between every 'note_on' value and the previous note's 'note_off' value. It splits the performed part at that position, and exports such segments into a new midi file, given an output directory path.

@C-Suhit C-Suhit added the enhancement New feature or request label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant