\documentclass{article}
\usepackage{musixtex}
\begin{document}

\parindent10mm		% Staff and meter configuration
\begin{music}
\instrumentnumber{1}
\setname1{Piano}
\setstaffs1{2}
\generalmeter{\meterfrac44}

\startextract		% Set up notes, barlines, beaming, etc.
\Notes\ibu0f0\qb0{cge}\tbu0\qb0g|\hl j\en
\Notes\ibu0f0\qb0{cge}\tbu0\qb0g|\ql l\sk\ql n\en
\bar
\Notes\ibu0f0\qb0{dgf}|\qlp i\en
\Notes\tbu0\qb0g|\ibbl1j3\qb1j\tbl1\qb1k\en
\Notes\ibu0f0\qb0{cge}\tbu0\qb0g|\hl j\en
\endextract
\end{music}
\end{document}

