tomwalters@0: % method of class @signal tomwalters@0: % tomwalters@0: % INPUT VALUES: tomwalters@0: % tomwalters@0: % RETURN VALUE: tomwalters@0: % tomwalters@0: % bleeck@3: % This external file is included as part of the 'aim-mat' distribution package bleeck@3: % (c) 2011, University of Southampton bleeck@3: % Maintained by Stefan Bleeck (bleeck@gmail.com) bleeck@3: % download of current version is on the soundsoftware site: bleeck@3: % http://code.soundsoftware.ac.uk/projects/aimmat bleeck@3: % documentation and everything is on http://www.acousticscale.org bleeck@3: tomwalters@0: tomwalters@0: function sig=setsr(sig,sr_neu) tomwalters@0: % usage: sig=setsr(a,sr_neu) tomwalters@0: % simply sets the sample rate to a fixed value without changing the data! tomwalters@0: % if you want to change the samplerate of a signal, that is already there, tomwalters@0: % use changesr(sig,new)! tomwalters@0: tomwalters@0: tomwalters@0: sig.samplerate=sr_neu;