strummachine / sm-audiokit

0 stars 0 forks source link

Dec 2 refactoring #2

Closed banjerluke closed 2 years ago

banjerluke commented 2 years ago

This started with me seeing if I could quickly add some code to grab the duration of the extracted MP3 files (which I can and have done).

I kept getting confused, and then realized that the AudioPackage struct actually represents a single sample and not the entire audiopackage, so I started to rename that but ended up just using the existing Sample struct instead... which was full of old, irrelevant code, which I deleted... then in getting the program running again I updated names in various places and also deleted more old irrelevant code... the ol' refactoring snowball...

Hopefully it's overall helpful and doesn't get in your way!