Re: Making markup functions parametric

2020-07-03 Thread Ralf Mattes
;keyword function. > But I'd rather do something like > > (markup (assq-ref enclosures enclosure) "CC") > > i.e. looking up the appropriate function instead of creating a > conditional chain. But #:circle isn't a function ... Cheers RalfD > Any ideas? > > ThanksU

Re: Making markup functions parametric

2020-07-03 Thread Ralf Mattes
Am Freitag, 03. Juli 2020 21:52 CEST, Urs Liska schrieb: > Unfortunately I don't really have an idea what "#:circle" actually > *is*, so I have no clue about getting where I need to. Syntacilally? That would be a scheme keyword. Cheers, RalfD > BestUrs > > -- Ra

Re: How to pass a fraction as a parameter for a Scheme function

2020-06-09 Thread Ralf Mattes
a scheme value. Shouldn't that then be passed one, i.e: { \proportionalNotationDur #1/16 c' c' c' c' } > Thanks! -- Ralf Mattes Hochschule für Musik Freiburg Projektleitung HISinOne Schwarzwaldstr. 141, D-79102 Freiburg http://www.mh-freiburg.de

Re: use variable out side procedure

2020-05-29 Thread Ralf Mattes
[5] (formerly PLT > Scheme) for demonstration, the intention is teaching principles of > program design that are applicable to any language. > > Of note, MIT Press has made this work available online for free [6]. > > [4]: https://mitpress.mit.edu/books/how-design-programs-second-ed

Re: Getting started with Scheme

2020-05-23 Thread Ralf Mattes
> I don't know about Scheme IDEs. An internet search suggests DrScheme > might be suitable, but I think most people on this list use their > LilyPond environment for working with scheme. > > What happens if you try running the guile program on its own (not via > lilypond scheme-sandbox)? > > Kevin > -- Ralf Mattes Hochschule für Musik Freiburg Projektleitung HISinOne Schwarzwaldstr. 141, D-79102 Freiburg http://www.mh-freiburg.de

Re: Remote Ensemble Playing

2020-04-01 Thread Ralf Mattes
Or they really only watch a click track (a video with the score and the > beating metronome)? > > Thanks, g. > P.S. Hope my english is understandable. -- Ralf Mattes Hochschule für Musik Freiburg Projektleitung HISinOne Schwarzwaldstr. 141, D-79102 Freiburg http://www.mh-freiburg.de

Re: Remote Ensemble Playing

2020-03-28 Thread Ralf Mattes
chael > -- Ralf Mattes Hochschule für Musik Freiburg Projektleitung HISinOne Schwarzwaldstr. 141, D-79102 Freiburg http://www.mh-freiburg.de

Re: Remote Ensemble Playing

2020-03-28 Thread Ralf Mattes
the OP: there is an immanent latency in all network connections - packets need to pass through switches and routers, and let's not forget the speed of electrical signals. While one can get pretty low latency on local networks (Dante et al.) trying live jamming over the internet is pretty much i

Re: Lilypond 2.20 on Mac 10.15

2020-03-26 Thread Ralf Mattes
d also updated the system to > >> the version 10.15.4 but it’s still the same error. I've also deactivated > >> FileVault and gave. > >> > >> The log file says maybe a bit more precisely: > >> > >> Error Code: 0x0004 (no mapping for user

Re: Frescobaldi doesn’t recognise python-ly

2019-12-30 Thread Ralf Mattes
python-ly:$PYTHONPATH ??? Cheers, RalfD > (I cloned the repos directly in the home directory, so ~/python-ly > should be the correct location) > > @Urs: Should the wiki guide be updated to point to the repos in the > frescobaldi organisation instead of wbsoft? > > Best

Re: More convert-ly tribulations

2019-12-26 Thread Ralf Mattes
'. Did you mean > print(log[0])? You are trying to run a program meant for Python2 with Python3. This will not work. Cheers, RalfD -- Ralf Mattes Hochschule für Musik Freiburg Projektleitung HISinOne Schwarzwaldstr. 141, D-79102 Freiburg http://www.mh-freiburg.de

Re: Syntax and Usage Question for guitar transcription

2016-01-01 Thread Ralf Mattes
g tweaks to fix improper rhythm will not work .... Cheers, Ralf Mattes > > %- > \version "2.18.2" > > #(set-global-staff-size 24) > > symbols = { >2 g'4-4 <\tweak > #'duration-lo

Re: Syntax and Usage Question for guitar transcription

2016-01-01 Thread Ralf Mattes
r using a tie, I will research that. I am trying to script a piece > of music to match the original sheet music. I do not think a tie was > originally used. > > > > On 2016-01-01 10:31, Ralf Mattes wrote: > > Am Freitag, 01. Januar 2016 17:12 CET, stra...@tpsx.com

Re: Telemann's "Strich"

2015-12-20 Thread Ralf Mattes
die rechte Hand daselbst ruhe“ – ‘The line means that > the right hand should rest there.’ Oh, that's a rather unfortunate translation - it might be interpreted as "rest" in the sense of "to stop", which is probably not what is meant. Maybe "the line means that the right hand

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Ralf Mattes
Am Mittwoch, 18. November 2015 17:48 CET, Federico Bruni schrieb: > You are right, not necessarily: in fact it reads the environment > variables, but it does not read the frescobaldi alias. How and where did you define that alias? In ~/.bashrc alias

[OT] Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Ralf Mattes
Am Mittwoch, 18. November 2015 18:02 CET, David Wright schrieb: > > It might be worth taking note of this line in man bash > > "For almost every purpose, aliases are superseded by shell functions." Yes, with one important difference in favour of aliases - if

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Ralf Mattes
Am Mittwoch, 18. November 2015 16:56 CET, Federico Bruni schrieb: > Il giorno mer 18 nov 2015 alle 16:33, Urs Liska ha > scritto: > > Does sh read ~/.bashrc? > > Yes, it does: > > $ sh -c "echo $LILYPOND_GIT" > /home/fede/src/lilypond-git No,

Re: Strange Scheme problem

2015-11-18 Thread Ralf Mattes
Am Mittwoch, 18. November 2015 12:10 CET, Andrew Bernard schrieb: > > Hello Jacques, > > A slightly more idiomatic Scheme-like way to get the current file name being > processed might be something like this: > > #(define (file-name) > (let* ((args

Re: Scheme questions

2015-11-17 Thread Ralf Mattes
Am Dienstag, 17. November 2015 14:41 CET, Werner LEMBERG schrieb: > > I don't really agree with your characterization of Scheme as a > > "quite specialised area" of LilyPond: it's a rather integral part of > > its workings and interfaces, quite different from the role, say,

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Ralf Mattes
lilypond_path = lilypond to lilypond_path = /Applications/LilyPond.app/Contents/Resources/bin/lilypond That should o the trick (sorry, I'm a bit short on time to install abjad on a Mac right now, so I can't test it myself). HTH Ralf Mattes > Best, > Daniel > > >

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Ralf Mattes
Am Freitag, 25. September 2015 15:29 CEST, BB <bb-543...@telecolumbus.net> schrieb: The OP wrote: "followed the steps at http://www.lilypond.org/macos-x.html; > If you are on Linux type Can we please read (and understand) questions before adding noise? Cheer

Re: Having some trouble getting LilyPond to run on the command line

2015-09-25 Thread Ralf Mattes
$@" EOF chmod 755 lilypond #------- HTH Ralf Mattes > > On 25.09.2015 15:43, BB wrote: > > Thank you for your noisy mail. Help him yourself! > > > > On 25.09.2015 15:38, Ralf M

Re: Font search path (Linux)

2015-07-28 Thread Ralf Mattes
' Cheers. Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: OT: Getting lyluatex to work [was: Re: Lilypond and LaTeX - margins]

