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.
In music, an octave (octavus: eighth) or perfect octave (sometimes called the diapason) is the interval between one musical pitch and another with double its frequency. The octave relationship is a natural phenomenon that has been referred to as the "basic miracle of music", the use of which is "common in most musical systems". The interval between the first and second harmonics of the harmonic series is an octave. In Western music notation, notes separated by an octave (or multiple octaves) have the same name and are of the same pitch class. To emphasize that it is one of the perfect intervals (including unison, perfect fourth, and perfect fifth), the octave is designated P8. Other interval qualities are also possible, though rare. The octave above or below an indicated note is sometimes abbreviated 8a or 8va (all'ottava), 8va bassa (all'ottava bassa, sometimes also 8vb), or simply 8 for the octave in the direction indicated by placing this mark above or below the staff. An octave is the interval between one musical pitch and another with double or half its frequency. For example, if one note has a frequency of 440 Hz, the note one octave above is at 880 Hz, and the note one octave below is at 220 Hz. The ratio of frequencies of two notes an octave apart is therefore 2:1. Further octaves of a note occur at times the frequency of that note (where n is an integer), such as 2, 4, 8, 16, etc. and the reciprocal of that series. For example, 55 Hz and 440 Hz are one and two octaves away from 110 Hz because they are (or ) and 4 (or ) times the frequency, respectively. The number of octaves between two frequencies is given by the formula: File:Middle_C,_or_262_hertz,_on_a_virtual_oscilloscope.png|[[Oscilloscope|Oscillogram]] of [[C (musical note)|middle C]] (262 Hz). (Scale: 1 square is equal to 1 [[millisecond]]) File:C5_523_Hz_oscillogram.png|C5, an octave above middle C. The frequency is twice that of middle C (523 Hz). File:C3_131_Hz_oscillogram.png|C3, an octave below middle C. The frequency is half that of middle C (131 Hz).
Nava Setter, Alexander Tagantsev, Igor Stolichnov
[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"]