Re: Attaching an alist to a grob

2015-01-14 Thread Mattes
Am Mittwoch, 14. Januar 2015 12:34 CET, Urs Liska 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 equiva

Re: Attaching an alist to a grob

2015-01-14 Thread Mattes
Am Mittwoch, 14. Januar 2015 13:56 CET, Urs Liska 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? some-obj))

Re: Understanding Lilypond

2015-01-17 Thread Mattes
MIT-Scheme, Bigloo, Chicken, Stalin, ChezScheme or, relevant for us musicians S7 ... Cheers (and a happy new year) Ralf Mattes > HTH > > Richard > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org >

Re: my display function

2015-01-24 Thread Mattes
bar) (newline) (set! tmp (cons #{ cis #} #{ b #})) (display tmp) (newline) (set! bar (acons 2 tmp bar)) (display bar) (newline) mus) > I have tried a couple of different type of > functions but ... If you do it like above everything shoul

Re: License for a LilyPond library

2015-01-26 Thread Mattes
ution_ of the code, not use. So, someone changing 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
e note early, wouldn't it? I think that iff the old tempo should be reached 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: getting the argument list of a procedure

2015-03-04 Thread Mattes
nfo, try: (cdr (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 ___

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 > http

Re: building pairs in music functions

2015-03-13 Thread Mattes
ket-flare = #'(num . num) > #}) Aha! #'(num .num) is a shortcut for #(quote (num .num)) 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: building pairs in music functions

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

Re: Reading a directory

2015-03-27 Thread Mattes
Am Freitag, 27. März 2015 18:14 CET, Urs Liska 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, you need the

Re: Reading a directory

2015-03-27 Thread Mattes
Am Freitag, 27. März 2015 18:19 CET, "Mattes" schrieb: > you need the opendir-readdir-closedir combo: > > (let ((dir (opendir "/etc/"))) >(readdir dir) >. > (closedir dir)) Or use (ice-9 ftw) RalfD > H

Re: Abbreviations

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

Re: Abbreviations

2015-04-03 Thread Mattes
Am Freitag, 03. April 2015 20:36 CEST, David Nalesnik schrieb: > On Fri, Apr 3, 2015 at 1:28 PM, Mattes wrote: > > > > > Am Freitag, 03. April 2015 20:15 CEST, Urs Liska > > schrieb: > > > > > > > > > > > Am 03.04.2015 um 19:45 sc

Re: Paper size survey

2015-04-21 Thread Mattes
(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, Ra

Re: Paper size survey

2015-04-22 Thread Mattes
Am Dienstag, 21. April 2015 14:44 CEST, "Mattes" 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

Re: variable in scheme

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

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

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 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? Cheers

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

2015-09-25 Thread Ralf Mattes
uot;$@" 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 Mattes wrote: > &g

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

2015-09-25 Thread Ralf Mattes
pond_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: 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, Lua > > plays in

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 (program-arguments)) > (args

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, it doesn't (necesarily). In your test you st

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 frescobaldi=/path/to/where/git/is/fres

[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 I want to quickla find out

Re: Telemann's "Strich"

2015-12-20 Thread Ralf Mattes
‘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 stays where it is&quo

Re: Syntax and Usage Question for guitar transcription

2016-01-01 Thread Ralf Mattes
ement properly. sing 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 <\t

Re: Syntax and Usage Question for guitar transcription

2016-01-01 Thread Ralf Mattes
ing 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 schrieb: &g

Re: Suppress .ps generation

2010-06-06 Thread Ralf Mattes
one or more file formats for graphical output, midi is a completely differnt kind of animal, 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

Strange difference between Lilypond and Guile plain

2014-05-08 Thread R. Mattes
rsion: "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 c

Re: Mensural ligature

2014-05-09 Thread R. Mattes
t; of the Cantus part). The one in CANTUS/page 4 on sol(us) is a simple COP ligature, two semibreves. Cheers, Ralf Mattes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

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

2014-05-09 Thread R. Mattes
d-path (append (list (expand-file-name"/Applications/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

Re: Colors in alists

2014-11-04 Thread R. Mattes
e assoc. Hint: '(("one" . 'red) ("two" . 'blue)) Quotes the entire list, and "'x" is a syntactic shortcut to "(quote x)", so your list evaluates to: (list (cons "one" (quote red)) (cons "two" (quote blue))

Re: pb with 2.13 with doc example fret diagram

2010-12-22 Thread Ralf Mattes
ter use > > \makeStringTuning #'violinTuning But does this also preserve ordering of notes? There are quite some stringed instruments with reentrant tuning. baroqueGuitarTuning = \makeStringTuning Cheers, Ralf Mattes _

Re: trying to add a new \language

2011-06-16 Thread Ralf Mattes
Language ((ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))) ) 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. >&

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'

How to generate small example PNGs

2011-06-23 Thread Ralf Mattes
e png still displays 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 > >>

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

2012-06-22 Thread Ralf Mattes
ont like $ lilypond -dshow-available-fonts | grep 'MySwaschiGlyphs' doesn't work. (BTW. grepping stderr is almost 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

Re: midi for orchestral scores

2012-06-28 Thread Ralf Mattes
nd talk Midi? IIRC Lily does produce Midi files (Format 1, to be precise) and those can hold way more than 16 tracks (65,535? I think the track count is a word/2Byte). So there would 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 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? S

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 cab

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 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 addres

Re: About pitch

2015-05-19 Thread Ralf Mattes
th scheme code to generate them. NB: I think there _should_ be a readable scheme representation for pitches but that's another thread ;-) HTH Ralf Mattes > Thanks > > > > > -- > View this message in context: > http://lilypond.1069038.n5.nabble.com/Abo

Re: transposable figured bass?

2015-06-29 Thread Ralf Mattes
;. Both "voces" are independent of transposition, so "C♭" does _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.

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

2015-07-27 Thread Ralf Mattes
adding \usepackage{fontspec} before using the lyluatex package. Unfortunately, while the luatex compile now works, the output isn't what I'd expect. My final pdf shows a box with the name of the tmp-file that lilypond created ... Not enough itch to scratch for me

Re: Font search path (Linux)

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

Re: More convert-ly tribulations

2019-12-26 Thread Ralf Mattes
t'. 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: Frescobaldi doesn’t recognise python-ly

2019-12-30 Thread Ralf Mattes
TH=~/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? > >

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

Re: Remote Ensemble Playing

2020-03-28 Thread Ralf Mattes
on't). To 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 inter

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-04-01 Thread Ralf Mattes
le > do? 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: Getting started with Scheme

2020-05-23 Thread Ralf Mattes
> language, the way APL was. > > 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: use variable out side procedure

2020-05-29 Thread Ralf Mattes
ditional manner. While the book uses Racket [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://mitpres

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

2020-06-09 Thread Ralf Mattes
are the function to take 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: 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 > >

Re: Making markup functions parametric

2020-07-03 Thread Ralf Mattes
le's symbol->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 >