(→Wave Files) |
(→Wave Files) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Wave Files == | == Wave Files == | ||
− | *[[Media: | + | *[[Media:hw2reversed_ECE301Fall2008mboutin.wav|Reversed]] |
− | *[[Media: | + | *[[Media:hw2reversedslower_ECE301Fall2008mboutin.wav|Reversed(slower)]] it says "This land is mine" |
+ | *Playing the song forward i could not figure out what it was saying | ||
+ | *Playing the song in reverse I though t it said "Hey Hey Hey This Land is Mine" | ||
== MATLAB Code == | == MATLAB Code == | ||
+ | <pre> | ||
+ | clc;clear; | ||
+ | x=wavread('jpforward.wav'); | ||
+ | i=1; | ||
+ | while i<751000/2 | ||
+ | temp =x(751000-i+1); | ||
+ | x(751000-i+1)=x(i); | ||
+ | x(i)=temp; | ||
+ | i=i+1; | ||
+ | end | ||
+ | wavwrite(x,44100,'hw2reversed'); | ||
+ | wavwrite(x,40000,'hw2reversedslower'); | ||
+ | </pre> |
Latest revision as of 06:07, 4 September 2008
Wave Files
- Reversed
- Reversed(slower) it says "This land is mine"
- Playing the song forward i could not figure out what it was saying
- Playing the song in reverse I though t it said "Hey Hey Hey This Land is Mine"
MATLAB Code
clc;clear; x=wavread('jpforward.wav'); i=1; while i<751000/2 temp =x(751000-i+1); x(751000-i+1)=x(i); x(i)=temp; i=i+1; end wavwrite(x,44100,'hw2reversed'); wavwrite(x,40000,'hw2reversedslower');