Skip to content

stream-based interface #32

Open
Open
@ssfrr

Description

@ssfrr

I think that a stream-based API would work well for MIDI, and would work for both file I/O and reading/writing from devices.

Related to #31, loading a MIDI file (or connecting to a MIDI device) would give you a MIDIStream, from which you could read/write vectors of MIDIEvents

One question is how to handle multi-track files. I'm not sure whether it makes more sense to have them be separate streams, or whether the MIDIEvents should just have a track ID as a field.

Right now I'm just spit-balling some ideas, so feel free to ignore (of course). Sometime in the next few weeks I'm actually hoping to interface with some MIDI hardware, so I'll be able to contribute some PRs then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions