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
Subfunctions: Though, it is possible to have more than one function in a given M-file. For illustration, if one function calls the other, the first function would be the prima

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


Use of While loop: Here is an illustration of calling the function, passing 5000 for the value of the input argument high. >> factgthigh(5000) ans = 5040 The itera

Function strncmp: The function strncmp compares only the first n characters in the strings and ignores the rest. The initial two arguments are strings to compare, and third ar

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

Illustration of anonymous functions: Dissimilar functions stored in the M-files, when no argument is passed to an anonymous function, the parentheses should still be in the fu

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

Creating Cell arrays: There are many ways to create cell arrays. For illustration, we will create a cell array in which one element will store an integer, one element store ch

Solving 2 × 2 systems of equations: However this may be easy in a MATLAB, in normal finding solutions to the systems of equations is not. The systems which are 2 × 2 are, thou