(New page: clear all clc %Austin Melnyk %ECE 301 HW 1.2 %play judas priest song forwards and backwards by flipping the array using %flipud, a matlab syntax. [judas, rate, bits_per_sample] = wavread...) |
|||
Line 1: | Line 1: | ||
+ | <pre> | ||
clear all | clear all | ||
clc | clc | ||
Line 26: | Line 27: | ||
wavwrite(priest, 44100, 'priestbackwards.wav'); | wavwrite(priest, 44100, 'priestbackwards.wav'); | ||
%writes the file | %writes the file | ||
+ | </pre> |
Revision as of 09:26, 4 September 2008
clear all clc %Austin Melnyk %ECE 301 HW 1.2 %play judas priest song forwards and backwards by flipping the array using %flipud, a matlab syntax. [judas, rate, bits_per_sample] = wavread('Jpforward.wav'); wavplay(judas, rate); %The song is played forward first to show the difference in their lyrics pause(1) priest = flipud(judas); sound(priest, rate); %The song is then played backwards to reveal a barely audible hidden %message that may or may not be accidental. %The forward message sounds just like part of the music, whereas the %backwards message is probably saying "I gave my life". (probably) wavwrite(priest, 44100, 'priestbackwards.wav'); %writes the file