Revision as of 15:51, 3 September 2008 by Jmazzei (Talk)

Files

Media: jpbackwards_ECE301Fall2008mboutin.wav Media: jpbackwards70sampling_ECE301Fall2008mboutin.wav

Matlab Code

%Joseph Mazzei ECE 301 HW1 Problem 2
%Clear Console and all Variables
clc
clear all 

%Get a vector of the wav data and the sampling frequency
[foward,fs] = wavread('Jpforward.wav');
%Play the wav forwards
sound(foward,fs); 
%Reverse the wav data vector
backward = flipud(foward); 
%Write a wav of the backwards data at the original sampling frquency
wavwrite(backward,fs,'jpbackwards.wav');
%Play the wav backwards at original sampling frequency.
sound(backward,fs); 
%Write a wav of the backwards data at 70% the original sampling frquency
wavwrite(backward,fs*.7,'jpbackwards70psampling.wav'); 
%Play the backwards file at 70% original sampling frequency.
sound(backward,fs*.70);

Alumni Liaison

Ph.D. on Applied Mathematics in Aug 2007. Involved on applications of image super-resolution to electron microscopy

Francisco Blanco-Silva