<< Chapter < Page Chapter >> Page >
Amplitude modulation (AM) creates interesting special effects when applied to music and speech signals. The mathematics of the modulation property of the Fourier transform are presented as the basis for understanding the AM effect, and several audio demonstrations illustrate the AM effect when applied to simple signals (sinusoids) and speech signals. The audio demonstration is implemented by a LabVIEW VI using an event structure as the basis for real-time interactive parameter control.
This module refers to LabVIEW, a software development environment that features a graphical programming language. Please see the LabVIEW QuickStart Guide module for tutorials and documentation that will help you:
•Apply LabVIEW to Audio Signal Processing
•Get started with LabVIEW
•Obtain a fully-functional evaluation edition of LabVIEW

Overview

Amplitude modulation ( AM ) is normally associated with communications systems; for example, you can find all sorts of "talk radio" stations on the AM band. In communicationsystems, the baseband signal has a bandwidth similar to that of speech or music (anywhere from 8 kHz to 20 kHz), and the modulating frequency is several orders of magnitude higher; the AM radioband is 540 kHz to 1600 kHz.

When applied to audio signals for music synthesis purposes, the modulating frequency is of the same order as the audio signals to be modulated. As described below, AM (also known as ring modulation ) splits a given signal spectrum in two, and shifts one version to a higher frequency and the other version to a lower frequency. The modulated signal is the sum of the frequency-shifted spectra, and can provide interestingspecial effects when applied to speech and music signals.

Modulation property of the fourier transform

The modulation property of the Fourier transform forms the basis of understanding how AM modifies the spectrum of a source signal. The screencast video of explains the modulation property concept and derives the equation for the modulation property.

[video] Modulation property concepts and derivation

Suppose the source signal to be modulated contains only one spectral component, i.e., the source is a sinusoid. The screencast video of shows how to apply the modulation property to predict the spectrum of the modulated signal. Once you have studied the video, try the exercises belowto ensure that you understand how to apply the property for a variety of different modulating frequencies.

[video] Determine the spectrum of a modulated sinusoid

The time-domain signal x ( t ) is a sinusoid of amplitude 2 A with corresponding frequency-domain spectrum as shown in .

Spectrum of the signal x(t)

Suppose x ( t ) is modulated by a sinusoid of frequency f m . For each of the exercises below, draw the spectrum of the modulated signal y ( t ) = cos ( 2 π f m t ) × x ( t ) , where the exercise problem statement indicates the modulation frequency.

fm = f0/5

fm = f0/2

fm = f0

fm = 1.5f0

fm = 2f0

Did you notice something interesting when f m becomes larger than f 0 ? The right-most negative frequency component shifts into the positive half of the spectrum, and the left-most positive frequency component shifts into the negative half of the spectrum. This effect issimilar to the idea of aliasing , in which a sinusoid whose frequency exceeds half the sampling frequency is said to be "folded back" into the principal alias. In the case of AM, modulating asinusoid by a frequency greater than its own frequency folds the left-most component back into positive frequency.

Audio demonstrations

The screencast video of demonstrates the aural effects of modulating a single spectral component, i.e., a sinusoid.The LabVIEW code for the demo isalso described in detail, especially the use of an event structure contained in a while-loop structure (see video in ). The event structure provides an efficient way to run an algorithmwith real-time interactive parameter control without polling the front panel controls. The event structure provides an alternative to the polled method described in Real-Time Audio Output in LabVIEW .

The LabVIEW VI demonstrated within the video is available here: am_demo1.vi . Refer to TripleDisplay to install the front-panel indicator used to view the signal spectrum.

[video] Modulating a single sinusoid
[video] LabVIEW implementation of AM demo using event structure

The next screencast video (see ) demonstrates the aural effects of modulating two spectral components created by summing together a sinusoid at frequency f0 and anothersinusoid at frequency 2f0. You can obtain interesting effects depending on whether the spectral components end up in a harmonic relationship; if so, the components fuse together and you perceive a singlepitch. If not, you perceive two distinct pitches.

The LabVIEW VI demonstrated within the video is available here: am_demo2.vi . Refer to TripleDisplay to install the front-panel indicator used to view the signal spectrum.

[video] Modulating a pair of sinusoids

The third demonstration (see ) illustrates the effect of modulating a music clip and a speech signal. You can obtain Interesting special effectsbecause the original source spectrum simultaneously shifts to a higher and lower frequency.

The LabVIEW VI demonstrated within the video is available here: am_demo3.vi . Refer to TripleDisplay to install the front-panel indicator used to view the signal spectrum.

The two audio clips used in the example are available here: flute.wav and speech.wav (speech clip courtesy of the Open Speech Repository, www.voiptroubleshooter.com/open_speech ; the sentences are two of the many phonetically-balanced Harvard Sentences , an important standard for the speech processing community).

[video] Modulating a music clip and a speech signal

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Musical signal processing with labview -- modulation synthesis. OpenStax CNX. Nov 07, 2007 Download for free at http://cnx.org/content/col10483/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Musical signal processing with labview -- modulation synthesis' conversation and receive update notifications?

Ask