• No results found

Audio Editing. Using Audacity Matthew P. Fritz, DMA Associate Professor of Music Elizabethtown College

N/A
N/A
Protected

Academic year: 2021

Share "Audio Editing. Using Audacity Matthew P. Fritz, DMA Associate Professor of Music Elizabethtown College"

Copied!
24
0
0

Loading.... (view fulltext now)

Full text

(1)

Audio Editing

Using Audacity

Matthew P. Fritz, DMA

(2)

What is sound?

Sounds are pressure waves of air

Pressure pushes air molecules outwards in

all directions at the speed of sound, which

is about 340 meters per second.

When the pressure wave reaches your ear,

it pushes on your eardrum slightly.

Sounds are pressure waves of air. If there wasn't any air, we wouldn't be able to hear sounds. There's no sound in space.

!

(3)

A Clap’s waveform

!

(4)

A periodic wave

(5)

Recording in Analog

Microphone w/ a small membrane that is

free to vibrate

A mechanism translates movements of the

membrane into electrical signals

Acoustical waves are translated into

electrical waves by the microphone.

(Higher pressure corresponds to higher

voltage, and vice versa)

!

A microphone consists of a small membrane that is free to vibrate, along with a mechanism that translates movements of the membrane into electrical signals. (The exact electrical mechanism varies depending on the type of microphone.) So acoustical waves are translated into electrical waves by the microphone. Typically, higher pressure corresponds to higher voltage, and vice versa.

(6)

A tape recorder translates the waveform

yet again...

this time from an electrical signal on a

wire, to a magnetic signal on a tape

When listening to sound, the process gets

performed in reverse

magnetic signal -> electrical signal ->

mechanical

(7)

Analog-to-Digital Converter (ADC)

captures a snapshot of the electric voltage

on an audio line and represents it as a

digital number (1 or 0) that can be sent to

a computer.

By capturing the voltage thousands of times

per second results in an approximation of

the original audio.

Recording in Digital

Recording onto a tape is an example of analog recording. Audacity deals with digital recordings - recordings that have been sampled so that they can be used by a digital

computer, like the one you're using now. Digital recording has a lot of benefits over analog recording. Digital files can be copied as many times as you want, with no loss in

quality, and they can be burned to an audio CD or shared via the Internet. Digital audio files can also be edited much more easily than analog tapes.

!

(8)

Digital Audio Samples

(9)

The rate at which the samples are

captured or played back

The sample rate is the horizontal precision

of the digital waveform

Measured in Hertz (Hz), or samples per

second

Sample Rate

Sample rate: The rate at which the samples are captured or played back, measured in Hertz (Hz), or samples per second. An audio

CD has a sample rate of 44,100 Hz, often written as 44 KHz for short. This is also the default sample rate that Audacity uses, because

audio CDs are so prevalent.

(10)

Higher sampling rates allow a digital

recording to accurately record higher

frequencies of sound

Sampling rate should be at least twice the

highest frequency you want to represent

Sample Rate Ideals

(11)

The number of digits in the digital

representation of each sample

The sample size is the vertical precision of

the digital waveform

Higher sample sizes allow for more

dynamic range - louder “louds” and softer

“softs”

Sample Format or Sample Size

Sample format or sample size: Essentially this is the number of digits in the digital representation of each sample. Think of the sample rate as the horizontal precision

of the digital waveform, and the sample size as the horizontal precision of the digital waveform. An audio CD has a precision of 16 bits, which corresponds to about 5

decimal digits.

!

Higher sampling rates allow a digital recording to accurately record higher frequencies of sound. The sampling rate should be at least twice the highest frequency you want

to represent. Humans can't hear frequencies above about 20,000 Hz, so 44,100 Hz was chosen as the rate for audio CDs to just include all human frequencies. Sample rates

of 96 and 192 KHz are starting to become more common, particularly in DVD-Audio, but many people honestly can't hear the difference.

!

Higher sample sizes allow for more dynamic range - louder louds and softer softs. If you are familiar with the decibel (dB) scale, the dynamic range on an audio CD is

theoretically about 90 dB, but realistically signals that are -24 dB or more in volume are greatly reduced in quality. Audacity supports two additional sample sizes: 24-bit,

which is commonly used in digital recording, and 32-bit float, which has almost infinite dynamic range, and only takes up twice as much storage as 16-bit samples.

(12)

Playback of Digital Audio

Uses a Digital-to-Analog Converter (DAC)

Takes the sample and sets a certain voltage

on the analog outputs to recreate the

signal, that the Analog-to-Digital Converter

originally took to create the sample

Playback of digital audio uses a Digital-to-Analog Converter (DAC). This takes the sample and sets a certain voltage on the analog outputs to recreate the signal, that the

Analog-to-Digital Converter originally took to create the sample. The DAC does this as faithfully as possible and the first CD players did only that, which didn't sound good at all. Nowadays DACs

use Oversampling to smooth out the audio signal. The quality of the filters in the DAC also contribute to the quality of the recreated analog audio signal. The filter is part of a

(13)

Standard File Formats

Pulse Code Modulation (PCM)

WAV, AIFF, Sound Designer II

Compressed File

Sun AU, MP3, Ogg Vorbis, and WMA

PCM stands for Pulse Code Modulation. This is just a fancy name for the technique described above, where each number in the digital audio file represents exactly one sample in the

waveform. Common examples of PCM files are WAV files, AIFF files, and Sound Designer II files. Audacity supports WAV, AIFF, and many other PCM files.

!

The other type is compressed files. Earlier formats used logarithmic encodings to squeeze more dynamic range out of fewer bits for each sample, like the u-law or a-law encoding in the Sun

