Note Type Mapping
Last updated
Last updated
For the system to know which note prefab to use (tap, long press, swipe), we have to define a mapping for them.
Note prefab
A list of prefabs definition and size of the pool need to pre-spawn for each of the note objects, however you can disable object pooling in the TrackManager
Mapping
In this example, we distinguish different types of note by its octave, so we can define different types of note in one single midi file.
It's interesting that different DAW handles the root octave differently
The same midi file
There are options for you to set the reference root octave,
so that the mapping matches what you see in your midi editing software