christopher@31
|
1 % -----------------------------------------------
|
christopher@31
|
2 % Template for SMC 2012
|
christopher@31
|
3 % adapted from the template for SMC 2011, which was adapted from that of SMC 2010
|
christopher@31
|
4 % -----------------------------------------------
|
christopher@31
|
5
|
christopher@31
|
6 \documentclass{article}
|
christopher@31
|
7 \usepackage{smc2015}
|
christopher@31
|
8 \usepackage{times}
|
christopher@31
|
9 \usepackage{ifpdf}
|
christopher@31
|
10 \usepackage[english]{babel}
|
christopher@31
|
11 \usepackage{cite}
|
christopher@31
|
12 \usepackage{minted}
|
christopher@31
|
13
|
christopher@31
|
14 %%%%%%%%%%%%%%%%%%%%%%%% Some useful packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
christopher@31
|
15 %%%%%%%%%%%%%%%%%%%%%%%% See related documentation %%%%%%%%%%%%%%%%%%%%%%%%%%
|
christopher@31
|
16 %\usepackage{amsmath} % popular packages from Am. Math. Soc. Please use the
|
christopher@31
|
17 %\usepackage{amssymb} % related math environments (split, subequation, cases,
|
christopher@31
|
18 %\usepackage{amsfonts}% multline, etc.)
|
christopher@31
|
19 %\usepackage{bm} % Bold Math package, defines the command \bf{}
|
christopher@31
|
20 %\usepackage{paralist}% extended list environments
|
christopher@31
|
21 %%subfig.sty is the modern replacement for subfigure.sty. However, subfig.sty
|
christopher@31
|
22 %%requires and automatically loads caption.sty which overrides class handling
|
christopher@31
|
23 %%of captions. To prevent this problem, preload caption.sty with caption=false
|
christopher@31
|
24 %\usepackage[caption=false]{caption}
|
christopher@31
|
25 %\usepackage[font=footnotesize]{subfig}
|
christopher@31
|
26
|
christopher@31
|
27
|
christopher@31
|
28 %user defined variables
|
christopher@31
|
29 \def\papertitle{SYNPY: A PYTHON TOOLKIT FOR SYNCOPATION MODELLING}
|
christopher@31
|
30 \def\firstauthor{Chunyang Song}
|
christopher@31
|
31 \def\secondauthor{Marcus Pearce}
|
christopher@31
|
32 \def\thirdauthor{Christopher Harte}
|
christopher@31
|
33
|
christopher@31
|
34 % adds the automatic
|
christopher@31
|
35 % Saves a lot of ouptut space in PDF... after conversion with the distiller
|
christopher@31
|
36 % Delete if you cannot get PS fonts working on your system.
|
christopher@31
|
37
|
christopher@31
|
38 % pdf-tex settings: detect automatically if run by latex or pdflatex
|
christopher@31
|
39 \newif\ifpdf
|
christopher@31
|
40 \ifx\pdfoutput\relax
|
christopher@31
|
41 \else
|
christopher@31
|
42 \ifcase\pdfoutput
|
christopher@31
|
43 \pdffalse
|
christopher@31
|
44 \else
|
christopher@31
|
45 \pdftrue
|
christopher@31
|
46 \fi
|
christopher@31
|
47
|
christopher@31
|
48 \ifpdf % compiling with pdflatex
|
christopher@31
|
49 \usepackage[pdftex,
|
christopher@31
|
50 pdftitle={\papertitle},
|
christopher@31
|
51 pdfauthor={\firstauthor, \secondauthor, \thirdauthor},
|
christopher@31
|
52 bookmarksnumbered, % use section numbers with bookmarks
|
christopher@31
|
53 pdfstartview=XYZ % start with zoom=100% instead of full screen;
|
christopher@31
|
54 % especially useful if working with a big screen :-)
|
christopher@31
|
55 ]{hyperref}
|
christopher@31
|
56 %\pdfcompresslevel=9
|
christopher@31
|
57
|
christopher@31
|
58 \usepackage[pdftex]{graphicx}
|
christopher@31
|
59 % declare the path(s) where your graphic files are and their extensions so
|
christopher@31
|
60 %you won't have to specify these with every instance of \includegraphics
|
christopher@31
|
61 \graphicspath{{./figures/}}
|
christopher@31
|
62 \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
|
christopher@31
|
63
|
christopher@31
|
64 \usepackage[figure,table]{hypcap}
|
christopher@31
|
65
|
christopher@31
|
66 \else % compiling with latex
|
christopher@31
|
67 \usepackage[dvips,
|
christopher@31
|
68 bookmarksnumbered, % use section numbers with bookmarks
|
christopher@31
|
69 pdfstartview=XYZ % start with zoom=100% instead of full screen
|
christopher@31
|
70 ]{hyperref} % hyperrefs are active in the pdf file after conversion
|
christopher@31
|
71
|
christopher@31
|
72 \usepackage[dvips]{epsfig,graphicx}
|
christopher@31
|
73 % declare the path(s) where your graphic files are and their extensions so
|
christopher@31
|
74 %you won't have to specify these with every instance of \includegraphics
|
christopher@31
|
75 \graphicspath{{./figures/}}
|
christopher@31
|
76 \DeclareGraphicsExtensions{.eps}
|
christopher@31
|
77
|
christopher@31
|
78 \usepackage[figure,table]{hypcap}
|
christopher@31
|
79 \fi
|
christopher@31
|
80
|
christopher@31
|
81 %setup the hyperref package - make the links black without a surrounding frame
|
christopher@31
|
82 \hypersetup{
|
christopher@31
|
83 colorlinks,%
|
christopher@31
|
84 citecolor=black,%
|
christopher@31
|
85 filecolor=black,%
|
christopher@31
|
86 linkcolor=black,%
|
christopher@31
|
87 urlcolor=black
|
christopher@31
|
88 }
|
christopher@31
|
89
|
christopher@31
|
90
|
christopher@31
|
91 % Title.
|
christopher@31
|
92 % ------
|
christopher@31
|
93 \title{\papertitle}
|
christopher@31
|
94
|
christopher@31
|
95 % Authors
|
christopher@31
|
96 % Please note that submissions are NOT anonymous, therefore
|
christopher@31
|
97 % authors' names have to be VISIBLE in your manuscript.
|
christopher@31
|
98 %
|
christopher@31
|
99 % Single address
|
christopher@31
|
100 % To use with only one author or several with the same address
|
christopher@31
|
101 % ---------------
|
christopher@31
|
102 %\oneauthor
|
christopher@31
|
103 % {\firstauthor} {Affiliation1 \\ %
|
christopher@31
|
104 % {\tt \href{mailto:author1@smcnetwork.org}{author1@smcnetwork.org}}}
|
christopher@31
|
105
|
christopher@31
|
106 % Two addresses
|
christopher@31
|
107 % --------------
|
christopher@31
|
108 \threeauthors
|
christopher@31
|
109 {\firstauthor} {Queen Mary, University of London \\ %
|
christopher@31
|
110 {\tt \href{mailto:dr.chunyang.song@gmail.com}{dr.chunyang.song@gmail.com}}}
|
christopher@31
|
111 {\secondauthor} {Queen Mary, University of London \\ %
|
christopher@31
|
112 {\tt \href{mailto:marcus.pearce@qmul.ac.uk}{marcus.pearce@qmul.ac.uk}}}
|
christopher@31
|
113 {\thirdauthor} {University of York \\ %
|
christopher@31
|
114 {\tt \href{mailto:christopher.harte@york.ac.uk}{christopher.harte@york.ac.uk}}}
|
christopher@31
|
115
|
christopher@31
|
116 % Three addresses
|
christopher@31
|
117 % --------------
|
christopher@31
|
118 % \threeauthors
|
christopher@31
|
119 % {\firstauthor} {Affiliation1 \\ %
|
christopher@31
|
120 % {\tt \href{mailto:author1@smcnetwork.org}{author1@smcnetwork.org}}}
|
christopher@31
|
121 % {\secondauthor} {Affiliation2 \\ %
|
christopher@31
|
122 % {\tt \href{mailto:author2@smcnetwork.org}{author2@smcnetwork.org}}}
|
christopher@31
|
123 % {\thirdauthor} { Affiliation3 \\ %
|
christopher@31
|
124 % {\tt \href{mailto:author3@smcnetwork.org}{author3@smcnetwork.org}}}
|
christopher@31
|
125
|
christopher@31
|
126
|
christopher@31
|
127 % ***************************************** the document starts here ***************
|
christopher@31
|
128 \begin{document}
|
christopher@31
|
129 %
|
christopher@31
|
130 \capstartfalse
|
christopher@31
|
131 \maketitle
|
christopher@31
|
132 \capstarttrue
|
christopher@31
|
133 %
|
christopher@31
|
134 \begin{abstract}
|
christopher@31
|
135
|
christopher@31
|
136 talk about a syncopation toolkit
|
christopher@31
|
137
|
christopher@31
|
138 \end{abstract}
|
christopher@31
|
139 %
|
christopher@31
|
140
|
christopher@31
|
141 \section{Introduction}\label{sec:introduction}
|
christopher@31
|
142
|
christopher@31
|
143 % \url{http://www.maynoothuniversity.ie/smc15}.
|
christopher@31
|
144
|
christopher@31
|
145 bars
|
christopher@31
|
146
|
christopher@31
|
147
|
christopher@31
|
148 \section{MIDI Input}\label{sec:midi}
|
christopher@31
|
149
|
christopher@31
|
150 \cite{Taylor89MusicTheory}
|
christopher@31
|
151
|
christopher@31
|
152 \section{Text Input}\label{sec:textinput}
|
christopher@31
|
153
|
christopher@31
|
154 \begin{table*}
|
christopher@31
|
155 \small{
|
christopher@31
|
156 \begin{minted}[frame=single,framesep=10pt]{console}
|
christopher@31
|
157 <piece> ::= [<comment-lines>] <timesig> <line> | <piece> <line>
|
christopher@31
|
158
|
christopher@31
|
159 <comment-lines> ::= <comment> "\n" | <comment-lines> <comment> "\n"
|
christopher@31
|
160
|
christopher@31
|
161 <line> ::= [<barlist>] [<comment>] "\n"
|
christopher@31
|
162
|
christopher@31
|
163 <comment> ::= "#" <comment-text>
|
christopher@31
|
164
|
christopher@31
|
165 <barlist> ::= <time-info> | [<time-info>] <bar> | <barlist> <bar>
|
christopher@31
|
166
|
christopher@31
|
167 <time-info> ::= [<timesig>] [<ticks-per-quarter>] [<tempo>]
|
christopher@31
|
168
|
christopher@31
|
169 <tempo> ::= "QPM{" <digits> "}"
|
christopher@31
|
170
|
christopher@31
|
171 <ticks-per-quarter> ::= "TPQ{" <digits> "}"
|
christopher@31
|
172
|
christopher@31
|
173 <timesig> ::= "T{" <digit> "/" <digit> "}"
|
christopher@31
|
174
|
christopher@31
|
175 <bar> ::= "V{" <velocity-sequence> "}" | "Y{" <note-sequence> "}"
|
christopher@31
|
176
|
christopher@31
|
177 <note-sequence> ::= <note> | <note-sequence> "," <note>
|
christopher@31
|
178
|
christopher@31
|
179 <note> ::= "(" <digits> "," <digits> "," <digits> ")"
|
christopher@31
|
180
|
christopher@31
|
181 <velocity-sequence> ::= <decimal> | <velocity-sequence> "," <decimal>
|
christopher@31
|
182
|
christopher@31
|
183 <decimal> ::= "0" | "1" | "0." <digits>
|
christopher@31
|
184
|
christopher@31
|
185 <digits> ::= <digit> | <digits> <digit>
|
christopher@31
|
186
|
christopher@31
|
187 <digit> ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
|
christopher@31
|
188 \end{minted}
|
christopher@31
|
189 }
|
christopher@31
|
190 \caption{Syntax of rhythm text format Backus-Naur Form}
|
christopher@31
|
191 \label{ta:BNF}
|
christopher@31
|
192 \end{table*}
|
christopher@31
|
193
|
christopher@31
|
194 % \section{Page size and format}\label{sec:page_size}
|
christopher@31
|
195
|
christopher@31
|
196 % \begin{equation}
|
christopher@31
|
197 % E=mc^{2+\delta}.
|
christopher@31
|
198 % \label{eq:Emc2}
|
christopher@31
|
199 % \end{equation}
|
christopher@31
|
200 % Refer to equations like so:
|
christopher@31
|
201 % As (\ref{eq:Emc2}) shows,
|
christopher@31
|
202 % I do not completely trust Special Relativity.
|
christopher@31
|
203
|
christopher@31
|
204 % \subsection{Figures, Tables and Captions}
|
christopher@31
|
205 % \begin{table}[t]
|
christopher@31
|
206 % \begin{center}
|
christopher@31
|
207 % \begin{tabular}{|l|l|}
|
christopher@31
|
208 % \hline
|
christopher@31
|
209 % String value & Numeric value \\
|
christopher@31
|
210 % \hline
|
christopher@31
|
211 % Hej SMC & 2015 \\
|
christopher@31
|
212 % \hline
|
christopher@31
|
213 % \end{tabular}
|
christopher@31
|
214 % \end{center}
|
christopher@31
|
215 % \caption{Table captions should be placed below the table, exactly like this,
|
christopher@31
|
216 % but using words different from these.}
|
christopher@31
|
217 % \label{tab:example}
|
christopher@31
|
218 % \end{table}
|
christopher@31
|
219
|
christopher@31
|
220
|
christopher@31
|
221
|
christopher@31
|
222 % Always refer to tables and figures in the main text, for example:
|
christopher@31
|
223 % see Fig. \ref{fig:example} and \tabref{tab:example}.
|
christopher@31
|
224 % Figures and tables may extend across both columns to a maximum width of 17.2cm.
|
christopher@31
|
225
|
christopher@31
|
226
|
christopher@31
|
227
|
christopher@31
|
228 % \begin{figure}[t]
|
christopher@31
|
229 % \centering
|
christopher@31
|
230 % \includegraphics[width=0.6\columnwidth]{figure}
|
christopher@31
|
231 % \caption{Figure captions should be placed below the figure,
|
christopher@31
|
232 % exactly like this.
|
christopher@31
|
233 % When you come to SMC2015, you will
|
christopher@31
|
234 % understand why there is a large hand
|
christopher@31
|
235 % planted atop Copenhagen.\label{fig:example}}
|
christopher@31
|
236 % \end{figure}
|
christopher@31
|
237
|
christopher@31
|
238
|
christopher@31
|
239
|
christopher@31
|
240
|
christopher@31
|
241
|
christopher@31
|
242
|
christopher@31
|
243
|
christopher@31
|
244 \section{Conclusions}
|
christopher@31
|
245
|
christopher@31
|
246 some conclusions
|
christopher@31
|
247
|
christopher@31
|
248 %
|
christopher@31
|
249 \begin{acknowledgments}
|
christopher@31
|
250 You may acknowledge people, projects,
|
christopher@31
|
251 funding agencies, etc.
|
christopher@31
|
252 which can be included after the second-level heading
|
christopher@31
|
253 ``Acknowledgments'' (with no numbering).
|
christopher@31
|
254 \end{acknowledgments}
|
christopher@31
|
255
|
christopher@31
|
256 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
christopher@31
|
257 %bibliography here
|
christopher@31
|
258 \bibliography{csong.bib}
|
christopher@31
|
259
|
christopher@31
|
260 \end{document}
|