[Tex-music] autosp-2019-08-26
I've released a new version of the autosp preprocessor. The new feature is that note spacing is now scaled for instrument musicsize, as suggested by Jean-Pierre Coulon. http://icking-music-archive.org/software/autosp/ Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
[Tex-music] autosp
I've released version 2018-02-23. Bugfixes: - avoid terminating on \endvolta... - correct version output Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
[Tex-music] autosp 2017-12-26
Hi all. I've released a new version of the autosp pre-processor: http://icking-music-archive.org/software/autosp This supports the new features of MusiXTeX 1.27, allows for single-note xtuplets and handles restbars > 1 for xtuplets or appoggiaturas. The package also includes a new program tex2aspc which re-factors conventional MusiXTeX scores into input suitable for autosp pre-processing by merging all the usual notes commands in a measure into a single \anotes command. Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp-2017-07-14
>|Bob Tennent wrote: >|> Jean-Pierre: The latest version adds space for accidentals on *all* >|notes >|in >|> collective-note sequences. Simple and effective most of the time. >| >|Could someone explain what this means, and post an example musixtex >|file? My >|puzzlement begins with the sense that raw MusiXTeX accidentals are spaced >|OK, so why routinely add space? PMX does try to add space BEFORE >|accidentals >|if it thinks there would be a crash with the PREVIOUS notehead. Don: Yes, it's added (global) space *before* accidentals to avoid clashing with preceding notes or bar-lines. "Global" space because the space has to be added to all staffs to keep notes horizontally synchronized. There's no convenient way to do that in raw musixtex. Here's an example, one measure from my version of barsant. Save this as a file with .aspc extension and process using autosp. The resulting .tex file will have \tqsk commands before the notes with accidentals. _ \input musixtex \instrumentnumber2 \setclef1\bass\setbassclefsymbol1\bassoct \nobarnumbers \startpiece\addspace\afterruleskip% \anotes\qa H\qp&\ibbl1o{-2}\qb1{qo_p}\tql1{^n}\ibbl1m{-2}\qb1{o^m=n}\tql1l\en \anotes\qp\qa{^N}&\ibbl1k{-2}\qb1{=m^kl}\tql1{^j}\ibbl1k0\qb1{=kml}\tql1k\en \raggedstoppiece \end Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp-2017-07-14
Bob Tennent wrote: > Jean-Pierre: The latest version adds space for accidentals on *all* notes in > collective-note sequences. Simple and effective most of the time. Could someone explain what this means, and post an example musixtex file? My puzzlement begins with the sense that raw MusiXTeX accidentals are spaced OK, so why routinely add space? PMX does try to add space BEFORE accidentals if it thinks there would be a crash with the PREVIOUS notehead. --Don Simons --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp-2017-07-14
>|autosp has added a tqsk line 18 although we are in \Notes >|and there is less spacing demand. Jean-Pierre: The latest version adds space for accidentals on *all* notes in collective-note sequences. Simple and effective most of the time. Sometims the added space is unnecesary, but can be avoided by using any of the *explicit* accidental commands: \sh, \bigsh, \smallsh, etc. Getting the spacing right for all situations would be quite challenging because it is the spacing of the *previous* note, not the current note, that is most relevant. Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp-2017-07-14
autosp has added a tqsk line 18 although we are in \Notes and there is less spacing demand. Bye, Jean-Pierre Coulon\input musixtex \input musixps \bigaccid \setstaffs12 \setclef1{\bass\treble} \generalsignature3 \def\bare{\bar\hardspace{3pt}} \afterruleskip=5pt \def\tqsk{\off{2\elemskip}} \startpiece \anotes\ibu1F1\qb1F|\zq{oj}\ql h\en \anotes\nbbu1\qb1G\tbu1\qb1H\en \anotes\ibbu1I1\qb1{IJ^K}\tbu1\qb1{^L}|\qp\en \anotes\ibu1L{-2}\qb1M\lpz J\qb1{^J}|\qp\en \anotes\lpz H\qb1H\lpz F\tbu1\qb1F|\zq{qom}\ql j\en \bare% 140 \anotes\ibu1D2\qb1C|\zq{qn^l}\ql j\en \anotes\nbbu1\qb1{^D}\tbu1\qb1{^E}\en \anotes\ibbu1F1\qb1{FG^H}\tbu1\qb1{^I}|\qp\en \anotes\ibbu1I0\qb1{J^KJ}\tbu1\qb1I|\hpause\en \anotes\ibbu1I0\qb1{JKJ}\tbu1\qb1I\en \bar% 141 \anotes\qu J|\qs\ibbu3d1\qb3{c^d}\tbu3\qb3{^e}\en \anotes\qp|\ibbu3f1\qb3{fg^h}\tbu3\qb3{^i}\en \anotes\hpause|\ibbu3i0\qb3{j^kj}\tqh3i\en \anotes|\ibbu3i0\qb3{jkj}\tqh3i\en \bar% 142 \anotes|\ibbl2i0\qb2{j^lg}\tbl2\qb2{^i}\en \anotes|\ibbl2i0\qb2{jlg}\tqb2i\en \anotes|\ibbl2i0\qb2{jlg}\tqb2i\en \anotes|\ibbl2i0\qb2{jlg}\tqb2i\en \linegoal1% \stoppiece \end % Generated by autosp (2017-07-14). \input musixtex \input musixps \bigaccid \setstaffs12 \setclef1{\bass\treble} \generalsignature3 \def\bare{\bar\hardspace{3pt}} \afterruleskip=5pt \def\tqsk{\off{2\elemskip}} \startpiece \Notes\ibu1F1\qb1F|\zq{oj}\ql h\en% \notes\nbbu1\qb1G\tbu1\qb1H|\hqsk\en% \notes\ibbu1I1\qb1{I}\qb1{J}\tqsk\qb1{^K}\tqsk\tbu1\qb1{^L}|\qp\sk\tqsk\sk\tqsk\sk\hqsk\en% \Notes\ibu1L{-2}\qb1M\tqsk\lpz J\qb1{^J}|\qp\tqsk\sk\en% \Notes\lpz H\qb1H\lpz F\tbu1\qb1F|\zq{qom}\ql j\sk\en% \bare% 140 \Notes\ibu1D2\qb1C|\zq{qn^l}\ql j\en% \notes\tqsk\nbbu1\qb1{^D}\tqsk\tbu1\qb1{^E}|\tqsk\tqsk\hqsk\en% \notes\ibbu1F1\qb1{F}\qb1{G}\tqsk\qb1{^H}\tqsk\tbu1\qb1{^I}|\qp\sk\tqsk\sk\tqsk\sk\hqsk\en% \notes\ibbu1I0\qb1{J}\tqsk\qb1{^K}\qb1{J}\tbu1\qb1I\hqsk|\hpause\tqsk\sk\sk\sk\hqsk\en% \notes\ibbu1I0\qb1{J}\qb1{K}\qb1{J}\tbu1\qb1I|\hqsk\en% \bar% 141 \notes\qu J\sk\tqsk\sk\tqsk\sk|\qs\ibbu3d1\qb3{c}\tqsk\qb3{^d}\tqsk\tbu3\qb3{^e}\hqsk\en% \notes\qp\sk\tqsk\sk\tqsk\sk|\ibbu3f1\qb3{f}\qb3{g}\tqsk\qb3{^h}\tqsk\tbu3\qb3{^i}\hqsk\en% \notes\hpause\tqsk\sk\sk\sk\hqsk|\ibbu3i0\qb3{j}\tqsk\qb3{^k}\qb3{j}\tqh3i\hqsk\en% \notes|\ibbu3i0\qb3{j}\qb3{k}\qb3{j}\tqh3i\hqsk\en% \bar% 142 \notes\tqsk\tqsk|\ibbl2i0\qb2{j}\tqsk\qb2{^l}\qb2{g}\tqsk\tbl2\qb2{^i}\hqsk\en% \notes|\ibbl2i0\qb2{j}\qb2{l}\qb2{g}\tqb2i\hqsk\en% \notes|\ibbl2i0\qb2{j}\qb2{l}\qb2{g}\tqb2i\hqsk\en% \notes|\ibbl2i0\qb2{j}\qb2{l}\qb2{g}\tqb2i\hqsk\en% \linegoal1% \stoppiece% \end --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp-2017-07-14
On Mon, 17 Jul 2017, Bob Tennent wrote: Sorry Jean-Pierre. It's in my local (but not yet distributed) version of musixtex.tex: \def\tqsk{\off{0.7\elemskip}} Of course you can re-define it as you wish. Thanks. But then I dream of package that would count the accidentals at each line and compute the best \tqsk for this line. Often I make a first version with tqsk=.5\elemskip, I put \alaligne at the line breaks I obtain and adjust the tqsk at each line afterwards. Otherwise the situation would be inextricable because the \tqsk influence the line breaks. Perhaps your package could adjust \tqsk at this step. Bye, Jean-Pierre Coulon --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp-2017-07-14
>|Thanks. What is the definition of \tqsk? Is it in a >|version of musixtex.tex I missed? Sorry Jean-Pierre. It's in my local (but not yet distributed) version of musixtex.tex: \def\tqsk{\off{0.7\elemskip}} Of course you can re-define it as you wish. Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp-2017-07-14
Thanks. What is the definition of \tqsk? Is it in a version of musixtex.tex I missed? The output file works if I say e.g. \def\tqsk{\off{1.5\elemskip}}. Am I supposed to adjust it myself? Bye, Jean-Pierre Coulon --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
[Tex-music] autosp-2017-07-14
I've released an updated autosp package. Automatic additional spacing for accidentals on notes in collective-note sequences has been so successful that global skips are now provided for *all* such notes (not just beamed notes). In some cases, this additional spacing may be unnecessary; additional spacing is not provided for any of the *explicit* accidental commands (\sh, \fl, \smallsh, etc.). http://icking-music-archive.org/software/autosp Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
[Tex-music] autosp-2017-06-21
The autosp preprocessor now supports the use of one to four successive commas in a collective-coding segment to get the effect of a "global" skip \QQsk, \HQsk, \TQsk or \Qsk, respectively; these generate corresponding "local" skips \qqsk, \hqsk, \tqsk or \qsk, respectively, in every staff of the output scores, which ensures that the staffs remain horizontally synchronized. Furthermore, global skips are automatically inserted before accidentals on beamed collective-coding notes; thanks to Jean-Pierre Coulon for suggesting this feature. http://icking-music-archive.org/software/autosp Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp 2017-06-14
>|Personnally I say e.g. \def\mysk{\off{.6\elemskip}} and replace your >|\Qsk with >|\mysk. With a few adjustments I obtain the best \mysk for each line. With autosp, you do have a choice among \Qsk, \QQsk, \TQsk, and \QQsk. But, most importantly, the parts are kept horizontally synchronized. >|A remark from a user of Finale: avoiding collisions >|is trivial programming for the developer of a music >|typesetting program! So it's difficult to explain why I >|do adjustments with MusiXTeX. :-) For complete control, you have to take on responsibility. Best, Bob P.S. I've had an idea how to make insertion of "global" skips easier in collective-coding sequences, the most common use case. I'll see if it works out. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp 2017-06-14
On Thu, 15 Jun 2017, Bob Tennent wrote: >|autosp does not take accidentals into account. Could this be >|improved? The "automatic" spacing is determined by the beaming (\ibb...), and can't be affected by subsequent accidentals [...] Personnally I say e.g. \def\mysk{\off{.6\elemskip}} and replace your \Qsk with \mysk. With a few adjustments I obtain the best \mysk for each line. A remark from a user of Finale: avoiding collisions is trivial programming for the developer of a music typesetting program! So it's difficult to explain why I do adjustments with MusiXTeX. :-) Bye, -- Jean-Pierre --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp 2017-06-14
Hi Jean-Pierre. >|autosp does not take accidentals into account. Could this be >|improved? The "automatic" spacing is determined by the beaming (\ibb...), and can't be affected by subsequent accidentals. >|I always correct this manually. And you still can, in several ways: small accidentals \mulooseness \multnoteskip when necessary, non-automatic notes commands or \vnotes... when necessary, adding skips, in particular, "global" skips for multi-instrument pieces; see the attached Best, Bob T. \input musixtex \hsize120mm \bigaccid \instrumentnumber2 \setclefs1{\bass} \startpiece \anotes\Cpause&\hu{cd}\qu{cdef}\ibu3d1\qb3{cde}\tqh3h\ibu3d1\qb3{_c^d_e}\tqh3{^h}\en \bar% 1 \anotes \ibbl2J1\qb2{JKL}\tql2a\ibbl2J1\qb2{J}\qb2{K}\qb2{L}\tql2{a}& \ibbu3d1\qb3{cde}\tqh3h\ibbu3d1\qb3{_c}\Qsk\qb3{^d}\Qsk\qb3{_e}\Qsk\tqh3{^h}\en \linegoal1% \stoppiece \end --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp 2017-06-14
Thanks but autosp does not take accidentals into account. Could this be improved? I always correct this manually. Bye, -- Jean-Pierre\input musixtex \hsize120mm \nostartrule \bigaccid \startpiece \anotes\hu{cd}\qu{cdef}\ibu3d1\qb3{cde}\tqh3h\ibu3d1\qb3{_c^d_e}\tqh3{^h}\en \bar% 1 \anotes\ibbu3d1\qb3{cde}\tqh3h\ibbu3d1\qb3{_c^d_e}\tqh3{^h}\en \linegoal1% \stoppiece \end --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
[Tex-music] autosp 2017-06-14
I've released a new version of the autosp preprocessor. The preprocessor now implements the effects of the \TransformNotes macro from the musixtnt package. This is significant because the musixtnt implementation of \TransformNotes is incompatible with the musixlyr extension package. The autosp pre-processor simplifies input of music for MusiXTeX without requiring the user to learn a completely different input language. MusiXTeX itself requires a user to specify horizontal-spacing commands, which can be rather complicated, especially for multi-instrument scores. The autosp pre-processor automates the generation of horizontal-spacing commands for MusiXTeX, allowing a user to input notes for a part without concern for note-spacing changes within the part or spacing requirements of other parts. http://icking-music-archive.org/software/autosp Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
[Tex-music] autosp-2017-04-06
I've released a new version of the autosp preprocessor. The preprocessor now supports (non-standard) "global" skip commands \QQsk, \HQsk and \Qsk in source documents; these generate corresponding "local" skips \qqsk, \hqsk and \qsk in *every* staff of the output score. The autosp package is available in TeXLive and MiKTeX, or from WIMA: http://icking-music-archive.org/software/autosp Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
[Tex-music] autosp package updated
Significant changes: New command-line processing. Generates a log file infile.alog. Support for pointed rests \hsp, qsp, etc. Empty note segments allowed. Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp (a new preprocessor)
| For example, | | \anotes\qa J\qa K\ca l\qa m\ca n\en | | generates | | \Notes\qa J\sk\qa K\sk\ca l\qa m\sk\ca n\en | |The chosen syntax suggests that a design goal is that in some |future implementation \anotes could be a TeX macro. Not a design goal but possible if someone with sufficient TeXpertise wants to do it. Or translation from C into lua and using luatex? Bob --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp (a new preprocessor)
2015-04-22 22:37 GMT+02:00 Bob Tennent r...@cs.queensu.ca: Download the autosp package from http://icking-music-archive.org/software/autosp/autosp.zip That zipfile was empty on Wed Apr 22 23:20:51 GMT+02:00. The other files in the directory appear to be OK, though. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp (a new preprocessor)
2015-04-22 22:37 GMT+02:00 Bob Tennent r...@cs.queensu.ca: For example, \anotes\qa J\qa K\ca l\qa m\ca n\en generates \Notes\qa J\sk\qa K\sk\ca l\qa m\sk\ca n\en The chosen syntax suggests that a design goal is that in some future implementation \anotes could be a TeX macro. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] autosp (a new preprocessor)
| Download the autosp package from | | http://icking-music-archive.org/software/autosp/autosp.zip | |That zipfile was empty on Wed Apr 22 23:20:51 GMT+02:00. Sorry. Fixed. Bob --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
[Tex-music] autosp (a new preprocessor)
autosp generates notes commands for MusiXTeX scores. It simplifies the creation of MusiXTeX scores by converting (non-standard) commands of the form \anotes ... \en into one or more \notes \Notes ... \NOTEs commands, as determined by the note values themselves, with \sk spacing commands inserted as necessary. For example, \anotes\qa J\qa K\ca l\qa m\ca n\en generates \Notes\qa J\sk\qa K\sk\ca l\qa m\sk\ca n\en All conventional MusiXTeX commands are output exactly as given in the input. The format of \anotes commands is similar to conventional notes commands, except that line breaks and spaces may precede note segments, allowing more flexible source formatting; the line breaks and spaces will be elided from the output. For example, the command given above might be formatted as follows: \anotes \qa J\qa K \ca l\qa m\ca n\en Each \anotes command may include all (or some) of the (vertically-aligned) notes in a measure. autosp determines the spacing for ordinary notes from the note commands themselves; for example, + \qa, \qu, \ql, \qp result in \NOtes; + \ca, \cu, \cl, \ds result in \Notes; and so on. The spacing for beamed notes is determined by the beam multiplicity: \ib... results in \Notes, \ibb... results in \notes, etc. Collective coding of note sequences (including accidentals and dots) is handled by expanding the sequence into a sequence of individual note commands. If a staff in an \anotes command should start with a space, the note-value of that space must be made explicit with a command of the form \wh{*}, \ha{*}, \qa{*}, \ca{*}, etc. A bar-centered whole-bar rest must be coded in the usual way, with explicit note-value spaces used wherever necessary in the \anotes command(s). Limitations Appoggiaturas and grace notes must be entered explicitly using MusiXTeX commands outside \anotes commands. autosp supports triplets introduced using any of the following commands: \triolet \uptrio \downtrio \uptuplet \downtuplet and x-tuplets introduced using \xtuplet{x}; however, MusiXTeX notation does not specify the intended duration of an x-tuplet. autosp assumes that an x-tuplet is to be played in (x-1)/x of the apparent x-tuplet duration. So, for example, a triplet in eighths is assumed to be played in the time of one quarter note. If this assumption isn't valid, the x-tuplet must be coded explicitly using MusiXTeX commands outside of \anotes commands. User-defined macros are not processed or expanded. See files quod2.tex and barsant2.tex for scores suitable for input to autosp. The 1st measure of barsant2.tex is particularly interesting, with two appoggiaturas, a note-valued space, and a 5-tuple with an intended duration of six 64ths. musixtex.tex version 1.16 or later is needed. Download the autosp package from http://icking-music-archive.org/software/autosp/autosp.zip This is the first release of a fairly complex program. It is surely not ready for production use, but please report bugs to me. Bob T. rdt(at)cs(dot)queensu(dot)ca --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music