Music 209 Advanced Topics in Computer Music Lecture 4 Time Warping

Similar documents
timing Correction Chapter 2 IntroductIon to timing correction

y POWER USER MUSIC PRODUCTION and PERFORMANCE With the MOTIF ES Mastering the Sample SLICE function

Music 209 Advanced Topics in Computer Music Lecture 1 Introduction

The MPC X & MPC Live Bible 1

In this project you will learn how to code a live music performance, that you can add to and edit without having to stop the music!

La Salle University. I. Listening Answer the following questions about the various works we have listened to in the course so far.

La Salle University MUS 150 Art of Listening Final Exam Name

WEST END BLUES / MARK SCHEME

Neuratron AudioScore. Quick Start Guide

1. Welcome To BeatChop

Edit Menu. To Change a Parameter Place the cursor below the parameter field. Rotate the Data Entry Control to change the parameter value.

Music Understanding and the Future of Music

ACTION! SAMPLER. Virtual Instrument and Sample Collection

ORB COMPOSER Documentation 1.0.0

Paper Reference. Paper Reference(s) 1426/03 Edexcel GCSE Music Paper 3 Listening and Appraising. Friday 18 May 2007 Afternoon Time: 1 hour 30 minutes

Hip Hop Robot. Semester Project. Cheng Zu. Distributed Computing Group Computer Engineering and Networks Laboratory ETH Zürich

Robert Alexandru Dobre, Cristian Negrescu

WASD PA Core Music Curriculum

THE importance of music content analysis for musical

Automatic Labelling of tabla signals

An interdisciplinary approach to audio effect classification

Part II: Dipping Your Toes Fingers into Music Basics Part IV: Moving into More-Advanced Keyboard Features

Computer Coordination With Popular Music: A New Research Agenda 1

The Keyboard. An Introduction to. 1 j9soundadvice 2013 KS3 Keyboard. Relevant KS3 Level descriptors; The Tasks. Level 4

Quantitative Emotion in the Avett Brother s I and Love and You. has been around since the prehistoric eras of our world. Since its creation, it has

Expressive Singing Synthesis based on Unit Selection for the Singing Synthesis Challenge 2016

1 Overview. 1.1 Nominal Project Requirements

GarageBand for the ipad, A Superstar for the Music Classroom

Music Guidelines Diocese of Sacramento

TOWARD AN INTELLIGENT EDITOR FOR JAZZ MUSIC

A Study of Synchronization of Audio Data with Symbolic Data. Music254 Project Report Spring 2007 SongHui Chon

2 2. Melody description The MPEG-7 standard distinguishes three types of attributes related to melody: the fundamental frequency LLD associated to a t

Automatic characterization of ornamentation from bassoon recordings for expressive synthesis

Music 209 Advanced Topics in Computer Music Lecture 3 Speech Synthesis

The Keyboard. Introduction to J9soundadvice KS3 Introduction to the Keyboard. Relevant KS3 Level descriptors; Tasks.

Music Segmentation Using Markov Chain Methods

Automatic Construction of Synthetic Musical Instruments and Performers

Bite-Sized Music Lessons

Courtney Pine: Back in the Day Lady Day and (John Coltrane), Inner State (of Mind) and Love and Affection (for component 3: Appraising)

Music Alignment and Applications. Introduction

Year 8 revision booklet 2017

Music Programming. Copyright 2013 by David Campos

StepSequencer64 J74 Page 1. J74 StepSequencer64. A tool for creative sequence programming in Ableton Live. User Manual

Computational Modelling of Harmony

Automatic music transcription

Student Leadership. Music Product Competition!

PULSE-DEPENDENT ANALYSES OF PERCUSSIVE MUSIC

Articulation Clarity and distinct rendition in musical performance.

Assessment Schedule 2017 Music: Demonstrate knowledge of conventions in a range of music scores (91276)

Autumn. A: Plan, develop and deliver a music product B: Promote a music product C: Review the management of a music product

SPECIMEN PAPER FOR MUSIC

