properly convert all pitches to an array and save them to the pitches collection