CS 3570 Chapter 5. Digital Audio Processing

Similar documents
Additional Reference Document

Sound/Audio. Slides courtesy of Tay Vaughan Making Multimedia Work

StudioLive MIXER INPUTS.

Mbox Basics Guide. Version 6.4 for LE Systems on Windows XP and Mac OS X. Digidesign

APPENDIX B Setting up a home recording studio

M-Powered Basics Guide

PA System in a Box. Edwin Africano, Nathan Gutierrez, Tuan Phan

Chapter 6. Meeting 6, Controlling Gain and Processing Signals

Final Exam Study Guide: Introduction to Computer Music Course Staff April 24, 2015

Gassmann Studio Tutorial

*Which code? Images, Sound, Video. Computer Graphics Vocabulary

Waves C360 SurroundComp. Software Audio Processor. User s Guide

How a Mixing Board Works

Semi-modular audio controlled analog synthesizer

Sound Design and Technology. ROP Stagehand Technician

M-16DX 16-Channel Digital Mixer

POWER USER Sampling in Sequencer Mode Phil Clendeninn Senior Product Specialist Technology Products Yamaha Corporation of America

CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS

Type / Connector Balanced, Microphones, Pro Audio Gear, Intercom, Long (over 15ft) runs, Professional Standard for audio connections.

Audio Primer V2. Basic introduction to Calrec functionality and applications

Table of Contents. Chapter 1 Overview Chapter 2 Quick Start Guide Chapter 3 Interface and Controls Interface...

LINE LEVEL VS MIC LEVEL (Impedance issues!!!!!)

Fundamentals of Digital Audio *

EE 264 DSP Project Report

P. Moog Synthesizer I

User's Manual. HUSH Licensed by

KXR. Owner, s Manual. One hundred KEYBOARD EXTENDED RANGE TYPE: PR 262 P/N

P9700S Overview. In a P9700S, the 9700K MIDI2CV8 is the power source for the other modules in the kit. A separate power supply is not needed.

PM-16 Personal Monitoring System. User Guide South D Street Fort Smith, AR

Before You Start. Program Configuration. Power On

Focusrite Saffire 6 USB. User Guide

ICONOCLAST USER GUIDE

The Deep Sound of a Global Tweet: Sonic Window #1

GEN/MDM INTERFACE USER GUIDE 1.00

SigmaDSP processors for audio signal processing

Getting Started. Pro Tools LE & Mbox 2 Micro. Version 8.0

Owner s Manual COMPLETE RECORDING SOLUTION

Making Music with Tabla Loops

MMO-4 User Documentation

TouchMix Series. Quick Start Guide. Installing the Windows Driver. Non-DAW audio playback from computer. TouchMix-30 Pro settings.

creation stations AUDIO RECORDING WITH AUDACITY 120 West 14th Street

Chapter 4. Digital Audio Representation CS 3570

Owner s Manual COMPLETE RECORDING SOLUTION

A-119 Ext. In. 1. Introduction. doepfer System A Ext. Input / Envelope Follower A-119

CHAPTER 7 1 SOUND. Effects. Level

M-16DX 16-Channel Digital Mixer

B360 Ambisonics Encoder. User Guide

Audio Quality Terminology

Contents. Welcome To K-Meter. System Requirements. Compatibility. Installation and Authorization. K-Meter User Interface.

SOFTWARE: HARDWARE: K a t i e W a r d r o b e

Chapter 2: Digitization of Sound

ALESIS Reference Manual

There are three modes of operation for JoeCoControl selectable from the drop down menu in the blue top bar of the Mic/Line input controls window.

Introduction. TUNE Explained:

Mic Mate Pro. User Manual

Getting Started Pro Tools M-Powered. Version 8.0

Studio D/E User s Guide

LM4935 Automatic Gain Control (AGC) Guide

DREAM DSP LIBRARY. All images property of DREAM.

1000-watt, 12-Channel Powered Mixer with DSP

Worship Sound Guy Presents: Ultimate Compression Cheat Sheet

Summit Audio Model DCL-200 Dual Compressor-Limiter Operating Manual

BBGUNN s Allen and Heath ZED R16 setup guide for Reaper

LIVE 16 ORDERCODE D2211

Introduction to 4Dyne

G8 Gate Documentation

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback

MUSC 1331 Lab 3 (Northwest) Using Software Instruments Creating Markers Creating an Audio CD of Multiple Sources

Project 1 Final System Design and Performance Report. Class D Amplifier

Byte = More common: 8 bits = 1 byte Abbreviation:

Connecting Your Turntable

MMO-3 User Documentation

Getting Started Guide

OPERATING INSTRUCTIONS AND USER MANUAL

Engineering Bulletin

Shifting Inverting Signal Mingler (SISM) from 4ms Company Eurorack Module User Manual

Selig Leveler. User Guide v Selig Audio - Creating Audio Devices Perfectly Within Reason!

Intro to Pro Tools. Version 8.0.4

AUDIO INSTRUCTIONS CAPTURE STUDIO ONE PRO TOOLS

