LaTeX forum ⇒ Conversion ToolsHelp of MusiXTeX users Topic is solved

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
fausto_ramos
Posts: 4
Joined: Wed Apr 13, 2011 1:13 pm

Help of MusiXTeX users

Postby fausto_ramos » Tue Oct 27, 2015 12:30 pm

Hi people!

May be a very simple question for experienced users, but I'm trying to solve it for hours without success. Firstly, I'm not a musician, only a guy who needs to edit a partiture from a book page, specifically the notes circled in black shown in the file 'score.jpg' attached.

The minimum code is presented below. So, the question is, what is the code needed to produce the notes circled in black? (Note that there are many symbols there: sharp, dot and slur.)

Finally, somebody knows a MusiXTeX forum for basic questions like that? The MusiXTeX handbook is not easy to comprehend.

  1. \documentclass[9pt]{memoir}
  2. \usepackage[paperwidth=94mm, paperheight=132mm, hmargin={10mm, 10mm}, vmargin={11mm, 10mm}]{geometry}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage[T1]{fontenc}
  5. \usepackage{musixtex}
  6. \input{musixlyr}
  7.  
  8. \begin{document}
  9. \smallmusicsize \small
  10. \begin{music}
  11. \nobarnumbers
  12. \parindent 0pt
  13. \generalmeter{\meterfrac24} % 2/4 meter chosen
  14. \setlyrics{text}{Nos-sa Se-nho-ra da Con-cei-%
  15. ção_ ro-gae por nós,_ ro-gae por %
  16. nós,_ Nos-sa Se-nho-ra da Con-cei-%
  17. ção ro-gae por nós ro-gae_ por %
  18. nós_ Nos-sa Se-nhor-ra%
  19. da Con-cei-ção- ro-gae_ por%
  20. nós_ ro-gae_ por nós%
  21. Ro-gae por nós_ ro-gae por nós._}
  22. \assignlyrics1{text}%
  23. \startpiece
  24. \NOtes \uptext{\textsl{Coro:}} \qu{c} \cup c \en
  25. \Notes \ccu c \en
  26. \bar
  27. \NOtes \qu{e} \qu{e} \en
  28. \bar
  29. \NOtes \qu{g} \cup g \en
  30. \Notes \ccu g\en
  31. \endpiece % 1a. pauta
  32. \startpiece
  33. \notes \islurd0h\qu{h} \tslur0g\qu{g} \en
  34. \bar
  35. \Notes \ql{j} \clp{i} \en
  36. \notes \ccu{h} \en
  37. \bar
  38. \Notes \islurd0g\qu{g} \tslur0e\qu{e} \en
  39. \bar
  40. \NOtes \qu{h} \cup f \en
  41. \Notes \ccu e \en
  42. \endpiece % 2a. pauta
  43. \startpiece
  44. \notes \islurd0d\qu{d} \tslur0c \qu{c} \en
  45. \doublebar
  46. \Notes \uptext{\textsl{Coro:}} \qu{d} \cup d \en
  47. \notes \ccu d \en
  48. \bar
  49. \Notes \qu{ee} \en
  50. \bar
  51. \Notes \qu{^f} \en
  52. \notes \cup f \ccu f \en
  53. \endpiece % 3a. pauta
  54. \startpiece
  55. \Notes \hu g \en
  56. \bar
  57. \NOtes \qu{g} \cup g \en
  58. \Notes \ccu h \en
  59. \bar
  60. \NOtes \qlp i \en
  61. \notes \cu g \en
  62. \bar
  63. \notes \ibu0h{-1}\qb0h\tbu0\qb0g \en
  64. \endpiece % 4a pauta
  65. \end{music}
  66.  
  67. \end{document}
Attachments
partiture.jpg
Partiture to be converted using MusiXTeX
partiture.jpg (139.5 KiB) Viewed 893 times

rais
Posts: 106
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Wed Oct 28, 2015 2:01 am

Hi there,
fausto_ramos wrote:So, the question is, what is the code needed to produce the notes circled in black? (Note that there are many symbols there: sharp, dot and slur.)

yes, and a beam, too. You could try changing the last shown bar of your piece
fausto_ramos wrote:
  1. \notes \ibu0h{-1}\qb0h\tbu0\qb0g \en

to sth. like
  1. \Notes% with \notes, the sharp overprints the punctuation of its preceeding note
  2. \islurd0g% dropped the starting point for the slur by one note to circumvent the sharp
  3. \ibu0h{-1}% start single beam
  4. \qbp0h% first note under beam
  5. \sh{g}% sharp for second note under beam
  6. \tbbu0% end double beam: only the second note under the beam will be a sixteenth
  7. \tbu0% end single beam
  8. \qb0g% second (and last) note under beam
  9. \tslur0h% end slur on following note
  10. \cup h% punctuated eigth `a'
  11. \ccl i% and the previously missing sixteenth `h' note to complete this bar
  12. \en

(I've only spread the code a bit to add some comments)
KR
Rainer

fausto_ramos
Posts: 4
Joined: Wed Apr 13, 2011 1:13 pm

Postby fausto_ramos » Sat Oct 31, 2015 6:59 pm

Solved!
Attachments
Manual_principal.pdf
(15.73 KiB) Downloaded 44 times

rais
Posts: 106
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Sun Nov 01, 2015 7:10 pm

fausto_ramos wrote:Solved!

uhhm, not quite: the last bar in your attachment is the equivalent of 9/16 long. As such, it's too long by a sixteenth to fit your meter of 2/4.
You've doubled the length of the g-sharp (it only got a single beam; the original shows a double beam for this note---and my code, too).

And why you'd want to cut through the sharp sign with the slur you've got your reason(s), I guess...

last-bar-with-code-shown-above.png
last-bar-with-code-shown-above.png (7.43 KiB) Viewed 837 times


KR
Rainer


Return to “Conversion Tools”

Who is online

Users browsing this forum: No registered users and 1 guest