Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Interface microphones using matlab


  • Please log in to reply
No replies to this topic
prkmect
  • Members
  • 1 posts
  • Last active: Apr 20 2012 06:38 AM
  • Joined: 20 Apr 2012
I have three microphones and i want to record the signals from the microphones simultaneously, is it possible in matlab?

i used the below mentioned program and i can acquire data from one microphone but im not able to get from all the three at the same time

clear all
close all
clc
AI = analoginput('winsound');
addchannel(AI, 1);
Fs = 8000;
set (AI, 'SampleRate', Fs)
duration = 20;
set(AI, 'SamplesPerTrigger', duration*Fs);
start(AI);
data = getdata(AI);
delete(AI)