VCE MUSIC PERFORMANCE Reading time: *.** to *.** (15 minutes) Writing time: *.** to *.** (1 hour 30 minutes) QUESTION AND ANSWER BOOK

Lesson 9: Scales. 1. How will reading and notating music aid in the learning of a piece? 2. Why is it important to learn how to read music?

Setting up your Roland V-Drums with Melodics.

Assessment Schedule 2013 Making Music: Integrate aural skills into written representation (91420)

Key Skills to be covered: Year 5 and 6 Skills

IronClad. Sean O Loughlin Grade 1.5 (Hutton) 2011 Carl Fischer, LLC

Music General Certificate of Secondary Education June Listening to and Appraising Music. (JUN ) WMP/Jun12/42701

HORNS SEPTEMBER 2014 JAZZ AUDITION PACKET. Audition Checklist: o BLUES SCALES: Concert Bb and F Blues Scales. o LEAD SHEET/COMBO TUNE: Tenor Madness

Music Representations

POST-PROCESSING FIDDLE : A REAL-TIME MULTI-PITCH TRACKING TECHNIQUE USING HARMONIC PARTIAL SUBTRACTION FOR USE WITHIN LIVE PERFORMANCE SYSTEMS

Musical Hit Detection

Popular Music Theory Syllabus Guide

Progress across the Primary curriculum at Lydiate Primary School. Nursery (F1) Reception (F2) Year 1 Year 2

R H Y T H M G E N E R A T O R. User Guide. Version 1.3.0

This is why when you come close to dance music being played, the first thing that you hear is the boom-boom-boom of the kick drum.

A prototype system for rule-based expressive modifications of audio recordings

2016 HSC Music 1 Aural Skills Marking Guidelines Written Examination

User Guide Version 1.1.0

MUSIC PERFORMANCE: GROUP

MOTIVATION AGENDA MUSIC, EMOTION, AND TIMBRE CHARACTERIZING THE EMOTION OF INDIVIDUAL PIANO AND OTHER MUSICAL INSTRUMENT SOUNDS

Single Lesson GarageBand Activities for the Primary Classroom

Progressive Music Examples.

L+R: When engaged the side-chain signals are summed to mono before hitting the threshold detectors meaning that the compressor will be 6dB more sensit

Mark Scheme (Results) Summer Pearson Edexcel GCE In Music Technology (6MT04) Paper 04 Analysing and Producing

Topic 10. Multi-pitch Analysis

Concise Guide to Jazz

NCEA Level 2 Music (91275) 2012 page 1 of 6. Assessment Schedule 2012 Music: Demonstrate aural understanding through written representation (91275)

Query By Humming: Finding Songs in a Polyphonic Database

Music Radar: A Web-based Query by Humming System

GCSE MUSIC UNIT 3 APPRAISING. Mock Assessment Materials NOVEMBER hour approximately

Book: Fundamentals of Music Processing. Audio Features. Book: Fundamentals of Music Processing. Book: Fundamentals of Music Processing

OBJECTIVE EVALUATION OF A MELODY EXTRACTOR FOR NORTH INDIAN CLASSICAL VOCAL PERFORMANCES

Sudoku Music: Systems and Readymades

DEPARTMENT/GRADE LEVEL: Band (7 th and 8 th Grade) COURSE/SUBJECT TITLE: Instrumental Music #0440 TIME FRAME (WEEKS): 36 weeks

Igaluk To Scare the Moon with its own Shadow Technical requirements

Semi-automated extraction of expressive performance information from acoustic recordings of piano music. Andrew Earis

Lab #10 Perception of Rhythm and Timing

SINGING EXPRESSION TRANSFER FROM ONE VOICE TO ANOTHER FOR A GIVEN SONG. Sangeon Yong, Juhan Nam

Drum Rudiments : Groove Pack 1. Installation

Drummer for Kontakt Manual - v. 2.0 (TBAD) 2016 Chocolate Audio

2. AN INTROSPECTION OF THE MORPHING PROCESS

6.UAP Project. FunPlayer: A Real-Time Speed-Adjusting Music Accompaniment System. Daryl Neubieser. May 12, 2016

Music. Curriculum Glance Cards

metal Fatigue Performance notes

TECHNOLOGY FOR USE IN THE LESSON ROOM AND REHEARSAL ROOM. Dr. Brad Meyer Director of Percussion Studies Stephen F. Austin State University

CSC475 Music Information Retrieval

Presents. Cinematic Percussion Designer

DELAWARE MUSIC EDUCATORS ASSOCIATION ALL-STATE ENSEMBLES GENERAL GUIDELINES

Year 4 MusicMedium Term Plan

Transcription:

Music 209 Advanced Topics in Computer Music Lecture 4 Time Warping 2006-2-9 Professor David Wessel (with John Lazzaro) (cnmat.berkeley.edu/~wessel, www.cs.berkeley.edu/~lazzaro) www.cs.berkeley.edu/~lazzaro/class/music209

Today, we focus on time warping techniques to Select candidate samples from db #1 Candidates #2 #3 modify the duration of candidates. N Any good matches? Y Modify a candidate to be good enough Choose best match #3(mod) #2 Do the splice Do the splice #3(mod) #2 + +

Topics for today... Time-warping: change the duration of musical audio in a transparent way. Finishing material from earlier lectures. Project ideas on parade.

define: Note-level Time Warping Time Shrink Time Stretch Length of attack transient unchanged. Time warp only affects sustained region. Local temporal properties of sustained region unchanged (example: vibrato speed) Long-range properties of sustained region stretch or shrink (example: crescendos). Concept: Like a player would lengthen/shorten note.

define: Phrase-level Time Warping original: T = 2s Time Shrink T = 1.5s Time Stretch T = 2.5s For percussive sounds, shrink or stretch by adding or removing rests (silence). For sustained sounds, scale note durations and rests to match the score. Concept: Like a robot player would change tempo.

This seems like an AI-complete problem... Different algorithms sound better on some sound types and worse on others, because they make different assumptions about the source material. And so, we cover many approaches to this problem in the lecture today...

Drum Phrase Algorithms We begin with two ways to sidestep the time-shifting problem...

Sidestep #1: DrumCore (Submersible Music) Hire drummers famous in different genres. Play Play Record them playing the same beat at many tempos. Recall our goal: Like a robot player would change tempo. Drumcore doesn t do this! A drummer plays the same beat differently at 60 bpm and 165 bpm... hmm...

Sidestep #2: Sample-based drum machines. Sample data holds a single drum hit sound. Change tempo by changing the rate the drum sounds trigger. Recall our goal: Time-warp audio recording of a drum pattern like a robot player would change tempo. Can t we directly apply the drum machine model? Problem #1: Extracting clean isolated drum hit sounds for every drum sound in the recording. Problem #2: Extracting the trigger pattern for each drum sound without error is a hard problem. However, a variant of this idea works quite well...

Beat Slicing Invented as a manual process... Later automated by Propellorhead Software s ReCycle, and extended by Spectrasonics. File types: REX (Recycle), Groove Control (Spectrasonics)

Basic idea: Use transient detection to divide an audio recording into shorter contiguous slices. S1 S2 S3 S4 S5 S6 S7 S8 Assign each numbered sample to its own MIDI note number (S1 is triggered by C#4, S2 is triggered by D4, S3 is triggered by D#4,...). Example by Simon Price, in JUNE 2004 Sound on Sound Magazine

S1 S2 S3 S4 S5 S6 S7 S8 Create a MIDI performance of a chromatic scale, whose note timing trigger each sample at the perfect time to recreate the original audio. S1 S2 S3 S4 S5 S6 S7 S8

Example by Len Sasso, in Oct 2003 Electronic Musician Magazine. S1 S2 S3 S4 S5 S6 S7 S8 To time-stretch, slow down MIDI tempo: S1 S3 S5 S7 S2 S4 S6 S8 Extra time introduced as silent gaps...

S1 S2 S3 S4 S5 S6 S7 S8 To time-shrink, speed up MIDI tempo: S1 S3 S5 S7 S2 S4 S6 S8 Overlaps reduce the total playing time... Example by Len Sasso, in Oct 2003 Electronic Musician Magazine.

Artifacts... Good news: attacks are artifact free. The most important part of a percussion sound. Artifact: Silent gap. Artifact: Tail overlap. One approach: Apply envelope to each slice to fade it to silence before gap or overlap. Another approach for gaps: loop the end of the tail to extend it through the gap.

Another option: sample substitution Gap before this HH will be noticeable because of kick tail. Gap before this HH might sound better. S1 S2 S3 S4 S5 So, use S4 sample to replace S2.

How does beat slicing sound? Before: 5 audio tracks (hi-hat, bass drum, polysynth, electric piano, bass) at 5 different beats per minute (120, 130, 126, 135, 114). Play After: Each track beat sliced by using a transient detection algorithm and gap and tail artifact reduction (ReCycle + Phasmatic Pro) Play A simpler approach: Each track beat sliced, with slices created at 16th-note intervals (Ableton Live, 2003 version). Play Example by Len Sasso, in Oct 2003 Electronic Musician Magazine.

Sample substitution: Artistic uses... S1 S2 S3 S4 S5 Original beat: Play Reworked beat: Play Client: Where s the chuffa-chuffa? The artifacts become a feature... Play

Pro-Tools Beat Detective... Record a live drummer (with many mics). Beat slice performance to fix feel issues. Young engineer: You need Beat Detective to cut a live drummer. Old engineer: You only need Beat Detective if your drummer is Beat Defective.

Recall: Note-level Time Warping We now look at time warping algorithms for this problem... Time Shrink Time Stretch Length of attack transient unchanged. Time warp only affects sustained region. Local temporal properties of sustained region unchanged (example: vibrato speed) Long-range properties of sustained region stretch or shrink (example: crescendos).

Overlap-Add Methods Commercially in use since the 1980s - Lexicon 2400.

Intro to Overlap and Add Methods... Step 1: Create fixed-length sample blocks x1(n), x2(n), x3(n)... that overlap 50% in time. Examples FROM Jordi Bonada Sanjaume, BARCelona

Step 2: Define α to be the time-scale factor. α = 1 denotes no scaling. α > 1 is time-stretch. α < 1 is time-shrink. Offset blocks by: α Δn

Step 3: Tune each Δti to minimize artifacts, and then create final waveform by summing all blocks, doing a crossfade at the overlaps. Synchronous OLA - SOLA overlap and add - OLA Tuning Δti is primary way methods differ. PSOLA,WSOLA, PICOLA,... Another trick: Detect transients, don t OLA them. First use: Lexicon 2400, 1986.

Example: PSOLA time-stretching First, find the periods of the (speech-like) waveform. Make each block exactly two periods in length. Stretch by duplicating pitch periods. x1 x2 x2 x3 Crossfade blocks for final output

How do SOLA algorithms sound? PICOLA: SOLA variant that uses waveform correlation to fine-tune ti. Does not detect transients. As implemented in sfront. Trumpet sample: original, 0.5α, 2.0α. Play Synthesized bass and nature sounds: original, 0.5α, 2.0α. Play Excerpt from Giant Steps (John Coltrane): original, 0.95 α, 1.05 α. Next Class: Spectral methods. Play

Project Idea Echos of George Bush

Basic Idea: Voice samples echo MIDI phrases Piano improvisation: Left-hand chords, right hand monophonic melody line phrases. Running MIDI analysis to detect phrase completion. A George Bush phrase is located in the database that echos the piano line. It is repeated several times, with signal processing that evokes echoing.

Choosing a voice that echos a melody Voice phrase length == MIDI phrase length. Vocal cadence rhythm == MIDI phrase rhythm Vocal pitch track evocative of MIDI melody. Also: Verbal continuity. Ideally, the concepts spoken in each phrase should topically connect...