An Intelligent Multi-Track Audio Editor

Total Page:16

File Type:pdf, Size:1020Kb

An Intelligent Multi-Track Audio Editor AN INTELLIGENT MULTI-TRACK AUDIO EDITOR Roger B. Dannenberg Carnegie Mellon University School of Computer Science ABSTRACT breakthroughs. To illustrate the potential for intelligent, automated editing, and to explore problems that arise in Audio editing software allows multi-track recordings to practice, the author has constructed a working prototype be manipulated by moving notes, correcting pitch, and that: (1) identifies and labels all notes in a multi-track making other fine adjustments, but this is a tedious recording, using a standard MIDI file as a score; (2) es- process. An “intelligent audio editor” uses a machine- timates the performed pitch and pitch error of each note; readable score as a specification for the desired (3) applies pitch correction to all notes; (4) locates all performance and automatically makes adjustments to simultaneous onsets in the score; (5) aligns recorded note pitch, timing, and dynamic level. notes that are not synchronized within a degree of toler- ance; (6) estimates the average recording level for each 1. INTRODUCTION instrument; and (7) balances the instruments according to user-selected ratios (initially 1:1). The result of this Multi-track recording in the studio is a standard produc- fully automated process is a new set of “corrected” tion method for a variety of musical styles, including tracks that can be mixed as is, or edited further by hand. classical, experimental, and popular forms. Multi-track While these steps can be performed manually using techniques are used in many recording situations, in- modern audio editing software, the present work is the cluding ensembles that record all tracks at once, ensem- first to automate these steps, making use of a score bles that record tracks in several passes, and even indi- (MIDI file) to specify the desired result. viduals that play different parts in succession. One of The following sections describe each step of the sys- the advantages of multi-track recording is the control it tem, named IAED for Intelligent Audio Editor. Section 5 gives after the music is recorded. Balance, equalization, describes some experience with the IAED, and this is reverberation, and many other parameters can be altered followed by a discussion, summary, and conclusions. without the time and expense of re-recording. Originally, analog recording allowed individual musi- cians to correct mistakes quickly by “punching in,” i.e., 2. RELATED WORK replacing as little as one note of one track with new ma- terial. Digital recording has ushered in many more pos- The IAED combines and applies various forms of in- sibilities. Now, individual notes or whole phrases can be formation derived from audio and scores. Earlier work shifted in time, stretched, transposed to improve intona- by the author and others offers many ways to perform tion, or even replaced, perhaps using material from the the necessary analysis. One of the purposes of the IAED same performance. is to gain experience combining these techniques in or- As with many technologies, new capabilities work der to guide further development. quickly to establish a new set of expectations. Now, vir- To align tracks to scores, both monophonic and poly- tually every music recording is carefully edited and re- phonic score-to-audio alignment techniques are useful. fined using digital techniques. Ironically, the efficiency Note-based techniques used in monophonic score fol- and effectiveness of digital editors often results in much lowing [3] can be applied. There is also work on mono- more time spent in production than ever before. phonic and polyphonic alignment [11], [15] that can be Meanwhile, there have been many advances in audio used directly. To refine the alignment, onset detection is and music analysis, machine listening, audio-to-score used. Previous work by Rodet and Jaillet [13], Plumbley, alignment, and music understanding. Tasks such as Brossier and Bello [12], Dannenberg and Hu [5], and finding notes, aligning them in time, correcting intona- many others is relevant. tion problems, and balancing dynamic levels can be per- Time alignment and pitch shifting often rely on time formed automatically, at least in principle, and this is the stretching techniques that include SMS [16], phase vo- objective of the present research. In the production ver- coder [8], and PSOLA [14] techniques. sion of this work, one starts with audio recordings and a Finally, it should be noted that the practice of fine- machine-readable score. An automatic process identifies grain editing by hand is well established using commer- possible problems. Using an interface similar to that of a cial editors such as ProTools (www.digidesign.com), and spelling checker, the user is prompted to audition, ac- plug-ins for time stretching and pitch correction such as cept, or reject each suggested edit. The user can also Antares Auto-Tune (www.antarestech.com). Non- simply accept all suggestions and listen to the final mix. commercial editors such as Sonic Visualizer [2] and While this vision of a highly automated and easy-to- CLAM Annotator [1] offer some assistance labeling use editing system will require considerable effort to pitch and onsets, but are not intended for audio editing. realize, the basic techniques require no fundamental 89 3. ANALYSIS linear interpolation between beats. Then, the estimated onset times are refined as described in the previous para- The first stage of IAED processing obtains information graph. about each note as well as summary information about To verify the labeling, clicks can be synthesized at the the tracks. For simplicity, assume that every track is a note onset times. Then by listening to the rhythm and recording of a pitched monophonic instrument. Other timing of the clicks, the user can quickly detect any ma- cases will be discussed later. jor errors. Figure 1 shows three input tracks and labels (below each audio track) generated automatically by 3.1. Labeling IAED. The number shown by each onset time is the in- dex of the note in the track. Seconds are shown at the The process of identifying notes in the recordings and very top. associating them with notes in the score is called label- ing. Labeling can be performed in two ways by the 3.2. Dynamics and F0 Estimation IAED. The first method is based on audio-to-score alignment techniques [6]. An alignment program con- Once note onsets are identified, the IAED labels each verts both score and audio time frames into sequences of note with an indication of dynamic level and funda- chroma vectors and aligns them using dynamic time mental frequency (F0). Since dynamic level is estimated warping. [4] This method works for polyphonic record- for the purposes of balance between tracks, it is assumed ings as well as monophonic ones. Each track is sepa- that the subjective impression is created by the loudest rately aligned with its corresponding standard MIDI file part of the overall note. For simplicity, RMS is used track, resulting in a mapping between MIDI time and rather than a perceptually based measure. The dynamics audio time. This mapping is smoothed and used to map estimation algorithm, which operates on each note, is as each MIDI key-down message to an onset time in the follows: audio recording. • Pre-compute an RMS value for each 5ms frame (a The score alignment is not precise enough for editing, by-product of the labeling step described above). so additional refinement is performed. (Another motiva- • Find the location of the highest RMS value between tion for the refinement is that we are most interested in the current note onset and the next note onset. notes that occur early or late. Their onset times may not • Scan backward from the peak RMS point until the be predicted very well if the score alignment is presented RMS falls to half the peak value (but stop at the note as a smooth tempo curve.) An onset detection function, onset if it is reached). Call this time point A. based mainly on change in the local RMS energy is used • Scan forward from the peak RMS point until the to estimate the onset probability of each 5ms frame in RMS falls to half, stopping if necessary at the next the recorded audio. For each note in the score, this prob- note onset time. Call this time point B. ability is weighted by a Gaussian centered on the ex- • Compute the mean RMS over the interval [A, B]. pected note. This is a roughly Bayesian model where the Fundamental frequency is estimated using the YIN al- RMS feature represents an observation probability and gorithm [7]. YIN generates an F0 estimate and a confi- the Gaussian represents the prior probability based on dence level for each 5ms frame. On the assumption that the score. The location where their product is maximized intonation is most important when notes are loudest, we determines a refined estimate of the note onset. This is a average the YIN estimates over the same interval [A, B] partial implementation of a bootstrapping method [5] used to average RMS values, but ignoring frames where that proved to work extremely well for onset labeling. the YIN confidence level is low. The second method for note onset detection dispenses with the score alignment step and uses labeled beats in- 3.3. Coincident Notes stead. Beats can be labeled simply by tapping along with the music, or the music might already have a click track The IAED makes many timing decisions based on notes or a synchronized MIDI track, in which case the beat that should sound at the same time in different tracks. locations are already known. The score is warped using These coincident notes are detected by scanning the score to find note onsets that match within a small toler- ance.
Recommended publications
  • Download Download
    Florian Heesch Voicing the Technological Body Some Musicological Reflections on Combinations of Voice and Technology in Popular Music ABSTRACT The article deals with interrelations of voice, body and technology in popular music from a musicological perspective. It is an attempt to outline a systematic approach to the history of music technology with regard to aesthetic aspects, taking the iden- tity of the singing subject as a main point of departure for a hermeneutic reading of popular song. Although the argumentation is based largely on musicological research, it is also inspired by the notion of presentness as developed by theologian and media scholar Walter Ong. The variety of the relationships between voice, body, and technology with regard to musical representations of identity, in particular gender and race, is systematized alongside the following cagories: (1) the “absence of the body,” that starts with the establishment of phonography; (2) “amplified presence,” as a signifier for uses of the microphone to enhance low sounds in certain manners; and (3) “hybridity,” including vocal identities that blend human body sounds and technological processing, where- by special focus is laid on uses of the vocoder and similar technologies. KEYWORDS recorded popular song, gender in music, hybrid identities, race in music, presence/ absence, disembodied voices BIOGRAPHY Dr. Florian Heesch is professor of popular music and gender studies at the University of Siegen, Germany. He holds a PhD in musicology from the University of Gothenburg, Sweden. He published several books and articles on music and Norse mythology, mu- sic and gender and on diverse aspects of heavy metal studies.
    [Show full text]
  • Looking for Vocal Effects Plug-Ins?
    VOCAL PITCH AND HARMONY PROCESSORS 119 BOSS VE-20 VOCAL PERFORMER Designed from TC-HELICON VOICELIVE 2 VOCAL the ground up for vocalists, using some of the finest HARMONY AND EFFECTS PEDAL SYSTEM technology available, this easy-to-use pedal will help A floor-based vocal processor with an easy-to- you create vocals that are out of this world! Real-time use, completely re-designed interface. Great for pitch correction and 3-part diatonic harmonies can creative live performances. Features a “wizard” be combined with 38 seconds of looping and special button to help you find the right preset quickly, stompbox access to 6 effect blocks, effects such as Distortion, Radio, and Strobe for unique 1-button access to global tone, pitch, and guitar effects menus. Up to 8 voices with performances. Provides phantom power for use with condenser microphones and is MIDI keyboard control or 4 doubled harmonies. Control harmonies with guitar, MIDI, powered by an AC adapter or (6) AA batteries. Accepts ¼” or XLR input connections or MP3 input. Has a new effects section that includes separate harmony, doubling via the rear panel combo jack and offers L/R XLR and ¼” phone/line outputs. blocks, reverb, and tap delay. Also has a special effects block for more extreme ITEM DESCRIPTION PRICE effects such as “T-Pain”, megaphone and distortion. Global effects include tone, VE20.......................... Vocal performer pedal ................................................................. 279.00 pitch correction, and guitar effects. Adaptive gate reduces mic input when you're not singing and use your feet for digital mic gain. All effects may be used simultane- NEW! ously.
    [Show full text]
  • BOSS' Ultimate 16-Track Studio
    BR-1600CD Digital Recording Studio BOSS’ Ultimate 16-Track Studio. .......................................................................... .......................................................................... The BR-1600CD Digital Recording Studio combines BOSS’ famous, easy-to-use interface Easy Multitrack Recording Build Your Own Backing Tracks with eight XLR inputs for recording eight tracks simultaneously. This affordable 16-track .......................................................................... .......................................................................... recorder comes loaded with effects for guitars and vocals—including COSM® The BR-1600CD includes eight sweet-sounding XLR microphone The BR-1600CD now includes separate Drum, Bass and Loop Overdrive/Distortion, Amp Modeling and a new Vocal Tool Box—plus convenient PCM inputs with phantom power. Use them to mic up a drum set or to Phrase tracks for creating complete backing arrangements. The record your entire band in a single pass. Recording eight tracks Drum and Bass tracks come with high-quality PCM sounds. The drum and bass tracks, a 40GB hard drive, CD-R/RW drive and USB port. It’s the perfect at once is easy, thanks to a new “Multi-Track” recording mode— Loop Phrase track can be loaded with user samples, or you can way to record your band. just pick your inputs and start recording while taking advantage choose from a collection of loop phrases pre-loaded onto the of powerful channel effects like a compressor, 3-band EQ and hard disk. Using these
    [Show full text]
  • Pitch-Shifting Algorithm Design and Applications in Music
    DEGREE PROJECT IN ELECTRICAL ENGINEERING, SECOND CYCLE, 30 CREDITS STOCKHOLM, SWEDEN 2019 Pitch-shifting algorithm design and applications in music THÉO ROYER KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE ii Abstract Pitch-shifting lowers or increases the pitch of an audio recording. This technique has been used in recording studios since the 1960s, many Beatles tracks being produced using analog pitch-shifting effects. With the advent of the first digital pitch-shifting hardware in the 1970s, this technique became essential in music production. Nowa- days, it is massively used in popular music for pitch correction or other creative pur- poses. With the improvement of mixing and mastering processes, the recent focus in the audio industry has been placed on the high quality of pitch-shifting tools. As a consequence, current state-of-the-art literature algorithms are often outperformed by the best commercial algorithms. Unfortunately, these commercial algorithms are ”black boxes” which are very complicated to reverse engineer. In this master thesis, state-of-the-art pitch-shifting techniques found in the liter- ature are evaluated, attaching great importance to audio quality on musical signals. Time domain and frequency domain methods are studied and tested on a wide range of audio signals. Two offline implementations of the most promising algorithms are proposed with novel features. Pitch Synchronous Overlap and Add (PSOLA), a sim- ple time domain algorithm, is used to create pitch-shifting, formant-shifting, pitch correction and chorus effects on voice and monophonic signals. Phase vocoder, a more complex frequency domain algorithm, is combined with high quality spec- tral envelope estimation and harmonic-percussive separation to design a polyvalent pitch-shifting and formant-shifting algorithm.
    [Show full text]
  • English Version
    ENGLISH VERSION Table of Contents Introduction .................................................... page 4 Using & Understanding the Effect ..............page 22 Quick Start .......................................................page 6 Using the Effects ............................................page 23 Adaptive Shape EQ ......................................................page 23 Using Two VoiceTone Pedals ....................... page 12 Adaptive Compression ...............................................page 24 De-ess ..................................................................................page 25 Front & Back Panel Descriptions ............... page 13 Pitch Correction .............................................................page 26 Understanding Live Engineer Effects .........page 27 Setup Configurations ....................................page 16 Phantom Power ..............................................................page 16 Understanding Pitch Correction ................page 31 Standard Setup ................................................................page 17 Main/Monitor ...................................................................page 18 Sound Engineer Setup .................................................page 19 FAQ & Troubleshooting ...............................page 33 Advanced Setup .............................................................page 2 Specifications ..................................................page 35 TC Helicon Vocal Technologies Ltd. Manual revision 1.0 – SW – V 1.0 | Prod.
    [Show full text]
  • What Is a Sequencer − Defined
    What Is A Sequencer − Defined By Peter Lawrence Alexander / August 16, 2008 This article gives a simplified explanation of what a MIDI sequencer is. A sequencer today is a software program that records MIDI data of a musical performance from a MIDI Controller. A MIDI controller can be a MIDI keyboard, a guitar controller, a violin controller (as produced by Zeta), a MIDI wind instrument (often called an EWI), or a MIDI brass instrument. When music is recorded in tempo or “live” it’s called real time recording. If a hardware MIDI controller isn’t available, a sequencing program enables the user to literally key punch (data entry) music information into the program. This is called step-time. Sequencers also give tools to edit and correct performances. Sequencers are also found in MIDI keyboards and some are still available as separate hardware units. Modern software sequencers do more than record data. These programs are now complete music production suites which include: • a sequencer with editing features • a music notation program • an audio engine for digital recording • an internal “virtual” mixing board • a complete audio effects rack containing reverb, EQ, compressors, chorus, delays, limiters, expanders, flangers, phasers, guitar and bass amp modeling, vocal editing software (de-essers and pitch correction), gain, and more • fully programmable virtual synthesizers (software versions of hardware MIDI keyboards) • virtual samplers • virtual drum machines • loop patterns Pricing of these programs ranges from free (GarageBand which is included in every new Mac), to $495US and up. The main sequencing programs include Cubase (Mac and PC), Digital Performer (Mac only), Logic (Mac only), and Sonar (PC only).
    [Show full text]
  • Design of a Pitch Quantization and Pitch Correction System for Real-Time Music Effects Signal Processing
    Design of a pitch quantization and pitch correction system for real-time music effects signal processing Corey Cheng*† *Massachusetts Institute of Technology, 617-253-2268, [email protected] †EconoSonoMetrics, LLC, [email protected] Abstract— This paper describes the design of a practical, real- can be done with a myriad of different time- and frequency- time pitch quantization system intended for digital musical domain methods, some of which have become very intricate. effects signal processing. Like most modern pitch quantizers, this These estimators are at the heart of many other sophisticated system can be used to pitch correct and even reharmonize out-of- musical signal processing techniques such as music tune singing to alternative musical scales simultaneously (e.g. transcription, multiple fundamental tracking, and source major, minor, diminished, etc.) Pitch Quantization can also be intentionally exaggerated to produce distinctive effects separation [6][8]. processing which results in an emotionally inflected and/or However, the purpose of this paper is to show how some “robotic” sound. This system uses intentionally simple signal very simple, low-complexity methods can be used to create a processing algorithms which make real-time processing possible practical pitch quantization system which can produce pitch on constrained devices. In particular, we employ tools such as an corrected, pitch shifted, and/or reharmonized audio with octave resolver and range limiter, grain boundary expansion and quality approaching currently available commercial methods. contraction, and transient detection to enhance the performance With some careful tuning “tricks” we show that more of our system. complex methods are unnecessary, and that these simpler methods can produce a system suitable for real-time I.
    [Show full text]
  • A Close Comparison of Queen Live at the Rainbow ’74 (2014) and Previously Available Versions
    A close comparison of Queen Live at the Rainbow ’74 (2014) and previously available versions. Thomas Christie Intro In this study, I’m comparing the unofficially available versions of the Rainbow concerts with the 2014 release. Old sources: - March concert – Pittrek’s three source merge bootleg - November concerts – Audio rip from the 1992 ‘Box of Trix’ VHS - November 19th concert – The three song bootleg (Son and Daughter, Stone Cold Crazy and Liar) - Now I’m Here, November, as appears on the 2002 DVD ‘Greatest Video Hits’ New source: - The 2014 release I won’t be comparing the differing use of camera angles and editing in the video – this is solely an examination of the audio, with particular focus on the vocals, wherein most of the discrepancies lie. However, if the video is pertinent in understanding the origin on the vocal, then I will refer to it. I will provide a brief summary at the beginning of each song’s entry, followed by closer analysis. I must be clear that this isn’t intended to prove any point, rather just to provide specific information on the differences between the available versions of these shows, and hopefully bring us closer to understanding what parts are true to the way the shows actually sounded, which parts are clearly 1974 studio overdubs or 2014 alterations. In the case of the November shows, there is also the question of which parts of the audio belong to which night, which is overall very difficult to ascertain when there’s so few reference points which are confirmed to belong to a single night.
    [Show full text]
  • Reactions to Analog Fetishism in Sound Recording Cultures Andy
    Reactions to Analog Fetishism in Sound Recording Cultures Andy Kelleher Stuhl Submitted to the Program in Science, Technology and Society in Partial Fulfillment of the Requirements for Honors Stanford University, May 2013 Abstract Analog fetishism, a highly visible trend in the popular discussion of digital-age sound recording, embodies a technologically deterministic understanding of music and presumes a fundamental split between digital tools and their analog predecessors. This study situates the phenomenon in the context of sonic categories from which musical value systems draw their signifiers and to which digital-age advancements pose a disruption. The case of lo-fi music and home recording is given special consideration as an example of a musical genre-ethic embedding specific relations to recording technologies. A close examination of selected conversations in online sound recording forums, alongside careful consideration of the technologies involved, reveals a strong tendency among recordist communities toward the rejection of technologically deterministic attitudes and toward the reemphasis of performative work as driving musical creation. Acknowledgements I would like to express my sincere gratitude to Professor Fred Turner and to Jay Kadis, whose advice, encouragement and inspiration shaped this thesis from the outset. Thank you to Dr. Kyoko Sato, for her excellent guidance throughout the writing process. Additional thanks are due to Professor Jonathan Sterne, for lending his thoughtful perspective as my argument was taking shape, and to Professor Cheryce Von Xylander, for her help in connecting topics in aesthetic philosophy to my early research questions. Thank you to my wonderful parents and to my compatriots in Columbae, Synergy, and the STS program—without their example, support, and eagerness to hear my ideas, I could not have completed this project.
    [Show full text]
  • 16 Computer Audio Plug-Ins
    Section16 COMPUTER AUDIO PLUG-INS Antares ...............................................1294-1296 Audio Ease ........................................1297-1299 Bias........................................................1300-1303 Celemony ..........................................1304-1305 Cycling 74..........................................1306-1307 Eventide.............................................1308-1309 IK Multimedia...................................1310-1312 iZotope.................................................1313-1315 Video McDSP..................................................1316-1320 Serato ...................................................1321-1323 Sonalksis............................................1324-1325 SoundToys........................................1326-1327 Waves ..................................................1328-1354 SourceBook Obtaining information and ordering from B&H is quick and easy. When you call us, just punch in the corresponding Quick Dial number anytime during our welcome message. The Quick Dial code then directs you to the specific The professional sales associates in our order department. For Section 16, Computer Audio Plug-Ins use Quick Dial #: 91 Professional COMPUTER AUDIO PLUG-INS 1294 ANTARES AUTOTUNE 5 Professional Pitch Correction Plug-in Auto-Tune is the multi-platform pitch detection and correction plug-in for Mac and PC considered to be the “Holy Grail of recording” by Recording magazine. Auto-Tune allows you to correct pitch and intonation problems on voice and solo instruments
    [Show full text]
  • User's Manual
    USER’S MANUAL v1.0 Table of Contents HOW DO I USE THIS THING? . 3 CONNECTION GUIDE . 6 . BASICS . 7 SOFT BUTTONS . 10 GENRE . 10 FAVORITE . 10. SETUP - INPUT . .11 . SETUP - OUTPUT . 14. SEUP - GLOBAL . 15 . SETUP - LOOP . 16 SETUP - SYSTEM . 17 EFFECTS . 18. EFFECTS - UMOD (MICRO MOD) . .19 . EFFECTS - DELAY . 20. EFFECTS - REVERB . 22 EFFECTS - HARMONY . 23 EFFECTS - DOUBLE . .25 . EFFECTS - HARDTUNE . .26 . EFFECTS - TRANSDUCER . 27 . MIX . 28 PRACTICE . .29 . TROUBLESHOOTING . 30 How Do I Use This Thing? The following section gives some examples of how you might use the VoiceLive Play . Of course, every setup is different and you may find another way of doing things that works better for you! I’ve got nothing… just a VoiceLive Play and some headphones! 1 . Press Setup and navigate to the INPUT page . 2 . Choose VOICE from the ROOMSENSE menu . 3 . Press BACK . 4 . Plug in your headphones . 5 . While singing, press MIX and adjust the HEADPHONE LEVEL until it’s as loud or soft as you like it. 6 . Press BACK . 7. Use the Control Knob to navigate through presets. Try HIT! I’ve got a microphone, headphones and an acoustic guitar, electric guitar with an amplifier, acoustic piano or electric piano with speakers… 1 . Press SETUP and navigate to the INPUT screen . 2 . Choose your mic type from the INPUT menu . 3 . Select AMBIENT/AUTO from the ROOMSENSE menu . 4 . Press BACK . 5 . Plug in your Mic 6. While singing, adjust the Mic Knob until the input LED lights GREEN (yellow is ok, but don’t let it get red and angry) 7 .
    [Show full text]
  • Pitch Correction and Auto-Tune
    Lunds universitet Bachelor Thesis Musicology MUVK01 2016-02-13 Carl Olsson Supervisor: John L Howland Out of Touch? A Study of the Technology and Framework That Is Supposedly Killing Music Carl Olsson Abstract Since the 1990-s music has become more and more polished, to the point where it is almost too perfect. Are we obsessed with perfection, both in structure and pitch? Auto-tune, playback and excessive compression are tools used in all genres, but most commonly seen in pop music. What is the fascination with everything being perfect and flawless? Is not the human part of music important today? This essay examines the “human touch” in music from different perspectives to establish a conclusion regarding the state of it. There are many factors that affect the human touch and this essay is based on four that I believe to be the main factors. Authenticity and perfection are key factors when discussing “humanity” and the human touch in music. Is music today still authentic, even with all the software manipulation and polishing tools? This essay has used academic works from different musicologist to first establish what authenticity is and how it has developed in the digital era. During the analysis I took a closer look at the most criticized and well known tool during music production, pitch correction. This analysis gives an overview of what can be done using pitch correction software such as Auto-tune, Melodyne and Waves Tune. These programs also provide graphs and curves for further analysis in terms of pitch and modulation. The graphs turned out to be excellent material for spotting track manipulation, without even listening to the track.
    [Show full text]