Introduction. 1. Theory of Operation

This page intentionally left blank 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

Getting Started. Pro Tools LE & Mbox 2 Pro. Version 8.0

PITTSBURGH MODULAR FOUNDATION 3.1 and 3.1+ SYNTHESIZER MANUAL AND PATCH GUIDE

Sound source localization and its use in multimedia applications

CHAPTER ONE SOUND BASICS. Nitec in Digital Audio & Video Production Institute of Technical Education, College West

2. Experiment with your basic ring modulator by tuning the oscillators to see and hear the output change as the sound is modulated.

creation stations AUDIO RECORDING WITH AUDACITY 120 West 14th Street

HOOKING IT UP. Unpacking and Inspection. Installing in a Rack CHAPTER 3: Hooking It Up

Waves F6. Floating-Band Dynamic EQ. User Guide

Overview. Lecture 3. Terminology. Terminology. Background. Background. Transmission basics. Transmission basics. Two signal types

SonicCell. Using SonicCell with GarageBand. Workshop ÂØÒňÎ. Expandable Synthesizer Module and Audio Interface SCWS06 1

MP212 Principles of Audio Technology II

Final Project Specification MIDI Sound Synthesizer Version 0.5

Blackaddr Audio. GTA Pro (PCB Rev 2/A) User Guide v1.0

Back to Operator Manual Index DRAWMER DS201 OPERATORS MANUAL

IMA DIGITAL AUDIO LAB HARD DISC RECORDING

From Roger Nichols...9

DUAL LEVELAR. Two Channel Tube Compressor/Leveling Amplifier

Designing Information Devices and Systems I Spring 2015 Homework 6

CONTENTS PREFACE. Chapter 1 Monitoring Welcome To The Audio Mixing Bootcamp...xi

Transcription:

Chapter 5. Digital Audio Processing Part I: Sec. 5.1-5.3 1

Objectives Know the basic hardware and software components of a digital audio processing environment. Understand how normalization, compression, expansion, equalization, and reverb are applied and what they do to digital audio. Understand methods for audio restoration. Understand how filters are applied and how they work mathematically. Understand the concept and examples of time-based encoding for digital audio. Understand the concept and examples of perceptual encoding for digital audio. Understand the concept, implementation, and application of MPEG audio compression. 2

Digital Audio Work Environments Analog sound equipment Digital sound equipment 3

Digital Audio Work Environments Analog sound equipment A mixer(mixing console) is used to gather inputs from microphones and instruments and dynamically adjust their amplitudes, equalize the frequency components, compress the dynamic range, apply special effects, and route the processed sound to outputs such as speakers. Each input to the mixer is designated as a channel. Multiple channels can be gathered into a bus. The signal can be split to multiple outputs so that speakers can be set up appropriately around an auditorium to create the desired sound environment. 4

Digital Audio Work Environments Digital sound equipment Many hardware devices are absorbed into the software of the digital mixer. There are an analog-to-digital converter(adc) and a digitalto-analog converter(dac) inside the digital mixer. The audio/midi interface connects the hardware with the computer. 5

Sound Card Sound card is the most basic element of a digital audio workstation. A sound card provides input jacks for microphones and external audio sources converts sound from analog to digital form as it is being recorded, using an ADC provides output jacks for headphones and external speakers converts sound from digital to analog form as it is being played, using a DAC synthesizes MIDI sound samples. 6

Digital Audio Processing Software Generally, digital audio processing softwares have the following features: the ability to import and save audio files in a variety of formats an interface (called transport controls) for recording and playing sound a waveform view that allows you to edit the wave, often down to the sample level multitrack editors audio restoration tools to remove hisses, clicks, pops, and background noise 7

Digital Audio Processing Software the ability to take input from or direct output to multiple channels special effects such as reverb, panning, or flange controls for equalizing and adjusting volume and dynamic range frequency filters the ability to handle the MIDI format along with digital audio and to integrate the two types of data into one audio file the ability to record samples and add to the bank of MIDI patches compression codecs 8

Waveform View In digital audio processing programs, you often have a choice between working in a waveform view or a multitrack view. Waveform view (Adobe Audition) 9

Waveform View Sometimes also called the sample editor. You can view and edit a sound wave down to the level of individual sample values. The waveform view is where you apply effects and processes that cannot be done in real-time, primarily because these processes require that the whole audio file be examined before new values can be computed. Sample values are altered. 10

Waveform View The standard representation of time for digital audio and video is SMPTE (Society of Motion Picture and Television Engineers) The timeline is divided into hours, minutes, seconds, and frames, denoted as h : m: s : f If the file is a video, then the frame number is associated with the video. Otherwise(pure audio file), the programs provide some choices such as 24fps or 30 fps. 1:2:3:4 1 st hour, 2 nd minute, 3 rd second, 4 th frame 11

Multitrack View The multitrack view allows you to record different sounds, musical instruments, or voices on separate tracks so that you can work with these units independently. Track1 Track2 12

