christofmuc / KnobKraft-orm

The KnobKraft Orm - The free modern cross-platform MIDI Sysex Librarian
GNU Affero General Public License v3.0
184 stars 23 forks source link

Adaptations should be able to implement custom type detection #286

Open christofmuc opened 8 months ago

christofmuc commented 8 months ago

The meta data field type currently only works for C++ synths implementing the data type protocol. We could make a simple call like

def typeOfPatch(messages) -> str: ...

to have the adaptation to calculate the type for display. This is useful for debugging, but can also help to differentiate different patch versions etc. Think Roland with their JV-80, JV-90, JV-1080, XV-3050 etc types. Or Access Virus A, B, C.

Additionally, we could make a generic "createUserComment" function that is used to prepopuate the new comment field (see #71).