h = [0.5, 1, 0.5];

[x_original, Fs] = wavread('cntry.wav');
sound(x_original, Fs);

x = x_original;

c = 0;
v = 0;
for z = x_original
    if c==0
        c = 1;
        v = v+1;
    elseif c==1
        c = 0;
        x(v) = 0;
        v = v+1;
    end
end

sound(x, Fs);

y = conv(h, x);
sound(x, Fs);

%% observation 
%when the sounds played individually I noticed that
%h[n] managed to recover the missing info in X[n].
