MATLAB Record GUI 1.0
File ID: 86989
MATLAB Record GUI 1.0
File Size: 10.0 KB
MATLAB Record GUI 1.0 Description
Description: The program is intended to simplify the recording and basic editing of speech waveforms as well as to present the spectrogram and the time waveform in a side-by-side format for ease of analysis.
Before you can do any recording through Record, you will need to connect a microphone or other sound source to the microphone input on your sound card. The next step is to ensure that your computer is set up to record from the microphone. On a Windows machine, you must select the microphone as the source in the Record Control window. The Record Control window can usually be accessed from a speaker icon in the system tray.
Running the program:
The program can be run by typing record at the MATLAB prompt or by opening the program in the MATLAB editor and selecting Run from the Debug menu
Sound recording is initiated through the MATLAB graphical user interface (GUI) by clicking on the record button. The duration of the recording can be adjusted to be anywhere from 1 to 6 seconds. (These are the GUI defaults, but the code can be modified to record for longer durations if desired.)
Upon being clicked, the record button executes a function that reads in mono data from the microphone jack on the sound card and stores it a MATLAB vector.
Most of the important information in a typical voice waveform is found below a frequency of about 4 kHz. Accordingly, we should sample at a least twice this frequency, or 8 kHz. (Note that all sound cards have a built in pre-filter to limit the effects of aliasing.) Since there is at least some valuable information above 4 kHz, the Record GUI has a default sampling rate of 16 kHz (however, the waveforms portrayed in this document were sampled at 11.025 kHz).
Once recorded, the time data is normalized to maximum amplitude of 0.99 and displayed on the upper plot in the GUI window. In addition to the time domain waveform, a spectrogram is computed using MATLAB's built in specgram function (part of the signal processing toolbox).
Zooming in on the Waveform:
One can examine a region of interest in the waveform using the Zoom in button. When Zoom in is clicked, the cursor will change to a cross hair. Clicking the left mouse button and dragging a rectangle around the region of interest in the time domain waveform will select a sub-section of data.
The Zoom out button will change the axis back to what it was before Zoom in was used. If you zoom in multiple times, zooming out will return you to the previous axis limits.
Listening to the Waveform:
The Play button uses MATLAB's sound function to play back (send to the speakers) the waveform that appears in the GUI. If you have zoomed in on a particular section of the waveform, only that portion of the waveform will be sent to the speakers.
Saving and Loading Data:
Save is used to write the waveform to a wave file. If zoomed in on segment of data, only that portion of the waveform will be saved.
Click Load to import any mono wave file into the Record GUI for analysis.
For a full description, see:
Related: amplitude, displayed, upper, maximum, normalized, khzonce, Recorded, addition, Domain, Processing, toolboxzooming, waveformone, Signal, specgram, computed, matlab, sampled, Document
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB
|More Similar Code|
ScopeMath (fileid 13165) is a MATLAB-based GUI that uses the Instrument Control Toolbox to retrieve waveforms from an oscilloscope and analyze them in various ways. ScopeMath_Simple is a simplified version that demonstrates how to set up a similar GUI for your own purposes. It shows how to:
1) Create the GUI
2) Connect to the instrument
3) Get data from the instrument, and
4) Clean up the resources when exiting the...
Catoki present a new alternative to MATLAB IDENT GUI. This is friendly interface for system identification SISO. CaToKi is based in a regular course of Identification based in Ljun Book. You can obtain models of easy way: ARX, ARMAX, Outpur-Error...
This code use the Matlab interface GUI to calculate the vertical antenna properties. The code requests two inputs. The inputs are:
- antenna length.
- antenna output impedance.
The program plot the antenna diagram and calculate:
A zip file containing the examples that were used in the webinar: "Teaching and Research of Computational Finance with MATLAB"
* GUI for pricing an options via CRR tree
* Script for priocing via Finitie...
Medical Image Reconstruction using Filtered Back Projection.
Matlab code (GUI) + 4 Sinograms for testing/demonstrations.
Can be used as a laboration to compare different numbers of projections, filters and interpolation methods.
Introduction of the new Object Oriented Programming capabilities makes it simple to bind MATLAB(R) variables together in a way that assures the synchronization of the variable values. This can be used to bind properties of MATLAB graphics objects...
MATLAB (R) tool for plotting Rosin-Rammler Diagram - a tool with GUI designed for creating Rosin-Ramler Diagrams, calculating Rosin-Rammler distribution parameters and size distribution values based on experimental data. It supports loading and...
"MATLAB Builder for .NET lets you incorporate your MATLAB programs into desktop applications such as Excel, enhancing familiar application interfaces with the three-dimensional analysis and visualization capabilities of MATLAB. You can enable...
A user-friendly Matlab interface for the calculation of conformations of five-membered ring systems using experimental NMR data.
There are of course many ways to import data from an Excel file into Matlab. For instance, by clicking on an Excel file in the 'Current Folder' window within Matlab, one can select data and then push it into a variable in the base workspace. One...
|User Review for MATLAB Record GUI