note-map->note-vec function