Skip to content

refactor midi_to_object() to allow setting of ticks_per_beat #3

Description

@CrumpLab

midi_to_object() could be refactored to allow setting of ticks_per_beat.

Suggestion to use pyramidi::MidiFramer$new()

#Initialize new pyramidi object
new_pyramidi_object <- pyramidi::MidiFramer$new()
# update ticks per beat
new_pyramidi_object$ticks_per_beat <- 96L

Then, import a midi file into the MidiFramer object. This should allow the ticks_per_beat to be set, and updated across the internal elements.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions