Mercurial > hg > ishara
view dsp/synth/@msine/block_sr.m @ 34:c75bb62b90a9
Imported audio synthesis tools.
author | samer |
---|---|
date | Sun, 20 Jan 2013 19:05:05 +0000 |
parents | |
children |
line wrap: on
line source
function [y,phi]=block(o,phi,f) % block - generate sine wave u=cumsum([phi,f],2); y=sin(2*pi*u(:,1:end-1)); phi=mod(u(:,end),1);