Line 1: Line 1:
Message : Cant make out what is being said.
+
Message : Cant make out what is being said.I feel that either the word society or suicide is being used.
  
  
 +
 +
%Naman Anand Verma
 +
% Program to open a wav file ,reverse it and write it as a new file .Then
 +
% reduce the bitrate of the reverse file and write it again.
  
 
clc;
 
clc;
 
clear;
 
clear;
  
%Command used to read the wav file
+
% wavread command converts the .wav file to the digital signal data x[n]
 
+
[jpforward,srate,btrate] = wavread('H:\pu.data\Desktop\jpforward.wav');  
[jpforward,rate,bits] = wavread('jpforward.wav');
+
 
+
% Command to use the flipud function
+
 
+
jpbackward = flipud(jpforward);
+
 
+
%Command to play the file backwards
+
 
+
wavplay(jpbackward,rate);
+
  
sound(jpbackward,rate);
+
%wavplay command makes us listen to the digital signal x[n]
 +
wavplay(jpforward,srate);
  
%Command to save the wav file
+
%commands to reverse the file
 +
reverse_jp=flipud(jpforward);
 +
wavplay(reverse_jp,srate);
  
 +
%command to write the file
 +
wavwrite(reverse_jp,srate,btrate,'H:\pu.data\Desktop\jpreverse.wav');
  
wavwrite(jpbackward,rate,bits,jpbackward.wav');
+
%command to decrease the bit rate so the words sound slow.
 +
x=srate/2;
 +
wavplay(reverse_jp,x);
 +
wavwrite(reverse_jp,x,btrate,'H:\pu.data\Desktop\slowjpreverse.wav');

Revision as of 12:58, 5 September 2008

Message : Cant make out what is being said.I feel that either the word society or suicide is being used.


%Naman Anand Verma % Program to open a wav file ,reverse it and write it as a new file .Then % reduce the bitrate of the reverse file and write it again.

clc; clear;

% wavread command converts the .wav file to the digital signal data x[n] [jpforward,srate,btrate] = wavread('H:\pu.data\Desktop\jpforward.wav');

%wavplay command makes us listen to the digital signal x[n] wavplay(jpforward,srate);

%commands to reverse the file reverse_jp=flipud(jpforward); wavplay(reverse_jp,srate);

%command to write the file wavwrite(reverse_jp,srate,btrate,'H:\pu.data\Desktop\jpreverse.wav');

%command to decrease the bit rate so the words sound slow. x=srate/2; wavplay(reverse_jp,x); wavwrite(reverse_jp,x,btrate,'H:\pu.data\Desktop\slowjpreverse.wav');

Alumni Liaison

Abstract algebra continues the conceptual developments of linear algebra, on an even grander scale.

Dr. Paul Garrett