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
Cross Product: The cross or outer product a × b of two vectors a and b is defined only whenever both a and b are the vectors in three-dimensional space, that means that they b

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

Passing arguments to functions: In all these functions examples faraway, at least one of the arguments was passed in the function call to be the value(s) of the equivalent inp

Calling of Function polyval: The curve does not appear very smooth on this plot, but that is as there are only five points in the x vector. To estimate the temperature


Removing Whitespace Characters: The MATLAB has functions which will eliminate trailing blanks from the end of a string and/or leading blanks from the starting of a string.

Technique is to create one element - vector: Technique is to create one element with the values from one structure, and use repmat to replicate it to the preferred size. Then,

Example of Exponential function modular program: In order to view the distinction in the approximate value for e as n increases, the user kept choosing Limit & entering larger

Use of Nested if-else statements: By using the nested if-else to select from among the three possibilities, not all the conditions should be tested. In this situation, if x is

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