A python package for handling modern staff notation of music
doc_order
for sorting notes in the matchfile_from_alignment
function if it is not present. This propriety is only present in parts from musicxml scores and previously resulted in an exception for other score formats. This solves https://github.com/CPJKU/partitura/issues/326
MatchSnoteTrailingScore
and MatchSnoteNoPlayedNote
were always marked as MatchSnoteDeletion
and MatchHammerBounceNote
, MatchTrailingPlayedNote
, MatchTrillNote
always ended up as MatchInsertionNote
. This solves https://github.com/CPJKU/partitura/issues/286
None
in the output.load_score
auto-selects parser based on file typeScore
object for capturing meta informationgrace
, voice_overlap
)tempo_indication
score property line in matchfile exportThis PR addresses release 1.3.0, it includes several bug fixes, code cleaning, documentation, and new functionality.
partitura.musicanalysis.make_performance_features(score, performance, alignment, feature_functions)
;partitura.musicanalysis.make_note_features(score, force_fixed_size=True)
partitura.musicanalysis.note_array_to_score(note_array)
;partitura.load_music21(m21_score)
partitura.utils.music.tokenize(score_data, tokenizer)
Release date: 2023-02-09
This is an minor update with bug fixes.
Release date: 2022-12-01
This is an update with new features including I/O support of the newly released match file format version 1.0.0 (and all prior versions).
New features:
Bug fixes:
Other changes:
Release date: 2022-10-04
This is a major update with some new features including sonification of score and performance, and meter estimation
performance_codec
encode to combine with onsetwise_to_notewise
and notewise_to_onsetwise
functions.Release date: 2022-09-20
This is a major update with several new features including import from kern and mei, note features, performance codec, new score class, and more.
__call__
for note_array
attribute (in Score
, Part
, PerformedPart
and PartGroup
). note_array
is now called as a method with brackets. One can specify additional fields for the note array such as key, pitch spelling, time signature, and others.Score
object where each part can be accessed individually.partitura.utils.make_note_features(part)
.part.measures()
, part.use_musical_beat()
, and others.partitura.score.merge_parts([p1, p2, ...])
.load_score
function.ensure_note_array
now works even with parts with different divs.