Audio Features and Vamp Plugins » History » Version 8
Version 7 (Chris Cannam, 2015-07-15 12:52 PM) → Version 8/34 (Chris Cannam, 2015-07-15 12:58 PM)
h1. Audio Features and Vamp Plugins
h3. General outline
To be propagated to https://www.doc.gold.ac.uk/~mas01cr/teaching/dhoxss15/
# Introductory notes and slides on acoustics and audio (CR)
# Sonic Visualiser - hands on with waveform and spectrograms (CC)
# Introductory notes and slides on audio features (CC)
# Sonic Visualiser - hands on with Vamp plugins (CC)
# Python/IPython intro (CR)
# Feature Extraction using Vamp Plugins in Python (IPython Notebook) (CC)
# Audio Indexing and Search in Python (IPython Notebook) (CR)
h3. Breakdown of CC sections
h5. Sonic Visualiser - hands on with waveform and spectrograms
* Waveform
## Start Sonic Visualiser and open "A Friendly Warning"
## Show dragging through the file using Navigate tool, and also using the overview at bottom
## Play from the start, just to get an idea what it sounds like
## Return to the start and zoom in (using the zoom wheel, but noting that the mouse wheel also works)
## Notice the different shapes in waveform resulting from different types of synthetic percussive sound (low-frequency kick drum / higher frequency cymbal-type sounds) - refer back to Christophe's notes about correspondence between e.g. signal voltage and speaker cone deflection
## Continue until the vocal starts, and observe that we can see very little that relates to e.g. sung pitch, although if we zoom in we can quite clearly see sibilance (these frequencies around 10kHz are pretty much the sweet spot for visibility in a 44.1kHz waveform)
## We will return to this track
* # Spectrogram
## New session, open piano-scale.wav and play it
## Some information can sort-of be perceived and measured from the waveform here: we can see when the notes start, and can get simple fundamental frequency estimate - zoom here. Zoom in to the first note, switch to Select mode, drag out one cycle - it's about 170 samples, so 44100/170 = 259 Hz - the note is a middle C so true value should be nearer to 261, but this is a fair approximation
## But this is a very simple example!
## Now open a plain spectrogram - Pane -> Add Spectrogram (or G key)
## Notice that, for each note, we can see the fundamental frequency most strongly and then the harmonic sequence. The harmonics are spaced more widely for higher notes because they are multiples of the fundamental frequency, which is larger. The noise floor is visible because we're using a dB scale, can switch to Linear to isolate only the strong frequencies. There isn't really enough detail to measure much here. (NB the default colour scheme is unhelpful to colour blind users, so it might be worth changing to Sunset scheme.)
h5. Introductory notes and slides on audio features
h5. Sonic Visualiser - hands on with Vamp plugins
h5. Feature Extraction using Vamp Plugins in Python
h3. Materials
* Audio features slides: "PDF":https://code.soundsoftware.ac.uk/projects/dhoxss15/repository/raw/vamp-sv.pdf, "PowerPoint":https://code.soundsoftware.ac.uk/projects/dhoxss15/repository/raw/vamp-sv.pptx
* "IPython Notebook for Vamp Plugins in Python":https://code.soundsoftware.ac.uk/projects/dhoxss15/repository/raw/Vamp.v3.ipynb
h3. General outline
To be propagated to https://www.doc.gold.ac.uk/~mas01cr/teaching/dhoxss15/
# Introductory notes and slides on acoustics and audio (CR)
# Sonic Visualiser - hands on with waveform and spectrograms (CC)
# Introductory notes and slides on audio features (CC)
# Sonic Visualiser - hands on with Vamp plugins (CC)
# Python/IPython intro (CR)
# Feature Extraction using Vamp Plugins in Python (IPython Notebook) (CC)
# Audio Indexing and Search in Python (IPython Notebook) (CR)
h3. Breakdown of CC sections
h5. Sonic Visualiser - hands on with waveform and spectrograms
* Waveform
## Start Sonic Visualiser and open "A Friendly Warning"
## Show dragging through the file using Navigate tool, and also using the overview at bottom
## Play from the start, just to get an idea what it sounds like
## Return to the start and zoom in (using the zoom wheel, but noting that the mouse wheel also works)
## Notice the different shapes in waveform resulting from different types of synthetic percussive sound (low-frequency kick drum / higher frequency cymbal-type sounds) - refer back to Christophe's notes about correspondence between e.g. signal voltage and speaker cone deflection
## Continue until the vocal starts, and observe that we can see very little that relates to e.g. sung pitch, although if we zoom in we can quite clearly see sibilance (these frequencies around 10kHz are pretty much the sweet spot for visibility in a 44.1kHz waveform)
## We will return to this track
* # Spectrogram
## New session, open piano-scale.wav and play it
## Some information can sort-of be perceived and measured from the waveform here: we can see when the notes start, and can get simple fundamental frequency estimate - zoom here. Zoom in to the first note, switch to Select mode, drag out one cycle - it's about 170 samples, so 44100/170 = 259 Hz - the note is a middle C so true value should be nearer to 261, but this is a fair approximation
## But this is a very simple example!
## Now open a plain spectrogram - Pane -> Add Spectrogram (or G key)
## Notice that, for each note, we can see the fundamental frequency most strongly and then the harmonic sequence. The harmonics are spaced more widely for higher notes because they are multiples of the fundamental frequency, which is larger. The noise floor is visible because we're using a dB scale, can switch to Linear to isolate only the strong frequencies. There isn't really enough detail to measure much here. (NB the default colour scheme is unhelpful to colour blind users, so it might be worth changing to Sunset scheme.)
h5. Introductory notes and slides on audio features
h5. Sonic Visualiser - hands on with Vamp plugins
h5. Feature Extraction using Vamp Plugins in Python
h3. Materials
* Audio features slides: "PDF":https://code.soundsoftware.ac.uk/projects/dhoxss15/repository/raw/vamp-sv.pdf, "PowerPoint":https://code.soundsoftware.ac.uk/projects/dhoxss15/repository/raw/vamp-sv.pptx
* "IPython Notebook for Vamp Plugins in Python":https://code.soundsoftware.ac.uk/projects/dhoxss15/repository/raw/Vamp.v3.ipynb