tomwalters@0: %%%%%%%%%%%%%%%%%%%%% tomwalters@0: % usermodule sst % tomwalters@0: %%%%%%%%%%%%%%%%%%%%% 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 tomwalters@0: tomwalters@0: % hidden parameters tomwalters@0: sst.generatingfunction = 'gen_sst'; tomwalters@0: sst.displayname = 'Size-Shape Transform'; tomwalters@0: % sst.displayfunction = 'displaysst'; tomwalters@0: sst.revision = '$Revision: 1.2 $'; tomwalters@0: tomwalters@0: % Sets the frames, the sst image is calculated for. tomwalters@0: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% tomwalters@0: % If do_all_frames = 1 tomwalters@0: % all frames of the auditory image are transformed to a sst image tomwalters@0: % If do_all_frames = 0 only the frames specified in tomwalters@0: % framerange = [start_frame end_frame] are transformed tomwalters@0: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% tomwalters@0: sst.do_all_frames = 1; tomwalters@0: sst.framerange = [0 0]; tomwalters@0: tomwalters@0: % Sets the Range for the Auditory image tomwalters@0: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% tomwalters@0: % Calculation of the sst image for the points tomwalters@0: % audiorange = [start_point end_point] tomwalters@0: % if do_all_image = 1: start_point = 1, end_point = last point in the ai tomwalters@0: % flipimage = 1 flips the auditory image (for ti1992) tomwalters@0: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% tomwalters@0: sst.do_all_image = 1; tomwalters@0: sst.audiorange = [1 200]; tomwalters@0: sst.flipimage = 0; tomwalters@0: tomwalters@0: % Sets the variables h and c tomwalters@0: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% tomwalters@0: sst.c_2pi = [0:0.05:30]; tomwalters@0: sst.TFval = [0:0.05:16]; tomwalters@0: tomwalters@0: % TCW AIM2006 tomwalters@0: % These should be the same as the filterbank settings tomwalters@0: % (this could be implemented better and will be in future versions, where tomwalters@0: % these will not be required). tomwalters@0: sst.lowest_frequency=100; tomwalters@0: sst.highest_frequency=6000;