tomwalters@0: % support file for 'aim-mat' 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 bleeck@3: tomwalters@0: tomwalters@0: function hz=cent2fre(f0,cent) tomwalters@0: % usage: hz=cent2fre(sp,cent,oct) tomwalters@0: % returns the frequency of a cent-note, or this frequency in another octave tomwalters@0: % base is "A" at 27.5 Hz tomwalters@0: tomwalters@0: hz=f0*power(2,((cent)/1200));