Ask any question about EPFL courses, lectures, exercises, research, news, etc. or try the example questions below.
DISCLAIMER: The Graph Chatbot is not programmed to provide explicit or categorical answers to your questions. Rather, it transforms your questions into API requests that are distributed across the various IT services officially administered by EPFL. Its purpose is solely to collect and recommend relevant references to content that you can explore to help you answer your questions.
The major scale (or Ionian mode) is one of the most commonly used musical scales, especially in Western music. It is one of the diatonic scales. Like many musical scales, it is made up of seven notes: the eighth duplicates the first at double its frequency so that it is called a higher octave of the same note (from Latin "octavus", the eighth). The simplest major scale to write is C major, the only major scale not requiring sharps or flats: The major scale has a central importance in Western music, particularly that of the common practice period and in popular music. In Carnatic music, it is known as Sankarabharanam. In Hindustani classical music, it is known as Bilaval. The intervals from the tonic (keynote) in an upward direction to the second, to the third, to the sixth, and to the seventh scale degrees of a major scale are called major. A major scale is a diatonic scale. The sequence of intervals between the notes of a major scale is: whole, whole, half, whole, whole, whole, half where "whole" stands for a whole tone (a red u-shaped curve in the figure), and "half" stands for a semitone (a red angled line in the figure). Whole steps and half steps are explained mathematically in a related article, Twelfth root of two. Notably, an equal-tempered octave has twelve half steps (semitones) spaced equally in terms of the sound frequency ratio. The sound frequency doubles for corresponding notes from one octave to the next. The ratio is 3/2 = 1.5 for a perfect fifth, for example from C to G on a major scale, and 5/4 = 1.25 for a major third, for example from C to E. A major scale may be seen as two identical tetrachords separated by a whole tone. Each tetrachord consists of two whole tones followed by a semitone (i.e. whole, whole, half). The major scale is maximally even. The scale degrees are: 1st: Tonic 2nd: Supertonic 3rd: Mediant 4th: Subdominant 5th: Dominant 6th: Submediant 7th: Leading tone 8th: Tonic The triads built on each scale degree follow a distinct pattern. The roman numeral analysis is shown in parentheses.
[2]Paolo Prandoni, [3]LCAV, EPFL
The Karplus-Strong algorithm is a simple method to generate synthetic
sounds with arbitrary pitch. In this notebook we will explore a few
variations of the method to illustrate some basic notions of
discrete-time signal processing.
In [1]:
%matplotlib inline
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import IPython
In [2]:
plt.rcParams["figure.figsize"]