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

Clef feature #382

Merged
merged 28 commits into from
Oct 25, 2024
Merged

Clef feature #382

merged 28 commits into from
Oct 25, 2024

Conversation

sildater
Copy link
Member

@sildater sildater commented Oct 2, 2024

added a simple note feature encoding the currently active clef by sign, line, and octave change.

@manoskary manoskary self-requested a review October 2, 2024 08:20
@sildater sildater linked an issue Oct 2, 2024 that may be closed by this pull request
tests/test_clef.py Outdated Show resolved Hide resolved
Copy link
Member

@manoskary manoskary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice addition, this would be a very useful feature, there are a couple of comments that need to be addressed before merging this PR.

partitura/musicanalysis/note_features.py Outdated Show resolved Hide resolved
Copy link
Member

@manoskary manoskary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR adresses a Clef feature within note features, it also corrects a number of vulnerabilities at other note_features dependent on the notes_tied instead of the note_array, To ensure correct order a remapping was proposed using a dictionary with note ids, however there is a small comment regarding the uniqueness of note ids.

partitura/musicanalysis/note_features.py Show resolved Hide resolved
@manoskary manoskary merged commit 1376edc into develop Oct 25, 2024
3 checks passed
@sildater sildater mentioned this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: add a clef_map
2 participants