MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

{midiblender} is now up on my github.

It's the beginnings of an package for experimental mangling of files. TBH, it's my personal experimental hacky-code base wrapped in R package clothing. I'm messing with it constantly, and sharing in case others are interested.

Will it blend? 🤷‍♂️

https://www.crumplab.com/midiblender/

MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

A quick shout out to @urswilke whose {pyramidi} package was extremely helpful in getting up and started with MIDI in

{midiblender} relies on {pyrmadi} (and the wrapped python packages miditapyr and mido) to import and export MIDI.

MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

{midiblender} functions might become stable and useful for others down the line. Right now, I'm using the R package skeleton as a way to bring clarity to my own coding explorations, and sharing as I go.

This "getting started" vignette might have enough breadcrumbs to follow along.

https://www.crumplab.com/midiblender/articles/Getting_started.html

MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

Otherwise, my plan is to continue posting code and such from MIDI mangling experiments on my music blog, and slowly firm up {midiblender} along the way.

https://homophony.quest/notes.html

While putting the package together I realized I had some neat ideas about incrementally filtering MIDI based on expectations for note probability from corpus calculations, so that's the theme for the next post. Will it blend? I hope so.

urswilke,
@urswilke@fosstodon.org avatar

Thank you so much for the shout out @MattCrumpLab !

Soo nice to see you doing all these things with midi in R. I'm really happy to have contributed to your adventures and feel honoured that you dived so deeply into my packages.

I meant to write much earlier, but every time I looked back at your posts you had already produced new things and I wanted to catch up first. Really love the energy how you write about your journeys on your blog. Seeing this new package now is truly amazing! Congrats!!

MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

@urswilke Well thank you again, and cheers to more mangling in !

urswilke,
@urswilke@fosstodon.org avatar

@MattCrumpLab ❤️

transportationtalk,
@transportationtalk@fosstodon.org avatar

@MattCrumpLab This looks really interesting. Would it be possible to map the midi dataframe values to other dataframes e.g., road lengths? Then synchronize the animation of a road network drawing with the blended midi file?

MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

@transportationtalk Sounds possible. If each data frame had a column designating interval values that you want to line up, then you should be able to perform a join and merge them.

https://dplyr.tidyverse.org/reference/mutate-joins.html

transportationtalk,
@transportationtalk@fosstodon.org avatar

@MattCrumpLab I'll try that, thanks.

ElenLeFoll,
@ElenLeFoll@fediscience.org avatar

@MattCrumpLab Awesome stuff! And just in time to answer my partner's latest question: "is there anything that cannot do?" (asked in response to my excitement this evening about making websites using )

MattCrumpLab,
@MattCrumpLab@fosstodon.org avatar

@ElenLeFoll Thanks, and {knitr} etc. and now has been a total game changer for me. Websites galore!

Plus, I think if I keep noodling with {midiblender} I might accidentally push it out of hobby land into territory, which should be even more fun!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • khanakhh
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • ethstaker
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • megavids
  • GTA5RPClips
  • Durango
  • normalnudes
  • cubers
  • tacticalgear
  • cisconetworking
  • tester
  • modclub
  • provamag3
  • anitta
  • Leos
  • JUstTest
  • lostlight
  • All magazines