Skip to content

Release 1.3.1#288

Merged
sildater merged 38 commits intomainfrom
develop
Jul 7, 2023
Merged

Release 1.3.1#288
sildater merged 38 commits intomainfrom
develop

Conversation

@sildater
Copy link
Member

@sildater sildater commented Jul 5, 2023

Release 1.3.1

Targeted release date: 2023-07-05

New Features

  • (Partial) match note ID validation.
  • Normalization module and (partial) normalization defaults for note and performance features.

Bug Fixes

Other Changes

  • Encoding of Dynamic Score Markings in note feature arrays changed to a simple ramp from 0 to 1, starting at the start position of the marking and ending at the end.
  • Refactor all alignment-related processing to performance_codec.

manoskary and others added 30 commits June 13, 2023 18:01
Correcting action error.
testing removing the error on branch argument
Switched the path to only the /partitura/partitura
…match file import with minor complexity addition.
update note feature extraction for dynamic features
previous epsilon was flushed to zero, so the final duration was zero, leading to nan tempos.
gracefully deal with final notes that happen to be grace notes in `get_unique_seq`
…ning), inlcuded test by duplicating line on match file.
Add method for MatchFile validation
`compute_matched_score` returns all basic performance features (bp, timing, articulation, velocity)
`make_note_features` with `force_fixed_size = True` skips metrical features for consistent shape.
`compute_matched_score` returns all basic performance features (bp, timing, articulation, velocity)
`make_note_features` with `force_fixed_size = True` skips metrical and time signature features for consistent array shape.
manoskary
manoskary previously approved these changes Jul 5, 2023
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 addresses Validation of Match Files, some normalization utilities, and minor bug fixes. A lot of files are edited because the blacken pipeline has been updated and applied on the develop branch.

manoskary
manoskary previously approved these changes Jul 5, 2023
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.

fixes issue #289

Copy link
Member

@CarlosCancino-Chacon CarlosCancino-Chacon left a comment

Choose a reason for hiding this comment

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

The pull request looks quite ok, but it took a little bit longer to sort out through all of the changes due to blacken (I hope I did not miss anything 😉).

There are two really minor comments (about a potential optimization of a couple of lines), which can be safely ignored.

@sildater sildater dismissed stale reviews from CarlosCancino-Chacon and manoskary via 36450da July 5, 2023 18:00
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 80.62% and project coverage change: +0.03 🎉

Comparison is base (ef54c5a) 85.33% compared to head (36450da) 85.36%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #288      +/-   ##
==========================================
+ Coverage   85.33%   85.36%   +0.03%     
==========================================
  Files          79       79              
  Lines       13561    13590      +29     
==========================================
+ Hits        11572    11601      +29     
  Misses       1989     1989              
Impacted Files Coverage Δ
partitura/display.py 28.81% <ø> (ø)
partitura/io/exportmusicxml.py 68.97% <0.00%> (ø)
partitura/io/exportparangonada.py 90.78% <ø> (ø)
partitura/io/importmei.py 95.62% <ø> (ø)
partitura/io/importmidi.py 83.94% <ø> (ø)
partitura/io/importmusic21.py 94.25% <ø> (ø)
partitura/io/importmusicxml.py 79.57% <ø> (ø)
partitura/io/importparangonada.py 96.61% <ø> (ø)
partitura/io/matchfile_base.py 95.65% <ø> (ø)
partitura/io/matchfile_utils.py 97.45% <ø> (ø)
... and 23 more

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sildater sildater merged commit 81d1884 into main Jul 7, 2023
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.

4 participants