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
Inverse of square matrix: The inverse is, hence the result of multiplying the scalar 1/D by each and every element in the preceding matrix. Note that this is not the matrix A,

Print from the structure: To print from the structure, a disp function will show either the whole structure or a field. >> disp(package) item_no: 123 cost: 19.99


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

Preallocating a Vector: There are necessarily two programming techniques that can be used to simulate the cumsum function. One technique is to begin with an empty vector and c

Execute a exponential function program: Running the script will take up the menu as shown in the figure: Then, what happens will totally depend on which button(s) the

Intersect function and setdiff function: The intersect function rather than returns all the values which can be found in both of the input argument vectors. >> intersect(v

Illustration of gauss-jordan elimination: An illustration of interchanging rows would be r1 ¬→ r3, that would results: Now, beginning with this matrix, an illustration of sc

Anonymous Functions: The anonymous function is a very easy, one-line function. The benefit of an anonymous function is that it does not have to be stored in an M-file. This ca

Example of Gauss-jordan: For a 2×2 system, this would results and for a 3 × 3 system, Note that the resulting diagonal form does not involve the right-most col