This example shows a way to use the table object as a “lookup table” to play either a major or minor scale via the noteout object.