4.5

4.5 | 7 ratings Rate this file 14 Downloads (last 30 days) File Size: 1.82 KB File ID: #14210
image thumbnail

Continuous Microphone Spectrum

by Nathir Rawashdeh

 

09 Mar 2007 (Updated 09 Mar 2007)

Continuously show the updated frequency spectrum of the microphone signal

| Watch this File

File Information
Description

This short script continuously reads sound data from the windows soundcard (microphone of line-in) and displays the updated frequency spectrum. It is mostly, a data acquisition example using the built-in Windows sound card.

Required Products Data Acquisition Toolbox
MATLAB release MATLAB 7.2 (R2006a)
Other requirements Tested on WinXP, MATLAB v7.1.0.246(R14) with Data Acq. Toolbox v2.7
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
30 Mar 2007 kittisak wadsuntud  
11 Apr 2007 Albert Lu

It would be nice if the plot is updated constantly

12 Apr 2007 Jim Donohue

Albert Lu, try setting duration = .2 in the script.

12 Apr 2007 Albert Lu

Enter
drawnow;
After the plotting command. This allows for continuous update.

11 Sep 2007 Dariya Mykh  
20 Sep 2007 karthik raj

good

13 Mar 2008 shrikant modh

HI
Can u tell me how to find the frequency spectrun of the recorded speech signal.

02 Nov 2010 Tom?

Hi, does it work under linux/mac os x?

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data import Nathir Rawashdeh 22 Oct 2008 09:03:13
data export Nathir Rawashdeh 22 Oct 2008 09:03:13
microphone data acquisition winsound fft spectrum Nathir Rawashdeh 22 Oct 2008 09:03:13
microphone data acquisition winsound fft spectrum Tom? 02 Nov 2010 10:22:32

Contact us at files@mathworks.com