Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIDI Data Representation #77

Open
tap opened this issue Dec 31, 2015 · 1 comment
Open

MIDI Data Representation #77

tap opened this issue Dec 31, 2015 · 1 comment

Comments

@tap
Copy link
Member

tap commented Dec 31, 2015

How should we represent MIDI data?

One thing is clear: we should represent it atomically (all bytes bundled together) rather than as a steam like the Max midiin object.

In Jamoma1 we use dictionaries. It's a little hard to tell if this is too heavy-handed or it just feels that way because the dictionary implementation in JamomaGraph is so poor.

We could have a bunch of types for different MIDI events. Or just a "midievent" type that is a std::array<int>?

One place we could start is thinking about the use cases:

  • Midi input driving a synth in a C++ coded app
  • Midi input for mapping (and learning mappings) in Jamoma Modular
  • Feeding VST plug-in

Is there anything we can learn from the Max/Pd/SuperCollider implementations?

Thoughts from @lossius , @nwolek , or @Nilson ?

@tap
Copy link
Member Author

tap commented Feb 10, 2016

Another approach is to not represent "MIDI" data at all. Instead we have our own "note" data format and MIDI gets converted into (or out of) it. This abstracts the thing we are trying to represent from the transport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant