This is an interactive music ear training game designed to help you practice identifying musical intervals. Here’s how it works:

Game Features

◼
  • Select Interval Range: You can choose which intervals you want to practice from a list (minor 2nd through perfect 8th).
  • ◼
  • Listening Exercise: When you click the “Start/Next Question” button, the game plays two notes that form one of your selected intervals.
  • ◼
  • Multiple Playback Modes: You can set whether intervals are played, the game will choose randomly when multiple modes are selected:
    - Ascending (lower note then higher note)
    - Descending (higher note then lower note)
    - Harmonic (both notes simultaneously)
  • ◼
  • Interactive Piano Keyboard: The game displays a visual piano keyboard where you can:
    - See the played notes highlighted on the keyboard
    - Click on any piano key to hear that specific note
  • ◼
  • Make Your Guess: After listening to the interval, click on one of the interval buttons to submit your guess. The game immediately tells you if your answer is correct or incorrect and reveals the right answer.
  • In[]:=
    Out[]=
    "♪ Interval Identification Game ♪"
    "Select intervals: "
    "Minor 2nd(m2)(1)"
    "Major 2nd(M2)(2)"
    "Minor 3rd(m3)(3)"
    "Major 3rd(M3)(4)"
    "Perfect 4th(P4)(5)"
    "Augmented 4th/Diminished 5th(A4/d5)(6)"
    "Perfect 5th(P5)(7)"
    "Minor 6th(m6)(8)"
    "Major 6th(M6)(9)"
    "Minor 7th(m7)(10)"
    "Major 7th(M7)(11)"
    "Perfect 8th(P8)(12)"
    "Time interval: "
    0.6
    "Direction: "
    "Ascending"
    "Descending"
    "Harmonic"
    " "
    Start/Next Question
    " "
    Replay
    " "
    Show Correct Answer
    "Your guess: "
    Minor 2nd(m2)(1)
    Major 2nd(M2)(2)
    Minor 3rd(m3)(3)
    Major 3rd(M3)(4)
    Perfect 4th(P4)(5)
    Augmented 4th/Diminished 5th(A4/d5)(6)
    Perfect 5th(P5)(7)
    Minor 6th(m6)(8)
    Major 6th(M6)(9)
    Minor 7th(m7)(10)
    Major 7th(M7)(11)
    Perfect 8th(P8)(12)
    "Playback direction: "
    "Ascending"
    "Descending"
    "Harmonic"
    "Play interval: "
    Minor 2nd(m2)(1)
    Major 2nd(M2)(2)
    Minor 3rd(m3)(3)
    Major 3rd(M3)(4)
    Perfect 4th(P4)(5)
    Augmented 4th/Diminished 5th(A4/d5)(6)
    Perfect 5th(P5)(7)
    Minor 6th(m6)(8)
    Major 6th(M6)(9)
    Minor 7th(m7)(10)
    Major 7th(M7)(11)
    Perfect 8th(P8)(12)
    "Correct! The answer is: Major 2nd(M2)(2)"
    "The two notes in this interval are: G#6 and A#6"

    CITE THIS NOTEBOOK

    Musical interval identification game​
    by QiuHao Chen​
    Wolfram Community, STAFF PICKS, March 29, 2025
    ​https://community.wolfram.com/groups/-/m/t/3434485