Mercurial > hg > aimmat
view aim-mat/tools/@signal/straight.asv @ 4:537f939baef0 tip
various bug fixes and changed copyright message
author | Stefan Bleeck <bleeck@gmail.com> |
---|---|
date | Tue, 16 Aug 2011 14:37:17 +0100 |
parents | 74dedb26614d |
children |
line wrap: on
line source
% mystraight % transforms it with two parameters: scale and fotrans function sig=straight(sig,scale,f0trans) straightCIv1('initialize'); straightCIv1('initializeparams'); straightCIv1('setwavedata',sig); straightCIv1('source',sig); straightCIv1('bandcorrbtn'); straightCIv1('bypassbtn'); scales(1)=scale; scales(1)=f0trans; straightCIv1('set_scales',scales) straightCIv1('synthesizegraded') sigc=sig;