view step1.m @ 13:844d341cf643 tip

Back up before ISMIR
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Thu, 31 Oct 2013 13:17:06 +0000
parents 80a9556123da
children
line wrap: on
line source
function step1(song)

[x,fs,bits] = wavread(song);
x = resample(x,44100,fs);
y = extractMelody(x,hamming(2025),4096,'baby.txt');
wavwrite(y,44100,'melody.wav');