tempo and beat tracking
play

Tempo and Beat Tracking Meinard Mller International Audio - PowerPoint PPT Presentation

Lecture Music Processing Tempo and Beat Tracking Meinard Mller International Audio Laboratories Erlangen meinard.mueller@audiolabs-erlangen.de Book: Fundamentals of Music Processing Meinard Mller Fundamentals of Music Processing Audio,


  1. Lecture Music Processing Tempo and Beat Tracking Meinard Müller International Audio Laboratories Erlangen meinard.mueller@audiolabs-erlangen.de

  2. Book: Fundamentals of Music Processing Meinard Müller Fundamentals of Music Processing Audio, Analysis, Algorithms, Applications 483 p., 249 illus., hardcover ISBN: 978-3-319-21944-8 Springer, 2015 Accompanying website: www.music-processing.de

  3. Book: Fundamentals of Music Processing Meinard Müller Fundamentals of Music Processing Audio, Analysis, Algorithms, Applications 483 p., 249 illus., hardcover ISBN: 978-3-319-21944-8 Springer, 2015 Accompanying website: www.music-processing.de

  4. Book: Fundamentals of Music Processing Meinard Müller Fundamentals of Music Processing Audio, Analysis, Algorithms, Applications 483 p., 249 illus., hardcover ISBN: 978-3-319-21944-8 Springer, 2015 Accompanying website: www.music-processing.de

  5. Chapter 6: Tempo and Beat Tracking 6.1 Onset Detection 6.2 Tempo Analysis 6.3 Beat and Pulse Tracking 6.4 Further Notes Tempo and beat are further fundamental properties of music. In Chapter 6, we introduce the basic ideas on how to extract tempo-related information from audio recordings. In this scenario, a first challenge is to locate note onset information—a task that requires methods for detecting changes in energy and spectral content. To derive tempo and beat information, note onset candidates are then analyzed with regard to quasiperiodic patterns. This leads us to the study of general methods for local periodicity analysis of time series.

  6. Introduction Basic beat tracking task: Given an audio recording of a piece of music, determine the periodic sequence of beat positions. “Tapping the foot when listening to music’’

  7. Introduction Example: Queen – Another One Bites The Dust Time (seconds)

  8. Introduction Example: Queen – Another One Bites The Dust Time (seconds)

  9. Introduction Example: Happy Birthday to you Pulse level: Measure

  10. Introduction Example: Happy Birthday to you Pulse level: Tactus (beat)

  11. Introduction Example: Happy Birthday to you Pulse level: Tatum (temporal atom)

  12. Introduction Example: Chopin – Mazurka Op. 68-3 Pulse level: Quarter note Tempo: ???

  13. Introduction Example: Chopin – Mazurka Op. 68-3 Pulse level: Quarter note Tempo: 50-200 BPM Tempo curve Tempo (BPM) 200 50 Time (beats)

  14. Introduction Example: Borodin – String Quartet No. 2 Pulse level: Quarter note Tempo: 120-140 BPM (roughly) Beat tracker without any prior knowledge Beat tracker with prior knowledge on rough tempo range

  15. Introduction Challenges in beat tracking  Pulse level often unclear  Local/sudden tempo changes (e.g. rubato)  Vague information (e.g., soft onsets, extracted onsets corrupt)  Sparse information (often only note onsets are used)

  16. Introduction Tasks  Onset detection  Beat tracking  Tempo estimation

  17. Introduction Tasks  Onset detection  Beat tracking  Tempo estimation

  18. Introduction Tasks  Onset detection  Beat tracking  Tempo estimation phase period

  19. Introduction Tasks  Onset detection Tempo := 60 / period  Beat tracking  Tempo estimation Beats per minute (BPM) period

  20. Onset Detection  Finding start times of perceptually relevant acoustic events in music signal  Onset is the time position where a note is played  Onset typically goes along with a change of the signal’s properties: – energy or loudness – pitch or harmony – timbre

  21. Onset Detection  Finding start times of perceptually relevant acoustic events in music signal  Onset is the time position where a note is played  Onset typically goes along Attack with a change of the signal’s properties: Decay – energy or loudness – pitch or harmony Onset Transient – timbre

  22. Onset Detection (Energy-Based) Steps Waveform Time (seconds)

  23. Onset Detection (Energy-Based) Steps 1. Amplitude squaring Squared waveform Time (seconds)

  24. Onset Detection (Energy-Based) Steps 1. Amplitude squaring 2. Windowing Energy envelope Time (seconds)

  25. Onset Detection (Energy-Based) Steps 1. Amplitude squaring 2. Windowing Capturing energy changes 3. Differentiation Differentiated energy envelope Time (seconds)

  26. Onset Detection (Energy-Based) Steps 1. Amplitude squaring 2. Windowing Only energy increases are 3. Differentiation relevant for note onsets 4. Half wave rectification Novelty curve Time (seconds)

  27. Onset Detection (Energy-Based) Steps 1. Amplitude squaring 2. Windowing Peak positions indicate 3. Differentiation note onset candidates 4. Half wave rectification 5. Peak picking Time (seconds)

  28. Onset Detection (Energy-Based) Example: C4 played by piano Time (seconds)

  29. Onset Detection (Energy-Based) Example: C4 played by violin Time (seconds)

  30. Onset Detection (Energy-Based) Example: C4 played by flute Time (seconds)

  31. Onset Detection  Energy curves often only work for percussive music  Many instruments such as strings have weak note onsets  No energy increase may be observable in complex sound mixtures  More refined methods needed that capture – changes of spectral content – changes of pitch – changes of harmony

  32. Onset Detection (Spectral-Based) Audio recording Time (seconds)

  33. Onset Detection (Spectral-Based) Steps: | X | Magnitude spectrogram 1. Spectrogram Frequency (Hz) Time (seconds)

  34. Onset Detection (Spectral-Based) Steps: Compressed spectrogram Y 1. Spectrogram 2. Logarithmic compression Frequency (Hz)    log( 1 | |) Y C X Time (seconds)

  35. Onset Detection (Spectral-Based) Steps: Spectral difference 1. Spectrogram 2. Logarithmic compression Frequency (Hz) 3. Differentiation & half wave rectification Time (seconds)

  36. Onset Detection (Spectral-Based) Steps: Spectral difference 1. Spectrogram 2. Logarithmic compression Frequency (Hz) 3. Differentiation & half wave rectification 4. Accumulation Time (seconds) 60 40 Novelty curve 20 0 0 1 2 3 4 5 6 Time (seconds)

  37. Onset Detection (Spectral-Based) Steps: 1. Spectrogram 2. Logarithmic compression 3. Differentiation & half wave rectification 4. Accumulation Novelty curve

  38. Onset Detection (Spectral-Based) Steps: 1. Spectrogram 2. Logarithmic compression 3. Differentiation & half wave rectification 4. Accumulation 5. Normalization Novelty curve Substraction of local average

  39. Onset Detection (Spectral-Based) Steps: 1. Spectrogram 2. Logarithmic compression 3. Differentiation & half wave rectification 4. Accumulation 5. Normalization Normalized novelty curve

  40. Onset Detection (Spectral-Based) Spectrogram  Compressed Spectrogram   Novelty curve

  41. Logarithmic Compression    log( 1 | |) Y C X No compression C = 1 C = 100 Frequency (Hz) Time (seconds) Time (seconds) Time (seconds)

  42. Onset Detection Energy-based novelty curve Spectral-based novelty curve Manuel onset annotations Time (seconds)

  43. Onset Detection Shostakovich – 2 nd Waltz Beethoven – Fifth Symphony Borodin – String Quartet No. 2 Time (seconds)

  44. Onset Detection Drumbeat Going Home Lyphard melodie Por una cabeza Donau

  45. Beat and Tempo What is a beat?  Steady pulse that drives music [Parncutt 1994] forward and provides the [Sethares 2007] temporal framework of a piece [Large/Palmer 2002] of music  Sequence of perceived pulses [Lerdahl/ Jackendoff 1983] that are equally spaced in time [Fitch/ Rosenfeld 2007]  The pulse a human taps along when listening to the music The term tempo then refers to the speed of the pulse.

  46. Beat and Tempo Strategy  Analyze the novelty curve with respect to reoccurring or quasi- periodic patterns  Avoid the explicit determination of note onsets (no peak picking)

  47. Beat and Tempo Strategy  Analyze the novelty curve with respect to reoccurring or quasi- periodic patterns  Avoid the explicit determination of note onsets (no peak picking) [Scheirer, JASA 1998] Methods [Ellis, JNMR 2007]  Comb-filter methods [Davies/Plumbley, IEEE-TASLP 2007]  Autocorrelation [Peeters, JASP 2007]  Fourier transfrom [Grosche/Müller, ISMIR 2009] [Grosche/Müller, IEEE-TASLP 2011]

  48. Tempogram Definition: A tempogram is a time-tempo representation that encodes the local tempo of a music signal over time. Tempo (BPM) Intensity Time (seconds)

  49. Tempogram (Fourier) Definition: A tempogram is a time-tempo represenation that encodes the local tempo of a music signal over time. Fourier-based method  Compute a spectrogram (STFT) of the novelty curve  Convert frequency axis (given in Hertz) into tempo axis (given in BPM) Magnitude spectrogram indicates local tempo 

  50. Tempogram (Fourier) Tempo (BPM) Novelty curve Time (seconds)

  51. Tempogram (Fourier) Tempo (BPM) Novelty curve (local section) Time (seconds)

  52. Tempogram (Fourier) Tempo (BPM) Windowed sinusoidal Time (seconds)

  53. Tempogram (Fourier) Tempo (BPM) Windowed sinusoidal Time (seconds)

  54. Tempogram (Fourier) Tempo (BPM) Windowed sinusoidal Time (seconds)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend