Mercurial > hg > adaptinstrspec
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b4e26b53072f |
---|---|
1 function freqIdcs = partialIdx2FreqIdx(partialIdcs, numBinsPerSemitone) | |
2 % freqIdcs = partialIdx2FreqIdx(partialIdcs, numBinsPerSemitone) | |
3 % | |
4 % converts indices of harmonic partials into frequency indices of the | |
5 % basis functions of the svNMD framework | |
6 | |
7 freqIdcs = 12 * numBinsPerSemitone * log2(partialIdcs) + 1; |