Musical Variables: Modes and Instruments

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Changing the mode or instrument for a tune can affect how it is perceived. This Demonstration offers seven different modes, several instruments, different starting notes, and varying tempos. Additionally, there is a "random" button that randomly selects different options for each variable when clicked, so that you can easily create new listening experiences with the click of a button.

Contributed by: Berwin Xie and Kevin Krout (June 2013)
Based on a program by: John Kiehl
Special thanks to: the University of Illinois NetMath Program and the Mathematics Department at William Fremd High School

Open content licensed under CC BY-NC-SA



Modes in music are determined by the semitones (the distance between notes) of the music. If you imagine a piano keyboard, every key is a semitone different from the ones next to it. The Ionian mode, or major mode, is the basic and most common mode. It has an interval sequence of 2-2-1-2-2-2-1, where the numbers are the number of semitones between consecutive notes in the scale of the piece. Deviating from the more consonant Ionian mode by changing the relations between the scale notes makes pieces sound very different; for example, "Good Morning to You" sounds much darker when it is in the Locrian mode.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.