\documentclass{cfart}
\input texmuse.tex
\begin{document}
\makeatletter
\newinstrument{righthand}
\newinstrument[\bassclef]{lefthand}
\parindent0pt
\FontSplit140
\title{Invention in c}
\author{J. S. Bach}
\maketitle
\thispagestyle{empty}
\begin{figure}[b]
\flushright\small Typeset by \TeXmuse
\end{figure}
\begin{texmuse}
\meter44\key{-3}
\righthand{\rangefrom{A5}
    4R3[C\nB][CDEG-][A\bBAF-][FEDC]
    [\nBA+GF][EDCB][CDCD][4D.2CD]
    3[EDCD][EF4G][GF]RF
    4[FE]RD[EA=]3[AF-BF-]
    4[G-E=][3EDEB][CEA+G][FEDC]
    [BDGF][EDCB][ACFC][4D.3D]
    [EBCB]5G=3[GBCB]5A+=
    [3A+BED][GFA+G][C+B+A+G][FB+A+B+]
    [GB+A+B+][EGFG][CDEF][DEFG]
    [EFGA+][B+A+C+B+][A+GFA+]5D=
    [3DDGD][ECDB]5C=3[CG\#F\nA+]
    [CB4C=][3C\#F\nED][4B+.3E]4[F.3G]
    [4G3\rangefrom{E4}G\#F][G\nABD-][EFEC-][CBAG]
    [\#FE+DC][B\nAGF][GAGA]4[A.2GA]
    [3B\nAGA][BC4D][DC]CR
    [CB]4R\nA[BE=]3[EC-\nFC-]
    4[D-B=][3B\nABF][GBE+D][CBAG]
    [F\nACD][BAGA][EGCG][4A.3A]
    [BFGF]5D=[3DFGF]5E=
    [3EFB\nA][DCE+D][G+F+E+D][CF+E+F+]
    [DCB\nA][DCE+D][CBAC]5F+=
    [3F+GC\nB][E+DF+E+][A+G+F+E+][DG+F+G+]
    [E+DC\nB][CDE+G][A\bBAF][F+E+DC]
    [\nBA+G+F+][E+DCB][CDCD]4[D.2CD]
    3[E+DCD][E+F+4G+][G+F+]RF+
    4[F+E+]\rangefrom{C5}3[GFAG][4G.3A][4D.3C]
    7C
}
\lefthand{\rangefrom{A4}
    7R
    R
    4R\trebleclef 3[C\nB][CDEG-][A\bBAF-][FEDC]
    [\nBA+GF][EDCB][CDCD][4D.2CD]
    3[EDCD][EF4G][GF]RF
    [FE]RD[EA=]3[AF-BF-]
    4[G-E=]3[EDEB][CEA+G][FEDC]
    [BDGF][EDCB][ACFC][4D.3D]
    [EBCB]5G=3[GBCB]5A+=
    [3A+BED][GFA+G][C+B+A+G][FB+A+B+]
    [4G\bassclef3\rangefrom{E3}EF][G\nABD-][EFEC-][CBAG]
    [\#FE+DC][B\nAGF][GAGA]4]A.2GA]
    3[B\nAGA][BC4D][DC]4CR
    [CB]4R\nA[BE=]3[EC-\nFC-]
    4[D-B3][B\nABF][GBE+D][CBAG]
    [F\nACD][BAGA][EGCG][4A.3A]
    [BFGF]5D=]3[DFGF]5E+=
    [3E+FB\nA][DCE+D][G+F+E+D][CF+E+F+]
    [DF+E+F+][BDCD][G\nABC][ABCD]
    [BCDE+][F+E+G+F+][E+DCE+]5\nA=
    [3\nADG\#F][BACB][E+DCB][ADCD]
    [\nBF+E+D][C\bB\bAG][FED-C-]4]GG-]
    \rangefrom{A3}[4C.3D][EF4G][GF]RF
    [4FE=][3EFED][C\bBAG-][F-E-F-G-]
    4[C-3C\nB][CDEG-][A\bBAF-][FEDC]
    [\nBA+GF][EDCB][CG-AF-][4G-G-]
    7C-
}
\end{texmuse}

\music{lefthand,righthand}

\end{document} 