AU format. Modern compressed audio files use sophisticated psychoacoustics algorithms to represent the essential frequencies of the audio signal in far less space. Examples include MP3

(14)

Disk Storage Specs

Storage Form

Access/Seek Time

RPM

Transfer Rate

Internal hard disk

~8.5 ms @ 7200 rpm

3,600-7,200

100 Mbps at 7,200 rpm

External Firewire hard disk

~8.5 ms

4,200-7,200

~34 Mbps

PC Card hard drive

12~15 ms

3,600-4,500

5-60 Mbps

Compact flash

~10 ms

NA

1.5-16 Mbps

SD & Mini-SD

~10 ms

NA

2–20 Mbps

Memory Stick

~10 ms

NA

1.5–20 MBps

Smart Media

~10 ms

NA

.8 write/1.8 read Mbps

Zip 250 flexible disk

29–40 ms

2,941-3,676

.9–2.3 Mbps

1. Megabits/sec.

2. Memory disks are solid-state electronics with no moving platter or read/write heads.

(15)

Audacity

Free

Available for most platforms (ie. Mac,

Windows, Linux, etc)

(16)

cut copy past e trim redo undo zoom in zoom out sile nce fit p roje ct in window fit w hat’s sele cted in window

-Selection tool

Click to select a start point for audio playback, or click and drag to select a range of audio to play or edit. You can also create a selection area between two points by clicking at one point, then holding down SHIFT while clicking at the other point.!

-Envelope tool

Allows smooth volume changes to be made over the length of a track by means of embedded volume "control points". Click in the track to create a control point, then set the volume of that point by dragging one of its four vertically arranged "handles". When you create other control points at different levels, a smooth curve is interpolated between them. Dragging either the top or bottom handle ensures you can never distort the track by dragging outside its original volume envelope. Dragging an inner handle allows you to amplify a quiet piece of audio beyond the original volume envelope of the track.!

-Draw tool

When zoomed in close to maximum level, lets you adjust the volume level of individual audio samples. The closer the sample is to the horizontal line through the center of the track, the quieter the sample will be. Draw Tool can be used to eliminate narrow clicks and pops in audio by smoothing out the contour of the samples, so that one sample is not at a very different vertical position to its neighbors.!

Click above or below a sample to move it to that vertical position. You can keep holding the mouse and drag up or down to move the sample to the exact position required. Dragging left or right moves adjacent samples to the current vertical position of the mouse pointer. If you only want to move one sample, hold down CTRL before clicking. This ensures that no other samples are affected, even if you drag slightly left or right by accident.!

Smooth a group of samples by holding down ALT, which changes the pointer symbol to a brush. Then click halfway along the group to progressively smooth out the samples.!

Note: Draw Tool only works when using the default waveform view (selectable on the Track Drop-Down Menu).!

!

-Zoom tool

■ Left-click zooms in one step!

■ Shift-click or right-click zooms out one step!

■ Middle button zooms in or out to Audacity's default zoom level of about one inch per second! ■ Click and drag creates a dotted region in the waveform; release the mouse to zoom in to that reqion! You can also zoom without using Zoom Tool by using keyboard shortcuts, or the zoom buttons on the Edit Toolbar.!

!

-Time shift tool

Selecting this tool lets you synchronize audio in a project by dragging individual or multiple tracks or clips left or right along the timeline. Also use this tool to drag individual tracks or clips up or down into another track. Note: dragged audio cannot paste into other audio, so the area being dragged into must have sufficient space to accommodate the drag.!

To use Time Shift Tool, click in the audio you want to move, then drag in the required direction. To drag multiple tracks, click in the Track Control Panel of the first track you want to move, then hold down SHIFT and either:! ■ click in the Track Control Panel to select the other tracks you want to move.!

■ use up or down arrow to select the other tracks you want to move.!

(17)

Open up an audio file...

Adding silence to a selection

(18)

Now that you see the results... click “Undo”

Select a region and press “Apple>D”

(19)

Select a region using the “Select” tool

(20)

Click in the “Semi-tones” box and enter “1”

Click OK

(21)

Let’s save before we lose our changes...

Use “Save project as...” and save it anywhere...

Notice the export options...

(22)

Inserting Sound Files into Other

Sound Files

Within iTunes, you can then burn CDs of your selection... Of course this holds true for an entire recording...

You can also import another sound file into another...

(23)

Once you’ve selected a file, select “Copy”, click at the end of the top track, select “Paste”

!

(24)

Where to get it...

References

Related documents

Symptoms of allergic reactions caused by food NIAID I GUIDELINES FOR ThE DIAGNOSIS AND MANAGEMENT OF FOOD ALLERGY IN ThE UNITED STATES?. Affected part of the body

The present case 1 is of interest, because parts of the dental hard tissues consisted of typical immature complex odontoma-like structures, while the other part represented a

So, make a note for yourself: The first time you export an MP3 file, you must remember where you put that LAME file after you unzipped it.. Opening an

This audio editing software trust a full-featured professional audio and music editor for Windows and Mac Record field edit music advice and other audio recordings.. Quality

The Center For Instruction and Technology Date last updated: 9/23/13 The last thing left to do is play the entire file again to make sure all of our edits sound correct. Use

The maternally inherited glc mutant is defective in the embryonic paternal expression of PHE1 and the bi-parentally expressed genes RPS5a and FAC1, which are important for early

In the following year, (Alvarez-Chavez et al., 2000) reported on the actively Q-switched Yb 3+ - doped fiber laser which is capable of generating a 2.3 mJ of output pulse energy at

Some of the core classes will include studio engineering, music fundamentals, digital sound design, studio recording, audio production, multi-track recording, audio production