annotate signals/mixdown.m @ 43:62e31e7980e6

Various fixes to audio, pipes, character encodings etc.
author samer
date Tue, 13 Jan 2015 13:52:18 +0000
parents 289445d368a7
children
rev   line source
samer@1 1 function y=mixdown(x),
samer@1 2 cin=channels(x);
samer@1 3 y=sigmap(@mix,x,@(c)1);
samer@1 4 function z=mix(w), z=sum(w,1)/cin; end
samer@1 5 end