Recent Releases of muspy
muspy - MusPy v0.5.0
Release Notes
Changes
- Add
BeatandBarlineclasses - Add
Music.trimandTrack.trimmethods - Add
Music.__delitem__andTrack.__delitem__methods - Add MuseScore supports for MSCX and MSCZ formats
- Enhance event representation module
- Use Zenodo link for MusicNet dataset (#70)
Changelog
https://github.com/salu133445/muspy/compare/v0.4.0...v0.5.0
- Python
Published by salu133445 almost 4 years ago
muspy - MusPy v0.4.0
MusPy v0.4.0 Release Notes
Classes
- Add
strictandcastoptions toBase.from_dict - Add
Base.fix_typefor fixing invalid types - Fix
Base.remove_duplicate(#46) Baseclass is now hashable with__hash__implementedBaseclass is now sortable with__lt__and__gt__implemented- Fix
Annotationattributes and types (#44)
I/O Interfaces
- Add performance and REMI event representations (#63)
- Enhance MusicXML input (lyrics, grace notes, repeats, jumps)
- Enhance MIDI input interface (control change messages) (#43)
- Fix key signature reading issues in music21 input interface
- Fix low volume of synthesized audio (#60)
- Handle NumPy types in event representation interface (#48)
Datasets
- Add EMOPIA dataset (#64)
- Add MAESTRO V3 dataset
- Enhance
download_and_extract(#34) - TensorFlow and PyTorch will now be imported only when they are called (#42)
- Support compressed files in MusicDataset (#59)
Beat Support
- Add
Beatclass - Add
Music.infer_beatsandmuspy.infer_beats - Support beats in music21 input interface
Changelog
https://github.com/salu133445/muspy/compare/v0.3.0...v0.4.0
- Python
Published by salu133445 over 4 years ago
muspy - MusPy v0.3.0
MusPy v0.3.0 Release Notes
Classes
- Fix unintended print in
Base.adjust_time(#14) - Add method
ComplexBase.extend(#33) - Add argument
deepcopytoBase.to_ordered_dict(#33) - Implement
Base.__deepcopy__to speed up deep copying (#33) - Implement
ComplexBase.__add__andComplexBase.__iadd__to support+and+=operators (#33) - Create deep copies in
Base.to_ordered_dictby default (#33)
JSON/YAML Interfaces
- Add argument
compressedtoload,load_json,load_yaml,save,save_jsonandsave_yaml(#36, #39) - Rename argument
skip_nonetoskip_missinginBase.to_ordered_dict,Base.pretty_str,Base.print,save_jsonandsave_yaml - Support file object in
load,load_json,load_yaml,save,save_jsonandsave_yaml(#39) - Use default flow style in YAML dumper
- Use UTF-8 by default in JSON/YAML interfaces
MIDI Interfaces
- Enhance MIDI I/O with pretty_midi backend (#41)
- Increment channel number for each track in
write_midi_mido(#40) - Change argument
use_note_on_as_note_offtouse_note_off_messageinwrite_midi_midoandto_mido
Datasets
- Add datasets
HaydnOp20Dataset(#13) andMusicNetDataset - Add argument
overwritetoDataset.downloadandDataset.download_and_extract(#34) - Add argument
verbosetoDataset.save,Dataset.download,Dataset.extract,Dataset.download_and_extract,RemoteDataset.__init__,FolderDataset.__init__,RemoteFolderDataset.__init__,RemoteMusicDataset.__init__andRemoteABCFolderDataset.__init__ - Support sha256 hash check in
datasets.utils.download_url - Support xz files in
datasets.utils.extract_archives - Create dataset root if not exists (#16, #34)
Other changes
- Fix several bugs in event representation (#15, #21, #22, #23, #24, #25)
- Fix
Note.adjust_timeto adjust end time, not duration (#37) - Add functions
from_music21_part,from_music21_scoreandfrom_pypianoroll_track - Support different key specifications in
outputs.music21.to_music21_key - Support parsing velocities in Music21 input
read_abcandread_abc_stringnow return either a music object or a list of music objects
- Python
Published by salu133445 about 5 years ago
muspy - MusPy v0.2.0
- Fix key signature reading in
muspy.from_mido(#5) - Fix time overflow issue in note representation (change default dtype from uint8 to int) (#8, #9)
- Fix music21 parsing in
muspy.inputs.music21.parse_key_signaturesandmuspy.inputs.music21.from_music21_part(#10, #11, #12) - Fix several bugs in base class methods (
muspy.Base.to_ordered_dict,muspy.Base.validate,muspy.Base.validate_type,muspy.Base.adjust_timeandmuspy.ComplexBase.remove_invalid) - Rename argument
targettokindinmuspy.to_object - Swap ordering of arguments
durationandpitchinmuspy.Noteandmuspy.Chord - Swap ordering of features
durationandpitchin note representation (muspy.to_event_representationandmuspy.from_event_representation) - Add method
to_midotomuspy.Music - Add argument
roundingtomuspy.Music.adjust_resolution - Add argument
dtypetomuspy.to_event_representation - Add argument
encode_velocityto event representation (affectmuspy.to_event_representationandmuspy.from_event_representation) - Add argument
recursivetomuspy.Base.validate,muspy.Base.is_valid,muspy.Base.validate_type,muspy.Base.is_valid_typeandmuspy.Base.adjust_time - Add argument
skip_nonetomuspy.Base.print - Upgrade Pypianoroll version to 1.0.0
- Python
Published by salu133445 over 5 years ago
muspy - MusPy v0.1.0
- Fix name of
Chord.pitches_str(#3, 536a877) and types ofMetadata.creatorsandMusic.downbeats(ed2ed1f) - Fix method
_validate()ofTimeSignature,NoteandChord(3504be3, ed2ed1f) - Add wrapper functions
list_datasets()andget_dataset()for datasets (9aacae0) - Improve
Base(121e718) andDataset(2f24836) - Make velocity attributes optional in
NoteandChord(3504be3) - Make ignore_exception in
Dataset.convert()default to True (3504be3) - Update dataset information (67fc563) and their md5/sha256 checksums (5821827)
- Python
Published by salu133445 over 5 years ago