Skip to content

midi event constructor seems to be busted #51

@jmckernon

Description

@jmckernon

Constructing a midi event seems not to work when a data table is explicitly passed in. At the interactive console:

midi.Event(0, 3) -- returns cdata<struct MidiEvent>, ok
midi.Event(0, 3, {0x90, 0x30, 0x7f}) -- seems to return nothing, not even nil

Not a show-stopper as the bytes can be manually set, but it is confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions