To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / _parameters / param_skeleton.m
History | View | Annotate | Download (3 KB)
| 1 |
function param = param_skeleton() |
|---|---|
| 2 |
% Algorithm parameter skeleton for Matthias Mauch's thesis code |
| 3 |
% Parameters concerning input, output and verbosity are not in here. |
| 4 |
param.beattype = 'auto'; |
| 5 |
param.dsp.extractiontype = ''; |
| 6 |
param.dsp.resampleto = []; |
| 7 |
param.dsp.blocksize = []; |
| 8 |
param.dsp.hopsize = []; |
| 9 |
param.dsp.fmin = []; |
| 10 |
param.dsp.fmax = []; |
| 11 |
param.dsp.nSbin = []; |
| 12 |
param.dsp.noterange = []; |
| 13 |
param.dsp.minMidinote = []; |
| 14 |
param.dsp.maxMidinote = []; |
| 15 |
param.dsp.medfiltlength = []; % length of a median filter in frames |
| 16 |
param.dsp.nrmsmoothlen = []; |
| 17 |
param.dsp.bassbin13 = true; % is there a thirteenth bin corresponding to "no bass" |
| 18 |
param.dsp.norm = 'max'; |
| 19 |
param.dsp.separatenormalising = true; |
| 20 |
param.dsp.mutesilent = false; |
| 21 |
param.dsp.manualbeats = false; |
| 22 |
param.dsp.nochord05 = false; |
| 23 |
|
| 24 |
param.newchroma.partials1 = 0.6; |
| 25 |
param.newchroma.partials2 = 0.6; |
| 26 |
param.newchroma.standardise = true; |
| 27 |
param.newchroma.whitemethod = 'standardize'; |
| 28 |
|
| 29 |
param.dbn.name = ''; % name of the model |
| 30 |
param.dbn.nMeter = []; % number of different meters |
| 31 |
param.dbn.nMetpos = []; % number of metric positions (in the different meters) |
| 32 |
param.dbn.nBass = []; |
| 33 |
param.dbn.keyset = {}; % set of key names
|
| 34 |
param.dbn.key_c = []; % strange variable c for expert function |
| 35 |
param.dbn.nKey = []; |
| 36 |
param.dbn.chordclassset = {}; % set of chord classes
|
| 37 |
param.dbn.nChord = []; |
| 38 |
param.dbn.chordpcs = []; % chord pitch class set (binary vector of length 12) |
| 39 |
param.dbn.chordbassnotes = []; |
| 40 |
param.dbn.basshaschordnotes = false; |
| 41 |
param.dbn.chromavar = []; % variance of the chroma vector, applicable in manually set model |
| 42 |
param.dbn.basschromavar = []; % same as above for the bass |
| 43 |
param.dbn.beattrans = []; % transition probability to next beat (manually set) |
| 44 |
param.dbn.keychange = []; % key change probability (manually set) |
| 45 |
param.dbn.nominalbass = []; % probability of nominal bass pc sounding on first beat of chord |
| 46 |
param.dbn.nominalbass_inner = []; % as above, but on the rest of the beats of a chord |
| 47 |
param.dbn.chordchange = []; % one minus prob of chord change at different beats |
| 48 |
param.dbn.infermpe = true; |
| 49 |
param.dbn.inferencebypart = false; |
| 50 |
|
| 51 |
param.seg.type = ''; % "standard" segmentation, with automatic "editor" intervention, "none", or "manual" segmentation, tc. |
| 52 |
param.seg.beattype = ''; % what kind of beat tracking |
| 53 |
param.seg.chroma = ''; % what kind of chroma (not just wide or treble, but also which techinque) |
| 54 |
param.seg.quantile = []; % quantile as in ISMIR paper equation (3) |
| 55 |
param.seg.editor = false; % if true, look for frequent sub-segments |
| 56 |
param.seg.beat_pairs = false; % pairing up beats for decreased chance of random match |
| 57 |
param.seg.medfilt_length = []; % length of median filter over similarity matrix |
| 58 |
param.seg.barline_spacing = []; % |
| 59 |
param.seg.thresh_beat = []; % beat similarity has to be at least this |
| 60 |
param.seg.minlength = []; % min length of segment |
| 61 |
param.seg.maxlength = []; % max length of segment |
| 62 |
param.seg.dynamic = false; % use dynamic time warping |
| 63 |
param.seg.standardise = false; % |
| 64 |
param.seg.thresh_seg = []; % take segments over this threshold (in units above std) |
| 65 |
param.seg.inferenceoverlap = 8; |