Package: pyramidi 0.2.1
pyramidi: Generate and Manipulate Midi Data in R Data Frames
Import the python libraries miditapyr and mido to read in midi file data in pandas DataFrames. These can then be imported in R via reticulate. The event-based midi data is widened to facilitate the manipulation and plotting of note-based structures as in music21. The data frame format allows for an easy implementation of many music data manipulations.
Authors:
pyramidi_0.2.1.tar.gz
pyramidi_0.2.1.zip(r-4.5)pyramidi_0.2.1.zip(r-4.4)pyramidi_0.2.1.zip(r-4.3)
pyramidi_0.2.1.tgz(r-4.4-any)pyramidi_0.2.1.tgz(r-4.3-any)
pyramidi_0.2.1.tar.gz(r-4.5-noble)pyramidi_0.2.1.tar.gz(r-4.4-noble)
pyramidi_0.2.1.tgz(r-4.4-emscripten)pyramidi_0.2.1.tgz(r-4.3-emscripten)
pyramidi.pdf |pyramidi.html✨
pyramidi/json (API)
# Install 'pyramidi' in R: |
install.packages('pyramidi', repos = c('https://urswilke.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/urswilke/pyramidi/issues
- midi_defs - Table of midi notes
- piano_keys_coordinates - Table of piano keys coordinates
Last updated 9 months agofrom:4ee6ee9b32. Checks:ERROR: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | FAIL | Oct 31 2024 |
R-4.5-win | ERROR | Oct 31 2024 |
R-4.5-linux | ERROR | Oct 31 2024 |
R-4.4-win | ERROR | Oct 31 2024 |
R-4.4-mac | ERROR | Oct 31 2024 |
R-4.3-win | ERROR | Oct 31 2024 |
R-4.3-mac | ERROR | Oct 31 2024 |
Exports:%>%install_miditapyrmerge_midi_framesMidiFramermiditapyrmidopivot_long_notespivot_wide_notesplayersplit_midi_frametab_measures
Dependencies:askpassavbase64encclicliprcpp11curldescdetailsdigestdplyrevaluatefansifastmapfluidsynthgenericsglueherehighrhtmltoolshttrjsonliteknitrlatticelifecyclemagrittrMatrixmimeopensslpillarpkgconfigpngpurrrR6rappdirsRcppRcppTOMLreticulaterlangrprojrootstringistringrsystibbletidyrtidyselectutf8vctrswithrxfunxml2yamlzeallot
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Install miditapyr python package | install_miditapyr |
Merge dataframes transformed back to long format | merge_midi_frames |
Table of midi notes | midi_defs |
MidiFramer class | MidiFramer |
Miditapyr python module | miditapyr |
Mido python module | mido |
Table of piano keys coordinates | piano_keys_coordinates |
Write 'note_on' and 'note_off' events in two lines (wide to long) | pivot_long_notes |
Write 'note_on' and 'note_off' events in the same line (long to wide) | pivot_wide_notes |
Play midi file | player |
Split unnested midi dataframe into parts | split_midi_frame |
Tabulate measure related data in the midi event data | tab_measures |