This is a demo of creating custom block fields. In this case the field is used to select a note pitch.

→ More info on creating a custom field