
csong@52: %\usepackage{algorithmic}
csong@52: %\usepackage{algpseudocode}
christopher@54: %\usepackage{epsfig}		% This package allows encapsulated postscript
csong@52: %\usepackage{subfigure}		% This package allows subfigures
csong@52: \usepackage{amsmath}
csong@52: \usepackage{amssymb}
csong@52: 
csong@52: \DeclareMathOperator*{\argmax}{arg\,max}
csong@52: \DeclareMathOperator*{\argmin}{arg\,min}
csong@52: 
csong@52: \newcommand{\subdiv}[2]{#1\!\!\parallel_#2\,}
csong@52: 
csong@52: \def\seqmember{q}   % member of example sequence
csong@52: \def\seqnmember{\acute{\seqmember}} % member of second example sequence
csong@52: \def\seqindex{n} % index
csong@52: %\def\subseq{M}
csong@52: \def\seqdiv{\lambda} % sequence division
csong@52: \def\subseqiter{\theta} %iteration of subsequence elements
csong@52: \def\seqalpha{\Theta} % number of elements per subsequence
csong@52: \def\seqiter{a} % index for subsequences in super sequence
csong@52: \def\seqdef{Q} % example sequence
csong@52: \def\seqndef{\acute{\seqdef}} % example sequence 2
csong@52: %\def\seqdeflength{K} %
csong@52: \def\demoa{\vartriangle} % example elements
csong@52: \def\demob{\blacktriangledown} % example elements
csong@52: 
csong@52: \def\ssep{\,:\,} % set builder separator symbol
csong@52: 
csong@52: \newcommand{\seqlength}[1]{|#1|}
csong@52: 
csong@52: 
csong@52: %General symbols
csong@52: \def\time{t}
csong@52: \def\timeorigin{\time_\textrm{org}}
csong@52: \def\timeend{\time_\textrm{end}}
csong@52: \def\timespan{\time_\textrm{span}}
csong@52: \def\delt{\Delta \time}
csong@52: \def\duration{\textrm{d}}		% duration of a note
csong@52: \def\start{\textrm{s}}		% onset time of a note
csong@52: \def\starttime{{\time_{\start}}}
csong@52: \def\durationtime{{\time_{\duration}}}
csong@52: \def\velocity{\nu}		% velocity/dynamic of a note
csong@52: \def\dist{d}			% distance function 
csong@52: \def\sync{\textsf{\emph{S}}}			% total syncopation value for a model (subscripted with model name e.g. \sync_\textrm{LHL}
csong@52: \def\sequence{Y}		% for a sequence of notes
csong@52: \def\note{y}			% a note
csong@52: \def\sequenceindex{n}		% for a sequence of notes
csong@52: \def\sequencelength{{|\sequence|}}%N
csong@52: 
csong@52: %\def\metricset{XXX}
csong@52: \def\metricvector{H}
csong@52: \def\metricmember{h}
csong@52: \def\metricweight{w}
csong@52: \def\metricweightset{W}
csong@52: \def\metriclevel{L}
csong@52: \def\levelmax{\metriclevel_\textrm{max}}
csong@52: \def\metricindex{j}
csong@52: \def\metrictotal{I}
csong@52: \def\subdivision{\lambda}
csong@52: \def\subdivisionset{\Lambda}
csong@52: \def\allseqs{\mathbb{S}}
csong@52: \def\repnum{\alpha}
csong@52: 
csong@52: 
csong@52: \def\conitersum{\bigodot}
csong@52: 
csong@52: \newcommand{\dsum}[2]{
csong@52: \hspace{-0.1cm}
csong@52: \begin{array}{c}
csong@52: _{{#1}}%
csong@52: %\vspace{-0.2cm}
csong@52: \\ \conitersum% \vspace{-0.2cm}
csong@52:  \\ ^{{#2}}\\
csong@52: \end{array} \hspace{-0.2cm}
csong@52: }
csong@52: 
csong@52: \def\concatplus{\ast}
csong@52: \def\concatmul{\otimes}
csong@52: 
csong@52: %time-span symbols
csong@52: \def\timespansequence{T}
csong@52: \def\spanlength{\time_\textrm{span}}  	% length of a timespan
csong@52: \def\spanvector{V}  	% timespan vector
csong@52: \def\binaryspanvector{B}
csong@52: \def\binaryspanmember{b}
csong@52: \def\spanmember{v} 		% member of a timespan vector
csong@52: \def\spanindex{m} 		% index of timespan vector
csong@52: \def\spandim{{|\spanvector|}}%M			% dimension of a timespan vector
csong@52: \def\binaryspandim{{|\binaryspanvector|}}%B
csong@52: 
csong@52: \def\true{\textrm{True}}
csong@52: 
csong@52: \def\dontcare{\textrm{X}}
csong@52: 
csong@52: %LHL specific
csong@52: \def\lhl{LHL}
csong@52: %\def\lhlsumfunc{\varphi}
csong@52: \def\lhlfunc{\kappa}
csong@52: \def\lhlnode{\psi}
csong@52: \def\lhliter{a}
csong@52: %\def\terminals{\mathcal{S}}	% the set of all terminal nodes
csong@52: \def\NoteNode{\textsf{\small{N}}}	% node type N (note)
csong@52: \def\RestNode{\textsf{\small{R}}}	% node type R (rest)
csong@52: \def\NoteNodeIndex{j}	% node type N (note)
csong@52: \def\RestNodeIndex{i}	% node type R (rest)
csong@52: %\def\lhlnr{f(\lhlnode_\RestNodeIndex)}		% local syncopation value in LHL
csong@52: 
csong@52: 
csong@52: \def\NodeType{\eta}	% a node
csong@52: %\def\NRpairs{P}
csong@52: \def\lhlindex{a}
csong@52: \def\lhlseq{\Psi}
csong@52: 
csong@52: 
csong@52: %Keith specific
csong@52: \def\keith{KTH}
csong@52: \def\keithD{c}			% keith's D value (highest power of 2 that is less than the note duration)
csong@52: \def\keithk{k}			% keith local syncopation score for a note
csong@52: \def\keithostart{\mathfrak{o}}
csong@52: \def\keithoend{\mathfrak{e}}
csong@52: \def\keithd{g}
csong@52: \def\keitha{\xi}
csong@52: 
csong@52: % Pressing specific
csong@52: \def\pressing{PRS}
csong@52: \def\prssubdiv{\mathcal{L}}
csong@52: \def\prstotalfunc{f}
csong@52: \def\prstypefunc{g}
csong@52: \def\prssumfunc{q}
csong@52: 
csong@52: 
csong@52: % metrical
csong@52: \def\metrical{TMC} %tousaint's metrical complexity
csong@52: \def\metricity{\varphi}
csong@52: \def\binaryspanvectorhat{\hat{\binaryspanvector}}
csong@52: \def\binaryspanmemberhat{\hat{\binaryspanmember}}
csong@52: 
csong@52: %off-beatness
csong@52: \def\offbeat{TOB}
csong@52: \def\tobweight{\varsigma}
csong@52: 
csong@52: 
csong@52: \def\sioros{SG}
csong@52: \def\levelsrange{\beta}
csong@52: \def\previousweight{\gamma}
csong@52: \def\sgdif{\vartheta}
csong@52: \def\sgaverage{u}
csong@52: \def\sgpotential{\phi}
csong@52: \def\sgscore{s}
csong@52: %\def\sgx{{1}}
csong@52: %\def\sgy{{2}}
csong@52: \def\sgnext{{\rho}}
csong@52: \def\sgprev{{\varrho}}
csong@52: \def\sghhat{\ell}%{\hat{\metricweight}}}
csong@52: \def\sgmhat{{\hat{\spanindex}}}
csong@52: \def\maxmetricweight{\metricmember_\textrm{max}}
csong@52: 
csong@52: 
csong@52: % WNBD specific
csong@52: \def\wnbd{WNBD}
csong@52: \def\wnbdD{\mathcal{W}}
csong@52: \def\wnbdT{\mathcal{T}}
csong@52: \def\strongbeat{\mu}
csong@52: \def\strongbeatindex{i}
csong@52: 
csong@52: %Keller-Schubert Autocorrelation
csong@52: \def\ksa{KSA}
csong@52: 
csong@52: 
csong@52: \def\pvalue{p}
csong@52: \def\regression{r}
csong@52: 
csong@52: % Best-Single Combined
csong@52: \def\bsingle{\textrm{BSC}}
csong@52: \def\bsingletwo{\bsingle_2}
csong@52: \def\bsinglethree{\bsingle_3}
csong@52: 
csong@52: %Weighted-Multiple Combined
csong@52: \def\wmultiple{\textrm{WMC}}
csong@52: 
csong@52: % Tempo-Dependent 
csong@52: \def\tempo{\Upsilon}
csong@52: \def\td{\textsf{T}}
csong@52: \def\tdmodel{\textrm{M}}
csong@52: \def\bigtild{\hspace{-0.12cm}\sim\hspace{-0.12cm}}
csong@52: \def\littletild{\sim}
csong@52: 
csong@52: 
csong@52: \def\scalingfunction{F}
csong@52: 
csong@52: % rhythm categories
csong@52: \def\binary{4/4 monorhythms}
csong@52: \def\ternary{6/8 monorhythms}
csong@52: \def\polyrhythms{polyrhythms}
csong@52: 
csong@52: \newcommand{\refFig}[1] {Figure~\ref{#1}}
csong@52: \newcommand{\shortCap}[2] {\caption[#1]{#1 #2}}
csong@52: %\newcommand{\url}[1] {\texttt{#1}}
csong@52: 
csong@52: % Quadratic function
csong@52: \def\parameterA{a}
csong@52: \def\parameterB{b}
csong@52: \def\parameterC{c}
csong@52: 
csong@52: \def\sigp{0.001}



