Você está na página 1de 3

AUDIO SOUND EFFECTS USING DSP

MATLAB CODE:
fs = 44100 bits = 16 recObj = audiorecorder(fs, bits, 1); %# get(recObj) %# Collect a sample of your speech with a microphone, and plot the signal data: %# Record your voice for 5 seconds. disp('Start speaking.'); recordblocking(recObj, 5); disp('End of Recording.'); %# Play back the recording. play(recObj); %# Store data in double-precision array. myRecording = getaudiodata(recObj); %disp(size(myRecording)); %# Plot the waveform. plot(myRecording); wavwrite(myRecording, fs, bits,'sample01_6k'); %#wavplay(myRecording,fs);

OUTPUT:

SUBMITED BY: 09R11AO448:HARATHI.P 09R11A0455:SHAMA SULTANA. S.K 09R11A0435:PRANITHA.M

Você também pode gostar