function melody_check(signal);

specgram(signal,1024,8192);
colormap(gray);
xlabel('Time (seconds)');
ylabel('Frequency (Hertz)');
colorbar;
title(['Checksum: ' num2str(mean(signal.^4))]);