(New page: %Spencer Erekson %ECE 301 Homework 1 Problem 2 %September 4, 2008 %read in the song from the .wav file data = wavread('Jpforward.wav'); %reverse the song data = flipud(data); %play the ...) |
(→Matlab Code) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ==Judas Priest Backwards== | ||
+ | |||
+ | [[Media:serekson_jpbackward.wav_ECE301Fall2008mboutin]] | ||
+ | |||
+ | ==Matlab Code== | ||
+ | <pre> | ||
%Spencer Erekson | %Spencer Erekson | ||
%ECE 301 Homework 1 Problem 2 | %ECE 301 Homework 1 Problem 2 | ||
Line 4: | Line 10: | ||
%read in the song from the .wav file | %read in the song from the .wav file | ||
− | data = wavread('Jpforward.wav'); | + | [data, Fs, nbits] = wavread('Jpforward.wav'); |
%reverse the song | %reverse the song | ||
Line 12: | Line 18: | ||
wavplay(data, 44100); | wavplay(data, 44100); | ||
+ | %output the file | ||
+ | wavwrite(data, Fs, 'serekson_jpbackward.wav') | ||
%play the song backwards a little slower | %play the song backwards a little slower | ||
Line 17: | Line 25: | ||
%you can hear him say something like "I took my life" | %you can hear him say something like "I took my life" | ||
+ | </pre> |
Latest revision as of 16:26, 5 September 2008
Judas Priest Backwards
Media:serekson_jpbackward.wav_ECE301Fall2008mboutin
Matlab Code
%Spencer Erekson %ECE 301 Homework 1 Problem 2 %September 4, 2008 %read in the song from the .wav file [data, Fs, nbits] = wavread('Jpforward.wav'); %reverse the song data = flipud(data); %play the song backwards at normal speed wavplay(data, 44100); %output the file wavwrite(data, Fs, 'serekson_jpbackward.wav') %play the song backwards a little slower wavplay(data, 32000); %you can hear him say something like "I took my life"