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
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

Q.1: Consider the transmission of a sinusoid x(t) = cos(2f0t) through a channel a ected by multipath and Doppler. Let there be two paths, and assume the sinusoid is being sent fro

Illustration of Passing arguments to functions: Here is an illustration of calling this function: >> printrand() The random # is 0.94 As nothing is passed to

Illustration sorting vectors of structures: This function sorts the structures depend only on the price field. A more common function is shown next, that receives a string whi

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

Illustration of Subfunctions: This is an illustration of running this program: >> rectarea Please enter the length: 6 Please enter the width: 3 For a rectan

Data structures: The Data structures are variables which store more than one value. In order to made sense to store more than one value in a variable, the values must in some

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

Executing a program: Running the program would be completed by typing the name of the script; this would call the other functions: >> calcandprintarea Whenever prompt

function imread: The function imread can read an image file, for illustration a JPEG (.jpg) file. The function reads color images into a 3-dimensional matrix. >> myimage1