comparison functions/freqIdx2PartialIdx.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
comparison
equal deleted inserted replaced
-1:000000000000 0:b4e26b53072f
1 function partialIdcs = freqIdx2PartialIdx(freqIdcs, numBinsPerSemitone)
2 % converts frequency indices of the basis functions of the svNMD framework
3 % into indices of harmonic partials (! not tested !)
4
5 partialIdcs = 2.^( (freqIdcs-1)/(12*numBinsPerSemitone) );