2015-07-27 Thread Ralf Mattes
-file that lilypond created ... Not enough itch to scratch for me but maybe someone will be able to ebug this. For now, I'd say this isn't a production-ready alternative to lilypond book. Cheers, Ralf Mattes Thanks, Marc Víctor

Re: transposable figured bass?

2015-06-29 Thread Ralf Mattes
_not_ denote a C flat (ces) but rather a C-fa which is exactly what is needed in your example in _both_ cases, so (in case this is not an original source) you might better write 65♭ in the first, untransposed case. HTH Ralf Mattes ___ lilypond-user

Re: About pitch

2015-05-19 Thread Ralf Mattes
but that's another thread ;-) HTH Ralf Mattes Thanks -- View this message in context: http://lilypond.1069038.n5.nabble.com/About-pitch-tp176774.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user

Re: variable in scheme

2015-04-29 Thread Mattes
Am Mittwoch, 29. April 2015 07:21 CEST, Stephen MacNeil classicalja...@gmail.com schrieb: is this correct? What's the intent? (#'(,num)) (#'(,str)) No, commas (',') are only allowed within a backquoted form. Cheers, RalfD thanks Stephen

Re: Paper size survey

2015-04-22 Thread Mattes
Am Dienstag, 21. April 2015 14:44 CEST, Mattes r.mat...@mh-freiburg.de schrieb: (define pair-or-rational? (thing) (or (pair? thing) (rational? thing))) As Orm Finnenahl correctly observed I unconsciously slipped into Common Lisp :-/ Here's the Scheme variant

Re: Paper size survey

2015-04-21 Thread Mattes
-or-rational? (or pair? rational?)) you might as well write (define pair-or-rational? pair?) since (or pair? rational?) allways evaluates to pair? ... Do you want (define pair-or-rational? (thing) (or (pair? thing) (rational? thing))) Cheers, Ralf Mattes

Re: Abbreviations

2015-04-03 Thread Mattes
Am Freitag, 03. April 2015 20:36 CEST, David Nalesnik david.nales...@gmail.com schrieb: On Fri, Apr 3, 2015 at 1:28 PM, Mattes r.mat...@mh-freiburg.de wrote: Am Freitag, 03. April 2015 20:15 CEST, Urs Liska u...@openlilylib.org schrieb: Am 03.04.2015 um 19:45 schrieb

Re: Abbreviations

2015-04-03 Thread Mattes
Am Freitag, 03. April 2015 20:15 CEST, Urs Liska u...@openlilylib.org schrieb: Am 03.04.2015 um 19:45 schrieb Kevin Barry: On Fri, Apr 3, 2015 at 2:23 PM, Urs Liska u...@openlilylib.org mailto:u...@openlilylib.org wrote: I'll note that for explaining in a blog post

Re: Reading a directory

2015-03-27 Thread Mattes
Am Freitag, 27. März 2015 18:19 CET, Mattes r...@mh-freiburg.de schrieb: you need the opendir-readdir-closedir combo: (let ((dir (opendir /etc/))) (readdir dir) . (closedir dir)) Or use (ice-9 ftw) RalfD HTH RalfD TIA Urs

Re: Reading a directory

2015-03-27 Thread Mattes
Am Freitag, 27. März 2015 18:14 CET, Urs Liska u...@openlilylib.org schrieb: Hi, I think this should be easy, but I don't find it in the Guile reference. I want a list of filenames in a given directory, what os.listdir(dirname) would give me in Python. What should I use? Hi Urs,

Re: building pairs in music functions

2015-03-13 Thread Mattes
Am Freitag, 13. März 2015 11:38 CET, Mattes r.mat...@mh-freiburg.de schrieb: #'(num .num) Sorry, breakfast time reply :-) Breadcrumbs under the spacebar - this should read (num . num) ... Cheers, RalfD ___ lilypond-user mailing list

Re: building pairs in music functions

2015-03-13 Thread Mattes
)) and will return a pair of _symbols_. Remove the quote and you should be fine. HTH Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: path to lilypond executable

