annotate functions/partialIdx2FreqIdx.m @ 0:b4e26b53072f tip

Initial commit.
author Holger Kirchhoff <holger.kirchhoff@eecs.qmul.ac.uk>
date Tue, 04 Dec 2012 13:57:15 +0000
parents
children
rev   line source
holger@0 1 function freqIdcs = partialIdx2FreqIdx(partialIdcs, numBinsPerSemitone)
holger@0 2 % freqIdcs = partialIdx2FreqIdx(partialIdcs, numBinsPerSemitone)
holger@0 3 %
holger@0 4 % converts indices of harmonic partials into frequency indices of the
holger@0 5 % basis functions of the svNMD framework
holger@0 6
holger@0 7 freqIdcs = 12 * numBinsPerSemitone * log2(partialIdcs) + 1;