tomwalters@0: % support file for 'aim-mat' tomwalters@0: % tomwalters@0: % This external file is included as part of the 'aim-mat' distribution package tomwalters@0: % http://www.pdn.cam.ac.uk/cnbh/aim2006 tomwalters@0: % $Date: 2008-06-10 18:00:16 +0100 (Tue, 10 Jun 2008) $ tomwalters@0: % $Revision: 585 $ 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));