Multitrack View A track is a sequence of audio samples that can be played and edited as a separate unit. You can mix down the tracks, collapsing them all into one unit. Often, different tracks are associated with different instruments or voices. 13

Mastering Mastering is the process of preparing and transferring recorded audio from a source containing the final mix to a data storage device. For example, if the audio file is one musical piece to be put on a CD with others, mastering involves sequencing the pieces, normalizing their volumes with respect to one another so one doesn t sound much louder than another. 14

Channel A channel corresponds to a stream of audio data, both input and output. Recording on only one channel is called monophonic or simply mono. Two channels are stereo. Different channels are sent out through different speakers, giving the sound more dimension, as if it comes from different places. The popularity of multichannel audio is also growing. 15

Digital Audio File Types File formats differ in How are the samples encoded? What is the format of the data? Is the file compressed? etc. Raw files have nothing but sample values in them. There s no header to indicate the sampling rate, sample size, or type of encoding. Sometimes different file types have the same file extension. We must identify the file type by reading the header of the file. 16

Digital Audio File Types Representative Audio File Formats 17

Digital Audio File Types 18

DBFS Sample value dbfs 19

Dynamic Processing Dynamics processing is the process of adjusting the dynamic range of an audio selection, either to reduce or to increase. An increase in amplitude is called gain or boost. A decrease in amplitude is called attenuation or, informally, a cut. We introduce 4 digital dynamics processing tools here: hard limiting, normalization, compression, and expansion. 20

Compression and Expansion Types of dynamic range compression and expansion 21

Compression and Expansion Downward compression lowers the amplitude of signals that are above a designated level, without changing the amplitude of signals below the designated level. It reduces the dynamic range. Upward compression raises the amplitude of signals that are below a designated level without altering the amplitude of signals above the designated level. It reduces the dynamic range. Upward expansion raises the amplitude of signals that are above a designated level, without changing the amplitude of signals below that level. It increases the dynamic range. Downward expansion lowers the amplitude of signals that are below a designated level without changing the amplitude of signals above this level. It increases the dynamic range. 22

Compression and Expansion - Examples Downward compression: Amplitudes higher than -40dB is lowered by a 2 : 1 ratio. 23

Compression and Expansion - Examples Upward compression: Amplitudes higher than -30dB is lowered by a 2 : 1 ratio. 24

Limiting Audio limiting limits the amplitude of an audio signal to a designated level. Hard limiting (clipping) cuts amplitudes of samples to a given maximum and/or minimum level. Soft limiting audio signals above the designated amplitude are recorded at lower amplitude. 25

Limiting http://en.wikipedia.org/wiki/file:clipping_compared_to_limiting.svg 26

Normalization Often, normalization is used to increase the perceived loudness of a piece after the dynamic range of the piece has been compressed. Normalization steps: 1. Find the highest amplitude sample in the audio selection. 2. Determine the gain needed in the amplitude to raise the highest amplitude to maximum amplitude. 3. Raise all samples in the selection by this amount. 27

Dynamic Processing - Example Bossa.wav - original Bossa.wav - normalized 28

Dynamic Processing - Example Bossa.wav - compressed Bossa.wav compressed + normalized 29

Audio Restoration In this section, we introduce three basic types of audio restoration to alleviate the background noise that arises from the microphone, air, disk etc. Noise gating Noise reduction click and pop removal 30

Noise Gating A noise gate allows a signal to pass through only when it is above a set threshold. It is used when the level of the signal is above the level of the noise. It does not remove noise from the signal. When the gate is open, both the signal and the noise will pass through. http://en.wikipedia.org/wiki/noise_gate 31

Noise Gating Reduction Level: the amplitude to which you want the below-threshold samples to be reduced. Attack: the attack time indicates how quickly you want the gate to open when the signal goes above the threshold, like fade-in. Release: The release time indicates how quickly you want the gate to close, like fade-out. Hold: the amount of time the gate will stay open after the signal falls below the threshold. 32

Noise Gating If the signal keeps moving back and forth around the threshold, the gate will open and close continuously, creating a kind of chatter. The hysteresis control indicates the difference between the value n that caused the gate to open and the value m that will cause it to close again. If n m is large enough to contain the fluctuating signal, the noise gate won t cause chatter. 33

Noise Reduction Steps for noise reduction: 1. Get a profile of the background noise. This can be done by selecting an area that should be silent, but that contains a hum or buzz. 2. Determine the frequencies in the noise and their corresponding amplitude levels. 3. The entire signal is processed in sections(fft). The frequencies in each section are analyzed and compared to the profile, and if these sections contain frequency components similar to the noise, these can be eliminated below certain amplitudes. 34

Noise Reduction - Example Reduce the noise of Bossa_dithered.wav The area that should be silent 35

Noise Reduction - Example Perform noise reduction Red: original audio Yello: processed audio Green: noise floor 36

Noise Reduction - Example Before noise reduction After noise reduction 37

Click and Pop Removal A click or pop eliminator can look at a selected portion of an audio file, detect a sudden amplitude change, and eliminate this change by interpolating the sound wave between the start and end point of the click or pop. 38