2015-03-11 Thread Mattes
executable or the current lilypond input file? For the first '(car (command-line))' might be all you need. HTH Ralf Mattes TIA Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: getting the argument list of a procedure

2015-03-04 Thread Mattes
(assoc 'arity (procedure-properties open))) How would I go about doing this? I doubt that guile ( 2.0) keeps track of the formal parameter names. Cheers, Ralf Mattes Thanks! David ___ lilypond-user mailing list lilypond-user@gnu.org

Re: License for a LilyPond library

2015-01-26 Thread Mattes
your library can't be forced to commit back unless he/she redistributes the modified code. HTH Ralf Mattes TIA Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: how to make text spanner not sticking out to the right

2015-01-26 Thread Mattes
on the last note of the bar there is really no way to avoid that ugliness. Cheers, Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: my display function

2015-01-24 Thread Mattes
do it like above everything should work. HTH Ralf Mattes // Anders -- English isn't my first language. So any error or strangeness is due to the translation. Please correct my English so that I may become better. ___ lilypond-user mailing list

Re: Understanding Lilypond

2015-01-17 Thread Mattes
(and a happy new year) Ralf Mattes HTH Richard ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list

Re: Attaching an alist to a grob

2015-01-14 Thread Mattes
Am Mittwoch, 14. Januar 2015 12:34 CET, Urs Liska u...@openlilylib.org schrieb: #(define (annotation? obj) (and (list? obj) (every pair? obj) (if (assoc-ref obj type) #t #f) (if (assoc-ref obj location) #t #f))) ... and is this just equivalent to:

Re: Attaching an alist to a grob

2015-01-14 Thread Mattes
Am Mittwoch, 14. Januar 2015 13:56 CET, Urs Liska u...@openlilylib.org schrieb: OK, I see. But somehow it feels wrong that #(display annotation? some-obj) doesn't produce #t but the content of location. Should I ignore that feeling? If you intended to write #(display (annotation?

Re: Colors in alists

2014-11-04 Thread R. Mattes
'((one . red) (two . blue)) if you want symbols as the values of the assoc. HTH Ralf Mattes -- R. Mattes - Hochschule fuer Musik Freiburg r...@mh-freiburg.de ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman

Re: Mensural ligature

2014-05-09 Thread R. Mattes
/Sanctissimae_Virgini_Missa_senis_vocibus_ac_Vesperae_pluribus_decantandae_%28Monteverdi,_Claudio%29#IMSLP37009 You'll find one example herewith (page 6 of the full pdf, stamped 4 of the Cantus part). The one in CANTUS/page 4 on sol(us) is a simple COP ligature, two semibreves. Cheers, Ralf Mattes

Re: Any advice for getting emacs working with lilypond on MacOsX?

2014-05-09 Thread R. Mattes
/LilyPond.app/Contents/Resources/share/emacs/site-lisp)) load-path)) Much easier to do: (add-to-list 'load-path (expand-file-name/Applications/LilyPond.app/Contents/Resources/share/emacs/site-lisp)) Cheers, Ralf Mattes ___ lilypond-user mailing list

Strange difference between Lilypond and Guile plain

2014-05-08 Thread R. Mattes
. Lilypond version: 2.19.5 Guile version: 1.8.8 Any idea what's going on? TIA Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Strange difference between Lilypond and Guile plain

2014-05-08 Thread R. Mattes
On Thu, 08 May 2014 17:12:04 +0200, David Kastrup wrote Yes. LilyPond defines a music function \void, and (ice-9 syncase) gets confused by that for whatever stupid reason (the bug is reported, but don't expect any 1.8 releases any more). Guile 2.0 works but of course that is of little

Re: midi for orchestral scores

2012-06-28 Thread Ralf Mattes
be plenty of space to export even larger orchestra scores ;-) Cheers, Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: midi for orchestral scores

2012-06-28 Thread Ralf Mattes
On Thu, 28 Jun 2012 18:23:01 +0200, David Kastrup wrote: Ralf Mattes r...@mh-freiburg.de writes: On Thu, 28 Jun 2012 13:36:59 +0200, Nils wrote: We are dealing with midi here, that means 16 instruments max. at each given time. Are we? Since when can Lilypond talk Midi? IIRC Lily does

Re: midi for orchestral scores

2012-06-28 Thread Ralf Mattes
On Thu, 28 Jun 2012 19:46:59 +0200, Nils wrote: Yes. 16 sounds because we have 16 channels max. No. Channels (as the name implies) are a way to address more than one sound over a communication channel (used to be a serial cable). Think of bus architecture. But the OP doesn't need to use

Re: midi for orchestral scores

2012-06-28 Thread Ralf Mattes
On Thu, 28 Jun 2012 20:07:40 +0200, Jan Nieuwenhuizen wrote: Nils writes: Yes. 16 sounds because we have 16 channels max. And you can double two horns on one channel but you can't pan one to the left and one to the right. So in the end its 16 instruments + tricks like sharing one

Re: midi for orchestral scores

2012-06-28 Thread Ralf Mattes
On Thu, 28 Jun 2012 20:35:10 +0200, David Kastrup wrote: Ralf Mattes r...@mh-freiburg.de writes: On Thu, 28 Jun 2012 19:46:59 +0200, Nils wrote: Yes. 16 sounds because we have 16 channels max. No. Channels (as the name implies) are a way to address more than one sound over

Re: -dshow-available-fonts vs. UNIX stdout?

2012-06-22 Thread Ralf Mattes
always a sign of bad scripting ...) Cheers, Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

