Mercurial > hg > aimmat
annotate aim-mat/tools/@signal/straight.m @ 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 | 20ada0af3d7d |
children |
rev | line source |
---|---|
bleeck@3 | 1 % This external file is included as part of the 'aim-mat' distribution package |
bleeck@3 | 2 % (c) 2011, University of Southampton |
bleeck@3 | 3 % Maintained by Stefan Bleeck (bleeck@gmail.com) |
bleeck@3 | 4 % download of current version is on the soundsoftware site: |
bleeck@3 | 5 % http://code.soundsoftware.ac.uk/projects/aimmat |
bleeck@3 | 6 % documentation and everything is on http://www.acousticscale.org |
tomwalters@0 | 7 % mystraight |
tomwalters@0 | 8 % transforms it with two parameters: scale and fotrans |
tomwalters@0 | 9 |
tomwalters@0 | 10 function sigret=straight(sig,f0trans,freqscale,timescale) |
tomwalters@0 | 11 |
tomwalters@0 | 12 mystraight('set_grafix',0); |
tomwalters@0 | 13 mystraight('initialize'); |
tomwalters@0 | 14 mystraight('initializeparams'); |
tomwalters@0 | 15 mystraight('setwavedata',sig); |
tomwalters@0 | 16 mystraight('source',sig); |
tomwalters@0 | 17 mystraight('bandcorrbtn'); |
tomwalters@0 | 18 mystraight('bypassbtn'); |
tomwalters@0 | 19 |
tomwalters@0 | 20 scales(1)=f0trans; |
tomwalters@0 | 21 scales(2)=freqscale; |
tomwalters@0 | 22 scales(3)=timescale; |
tomwalters@0 | 23 |
tomwalters@0 | 24 mystraight('set_scales',scales); |
tomwalters@0 | 25 sigret=mystraight('synthesizegraded'); |
tomwalters@0 | 26 |
tomwalters@0 | 27 |
tomwalters@0 | 28 |
tomwalters@0 | 29 |
tomwalters@0 | 30 |
tomwalters@0 | 31 |
tomwalters@0 | 32 |
tomwalters@0 | 33 |