Revision as of 10:26, 4 September 2008 by Amelnyk (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Alumni Liaison

Questions/answers with a recent ECE grad

Ryne Rayburn