Sound files, MATLAB in Engineering

Sound Files:

The sound signal is an illustration of a continuous signal which is sampled to result in a discrete signal. In this situation, sound waves traveling through the air are recorded as a set of measurements which can then be used to reconstruct the original sound signal as closely as possible. The sampling frequency or sampling rate is the number of samples taken per time unit, for illustration per second.

The Sound signals are generally measured in Hertz (Hz).

In MATLAB, the discrete sound signal is presented by a vector, and the frequency is measured in Hertz. The MATLAB has numerous MAT-files which store, for various sounds, the signal vector in a variable y and the frequency in variable Fs. These MAT-files involve gong, chirp, laughter, train, splat, and handel. There is a built-in function, sound, which will send a sound signal to an output device like speakers. The function call

>> sound(y,Fs)

will play the sound presented by the vector y at the frequency Fs. For illustration, to hear the gong, load variables from the MAT-file and then play the sound by using the sound function:

>> load gong

>> sound(y,Fs)

The Sound is really a wave; the amplitudes are what are stored in the sound signal variable y. These are assumed to be in the range from -1 to 1. The plot function is used to show the data.  

Posted Date: 10/22/2012 8:05:11 AM | Location : United States







Related Discussions:- Sound files, Assignment Help, Ask Question on Sound files, Get Answer, Expert's Help, Sound files Discussions

Write discussion on Sound files
Your posts are moderated
Related Questions
Function call: In the function call, not any arguments are passed so there are no input arguments in the function header. The function returns an output argument, therefore th

I have a 400x2 vel.dat and 20x2 xy.dat file, how can i plot a streamslice graph on matlab with this two files.

Forward elimination: In forward elimination, we want to obtain a 0 in the a 21 position. To accomplish this, we can alter the second line in the matrix by subtracting from it

Finding products by for loop: an illustration, when 5 is passed to be the value of the input argument n, the function will compute and return 1 + 2 + 3 + 4 + 5, or 15: >> s

Implementation of binary search: The binary search can be implemented as a recursive function. The recursive function below also implements this binary search algorithm. It re

Execution steps: Whenever the program is executed, the steps below will take place: The script calcandprintarea starts executing. The calcandprintarea calls the readr

Finding sums and products: A very general application of a for loop is to compute sums and products. For illustration, rather than of just printing the integers 1 through 5, w

Graphics Properties: The MATLAB uses the Handle Graphics in all its figures. All figures consist of various objects, each of which is assigned a handle. The object handle is a


Illustration of Gauss elimination: For illustration, for a 2 × 2 system, an augmented matrix be: Then, the EROs is applied to obtain the augmented matrix into an upper