%jknappen\sauter
\documentclass{cfart}
\input texmuse.tex
\begin{document}
\makeatletter
\newinstrument{righthand}
\newinstrument[\bassclef]{lefthand}
\parindent0pt

\title{Invention in B$\flat$}
\author{J. S. Bach}
\maketitle
\thispagestyle{empty}
\begin{figure}[b]
\flushright\small Typeset by \TeXmuse
\end{figure}

\begin{texmuse}
\meter44\key{-2}
\righthand{\rangefrom{B5}
    3R2[BCDC3B][FDB+F][D2FEDE3F][BCF-\bA-]   \rangefrom{E4}[G2EFGF3E][BGE+B][G2B\bAGA3B][EGC-E]
    \rangefrom{A4}[A2CDED3C][A+FC+A+]\rangefrom{F4}[E2FGAG3F][CAF+C]    4DR3R2[G+F+EF+3G+]4CR3R2[F+EDE3F+]
    4BR3R2[EDCD3E][A2CBAB3C]4FR     [F+FAC]5F+R
    4R[FBD]5F+R     4R[GBC]5\nER
    3R[2FGAG3F][CAF+C][A+2EDCD3E][AC\#FA]   4[BDBG][\bAF+AF]
    \rangefrom{C4}3[G2CDED3C][GEC+G][D+2\bAGFG3A][DF\nB-G]  4ER3R[2CDED3C]4[C+.3B][A2FGAG3F]
    \rangefrom{B4}4[F.3E][D2BCDC3B]4[B+.3\bA][G2B+AGA3B+]   [E2GFEF3G][C2EDCD3E][A-2CDED3C][F2\bA-G-F-G-3A-]
    \rangefrom{D4}3[G2BCD+C3B][E+2GFEF3G][F2ABCB3A][D+2FEDE3F]  [E2GABA3G][C2EDC-D3E]5D3R2[BCD+C3B]
    \rangefrom{B4}3[FDB+F][D2FEDE3F][BEBE]\rangefrom{E4}[G2EFGF3E]  [BGE+B][G2B\bAGA3B]4[EE+=][3E+2E+DCD3E+]
    4[FE+=]3[E+2CDE+D3C][F+2DCBC3D][FBCA]   7B}
\lefthand{\rangefrom{B3}
    4[B+BDF]5B+R     4R[BEG]5B+R
    4R[BCE]5AR      \rangefrom{B4}3R2[BDED3B]4ER3R2[A-BCB3A-]4DR
    \rangefrom{C3}3R2[GABA3G][C+2CDED3C]4[FF-]3R[C+AF]      3R2[FGAG3F][C+AF+C+][A2C+BAB3C+][FACE]
    [D2B-CDC3B-][FDBF][D2FEDE3F][B-DG-B-]      [\nE-2G-A-B-A-3G-][\nECGE][B2CDED3C][GEC+G]
    4[AC+AF][\#FAFD]    [3G2G-A-BA-3G-][DBGD][B+2\bAGFG3A][DFBD]
    4[EGEC][\nBDBG-]    \rangefrom{C2}3[C+2CDED3C]4[C+.3B][A2FGAG3F][4F+.3E+]
    \rangefrom{B3}[D2BCDC3B]4[B+.3\bA][G2EFGF3E][4E+.3D+]   \rangefrom{D3}[C2E+D+CD+3E+][A2CBAB3C][F2ABCB3A][D+2FEDE3F]
    [E2GABA3G][C2EDCD3E][D2FGAG3F][B2DC-B-C-3D]     [C-2EFGF3E][A2C-B-A-B-3C-][B-\rangefrom{B4}2BCDC3D]\trebleclef[FDB+F]
    [D2FEDE3F]\bassclef[BDF-\bA-]\rangefrom{E3}[G2EFGF3E][BGE+B]    [G2B\bAGA3B][EGB-D-]\rangefrom{F3}[C2FG\nAG3F][CAEC]
    [A2CBAB3C][FAC-E-][D-2BCDC3B]4[F+F]  7B}
\end{texmuse}

\FontSplit140
\music{lefthand,righthand}

\end{document}
