%\autologi\medici
\documentclass{cfart}
\input texmuse.tex
\begin{document}
\makeatletter
\newinstrument{righthand}
\newinstrument[\bassclef]{lefthand}
\parindent0pt
\title{Invention in a}
\author{J. S. Bach}
\maketitle
\thispagestyle{empty}
\begin{figure}[b]
\flushright\small Typeset by \TeXmuse
\end{figure}
\begin{texmuse}
\meter44
\righthand{\rangefrom{G4}
    3R[E-AC][BE-BD]4[CE][\#GE]
    3[AE-AC][BE-BD]4[CA]5R
    3R[ECE][ACE-G] 4[F-A] [DF=]
    3[FDBD][GBD-F-]4[E-G][CE=]
    3[ECAC]4[F-D=]3[DBGB]4[E-C=]
    3[CAF-A]4[D-B]CR5R
    3R[GCE][DGDF]4[EG+][BG+]
    3[CGCE][DGDF]4[EC][G+E]
    3[C+A+EA+][CEAC]4[D\#FA+C+]
    3[B+G+DG+][BDGB]4[CEG+B+]
    3[A+\#F\#DF][BD\#F-A]4[GG+=][3G+ECE]
    4[A\#F=]3[FDBD]4[GE=]3[ECAC]
    3[\#F-G+\#FE][\#DFBD]4ER5R
    3R[G+\bB+G+][EG+\#CE][G+ECE]AR4R
    3R[FA+F][DFBD][FDBD]GR4R
    3R[EG+E][CEAC][\#DCAC]\#F-R4R
    3R[DFD][BD\#GB][DBGB]E-R4R
    3R[E-AC][BE-BD]4[CA][\#GE-]
    3[ACEC][AC\#F-A][CAF-A][\#D-CBA]
    [\#GBDB][GBD-F-][GF-D-F-][B-F-E-D-]
    [C-E-AE-][C-E-A-C-][\#D-C-A-C-][\#F--C-B-A-]
    4[\#G-B][\#GE-]3R[E-AC][BE-BD]
    [CACE][DBDF][ECEG+][FEDC]
    [BCDE][FD\#G+D][B+DCA+][FDBD]
    [\#GBCA][E-ABG][AE-C-E-]5A
    }
\lefthand{\rangefrom{E3}
    4A-5A4\#G3[AEAC][BEBD]
    4[CA][\#GE]3[AEAC][BEBD]
    4[CACA]3[DAFA][D-FA-C-]
    4[B-D-][GB=]3[BGEG][C-EG-B-]
    4[A-C-]3[D-FB-D-]4[G-B-]3[C-EA-C-]
    4[F-D--][3G-GFG][C-GCE+][DGDF+]
    4[E+C][BG][3CGCE+][DGDF+]
    4[E+C]5R3R[G+E+G+][CE+GB]
    4[ACE+G+]3[\#F+A+DF+][AD\#FA]
    4[GBD\#F+]3[E+G+CE+][GCEG]
    4[\#FAB\#D]3R[E+CE+][ACE+G+]
    3[\#F+DBD][GBDF+][E+CAC][\#FA4C=]
    3[CBCA]4[BB-]3[EE+BG][EB-G-B-]
    4[E-E][G\bB]\#CR3R[G+F+E+]
    4[DD-F\bA]BR3R[F+E+D]
    4[CC-E\#F]AR3R[E+\#D\#C]
    4[BB-D-F]\#G-R3R[DCB]
    4[CA\#GE]3[AEAC][BEBD]
    3[CE+A+E+][CE+AC][\#FACA][FA\#D-F]
    4[E\#GBG][EB-\#G-E-]
    4[A-C-EC-][A-C-]\#D--R
    3R[B\#GE][D-BGD-]4[C-E][\#G-E]
    [A-\#F][B-\#G][C-A][D-\bB]
    [\#GF][D-B-][\#G-A-][D--E-]
    [F-\#D--][E-E]6A-
    }
\end{texmuse}
    
\music{lefthand,righthand}

\end{document} 