Fade In/Out and Mixing

Fade In/Out :

		octave:1 > load  hihat.dat
		ocatve:2 > plot (hihat) ; hold on
		octave:2 > fade = [ones(1,60000) linspace(1,0,length(hihat)-60000)];
		octave:3 > plot (fade)
		octave:4 > audio_play (44100, hihat .* fade)

		

Mixing :

		octave:1 > load  hihat.dat
		octave:2 > plot (hihat) ; hold on
		octave:3 > piano = sndfile_load ('~/IADSPL/AudioFiles/pianoe2.wav') ;
		octave:4 > plot (piano)
		octave:5 > piano = [piano' zeros(1,length(hihat)-length(piano))];
		octave:6 > sig = 0.8*piano + 0.75*hihat ;
		octave:7 > plot (sig)
		

back.png next.png