2

I want to make simple rhythm notes of Cajon, this is what I want

I want to get such 16th notes

I wrote the same thing in below bar 3, but missed something.

But my bar 3 looks different

\documentclass{article}
\usepackage{musixtex}
\input{musixper} % percussion additions (percussion note heads, etc.)

\begin{document}

\begin{music}
\instrumentnumber{1}
\generalmeter{\meterfrac44}
\setclefsymbol1\drumclef
\parindent0pt\startpiece
\leftrepeat
\notes \ibu1m0\qb1f\doqb1n\qb1j\tbu1\doqb1n \en
\notes \ibu1m0\qb1f\doqb1n\qb1j\tbu1\doqb1n \en
\bar
\notes \ibbu1m0\qb1f\doqb1n\doqb1n\tbbu1\doqb1n \en
\notes \ibbu1m0\qb1j\doqb1n\doqb1n\tbbu1\doqb1n \en
\notes \ibbu1m0\qb1f\doqb1n\doqb1n\tbbu1\doqb1n \en
\notes \ibbu1m0\qb1j\doqb1n\doqb1n\tbbu1\doqb1n \en
\bar
\notes\Qqbbu fhge\Qqbbl jhgi\en
\notes\Qqbbu fhge\Qqbbl jhgi\en
\setrightrepeat\endpiece
\end{music}

\end{document}

Compiled with 3-passing

pdflatex example.tex
musixflx example
pdflatex example.tex
pdflatex example.tex

UPDATE with solution

According to the answer together with comments, the problem is about ending a beam, the doc says:

The termination of a given beam must be declared before coding the last spacing note connected to that beam.

So 16th notes is initialed by \ibbu{n}{p}{s} should be terminated by \tbu{n}

\documentclass{article}
\usepackage{musixtex}
\input{musixper} % percussion additions (percussion note heads, etc.)

\begin{document}

\begin{music}
\instrumentnumber{1}
\generalmeter{\meterfrac44}
\setclefsymbol1\drumclef
\parindent0pt\startpiece
\leftrepeat
\notes \ibu1m0\qb1f\doqb1n\qb1j\tbu1\doqb1n \en
\notes \ibu1m0\qb1f\doqb1n\qb1j\tbu1\doqb1n \en
\bar
\notes \ibbu1m0\qb1f\doqb1n\doqb1n\tbu1\doqb1n \en
\notes \ibbu1m0\qb1j\doqb1n\doqb1n\tbu1\doqb1n \en
\notes \ibbu1m0\qb1f\doqb1n\doqb1n\tbu1\doqb1n \en
\notes \ibbu1m0\qb1j\doqb1n\doqb1n\tbu1\doqb1n \en
\bar
\notes\Qqbbu fhge\Qqbbl jhgi\en
\notes\Qqbbu fhge\Qqbbl jhgi\en
\setrightrepeat\endpiece
\end{music}

\end{document}

enter image description here

1
  • I like the music :-) +1.
    – Sebastiano
    Jan 3 at 16:36

1 Answer 1

2

musixtex requires three passes to properly space music. Change the file name to something.ltx and execute

musixtex something.ltx

and everything will work. Please read musixdoc.pdf for documentation.

3
  • thank you, but it doesn't solve the problem, the upper line is still missing Jan 14 at 20:51
  • Are you using the musixtex script to compile your example? I don't know what you mean by "the upper line is still missing".
    – user22108
    Jan 14 at 21:25
  • 2
    Replace \tbbu1 by \tbu1.
    – user22108
    Jan 14 at 22:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.