Mercurial > hg > smallbox
view util/matlab_midi/midi2freq.m @ 218:c38d965b5a1d luisf_dev
Moved CVX_add_const_Audio_declipping.m from solvers to the examples/AudioInpainting folder.
author | Aris Gretsistas <aris.gretsistas@eecs.qmul.ac.uk> |
---|---|
date | Thu, 22 Mar 2012 15:37:45 +0000 |
parents | a30e8bd6d948 |
children |
line wrap: on
line source
function f = midi2freq(m) % f = midi2freq(m) % % Convert MIDI note number (m=0-127) to % frequency, f, in Hz % (m can also be a vector or matrix) % % Copyright (c) 2009 Ken Schutte % more info at: http://www.kenschutte.com/midi f = (440/32)*2.^((m-9)/12);