step1.m File Reference

Go to the source code of this file.

Functions

function step1 (song)[x
 
 wavwrite (y, 44100,'melody.wav')
 

Variables

function fs
 
function bits = wavread(song)
 
 x = resample(x,44100,fs)
 
 y = extractMelody(x,hamming(2025),4096,'baby.txt')
 

Function Documentation

function step1 ( song  )
wavwrite ( y  ,
44100  ,
'melody.wav'   
)

Variable Documentation

function bits = wavread(song)

Definition at line 3 of file step1.m.

Definition at line 3 of file step1.m.

x = resample(x,44100,fs)

Definition at line 4 of file step1.m.

y = extractMelody(x,hamming(2025),4096,'baby.txt')

Definition at line 5 of file step1.m.