How to generate small example PNGs

2011-06-23 Thread Ralf Mattes
a whole (almost empty) page. What am I missing? TIA Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: How to generate small example PNGs

2011-06-23 Thread Ralf Mattes
On Thu, 23 Jun 2011 12:23:28 +0200, Federico Bruni wrote: you are missing the option -dpreview it's explained in Usage manual, chapter 1.2 Yes, -dpreview was it (as I could have found myself by using -dhelp ...). Thanks a lot RalfD 2011/6/23 Ralf Mattes r...@mh-freiburg.de Hello

Re: trying to add a new \language

2011-06-18 Thread Ralf Mattes
On Fri, 17 Jun 2011 13:55:59 -0700, -Eluze wrote: R. Mattes wrote: Sorry, but since I left my telepathic helmet at home there's no way for me to know how myLanguage is supposed to look. That would be _your_ job to fill in. yes, i'm trying to do so - and as i said it's working when i add

Re: trying to add a new \language

2011-06-16 Thread Ralf Mattes
))) ) language-pitch-names) Put it into a .ly file and include it. HTH Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: trying to add a new \language

2011-06-16 Thread Ralf Mattes
On Thu, 16 Jun 2011 08:56:46 -0700, -Eluze wrote: R. Mattes wrote: On Wed, 15 Jun 2011 13:52:22 -0700, -Eluze wrote: hi for some experiments i want to add a new language - let's call it myLanguage. i know i can add it in \scm\define-note-names.scm and this works perfectly. however

Re: pb with 2.13 with doc example fret diagram

2010-12-22 Thread Ralf Mattes
#'violinTuning g d' a' e'' But does this also preserve ordering of notes? There are quite some stringed instruments with reentrant tuning. baroqueGuitarTuning = \makeStringTuning a d' g b e' Cheers, Ralf Mattes ___ lilypond-user mailing list lilypond-user

Re: Suppress .ps generation

2010-06-06 Thread Ralf Mattes
, it requires changes to the lilypond file. HTH Ralf Mattes On 06/06/2010 10:02 AM, Graham Percival wrote: On Sun, Jun 06, 2010 at 07:25:09PM +0530, Disc Magnet wrote: When I run the command: lilypond foo.ly, it generates a foo.ps as well as foo.pdf. Is there a way to suppress the creation

Fonts used for tablature

2008-01-19 Thread Ralf Mattes
Dear list members, i need to change the font used for the tablature letters. What's the magic incantation to do so? TIA Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user