Musical Variables: Modes and Instruments

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
  • 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


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


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.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+