Mercurial > hg > ishara
view pitch/chromatic.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | 82075c94eed1 |
children |
line wrap: on
line source
function y=chromatic(i) % chromatic - Return degrees of chromatic scale in semitones relative to tonic % % chromatic :: unit -> [[12]->natural]. % chromatic :: [[N]->natural] -> [[N]->natural]. y=0:11; if nargin>0, y=y(i); end