Function used in sound files, MATLAB in Engineering

Function used in sound files:

The MATLAB has numerous other functions which let you read and play sound or audio files. In the audio files, sampled data for each audio channel is stored. There are numerous audio file formats which are used in industry, on various computer platforms. The Audio files with extension .au were developed by the Sun Microsystems, and usually are used with Java and UNIX, while the Windows PCs usually use .wav files which were developed by Microsoft.

The MATLAB has functions wavread which will read a .wav file, wavrecord which will record, wavwrite which will write a sound file and wavplay which will play one. The default frequency for such functions is 11025 Hz.

For .au files, there are functions auread to read and auwrite to write in this format.

 

Posted Date: 10/22/2012 8:07:49 AM | Location : United States







Related Discussions:- Function used in sound files, Assignment Help, Ask Question on Function used in sound files, Get Answer, Expert's Help, Function used in sound files Discussions

Write discussion on Function used in sound files
Your posts are moderated
Related Questions
IS Functions for Strings: There are many functions for strings, that return logical true or false. The function isletter returns the logical true when the character is a lette

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

Sorting Vectors of structures: Whenever working with vector of structures, it is very common to sort based on a particular field within the structures. For illustration, recal

1. Write a MATLAB function (upperTriangle) using the functions you previously created to convert a matrix to upper triangular form. Start with row 1, column1. Find the row that has

Evaluating a string: The function eval is used to compute a string as a function. For illustration, below is the string 'plot(x)'is interpreted to be a call to plot the functi

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

Image Processing: The Images are represented as grids, or matrices, of picture elements (known as pixels). In MATLAB an image usually is represented as a matrix in which each

ischar function: The ischar function return the logical true if an array is a character array, or logical false if not. >> vec = 'EK127'; >> ischar(vec) ans =

Illustration of finding a sting: Let's enlarge this, and write a script which creates a vector of strings which are phrases. The outcome is not suppressed so that the string

Example to change the line width from the default: For illustration, to change the line width from the default of 0.5 to 1.5: >> set(hl,'LineWidth',1.5) As long as the