[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Constructive Criticism and a Question
From: |
Erik Sandberg |
Subject: |
Re: Constructive Criticism and a Question |
Date: |
Thu, 21 Dec 2006 12:31:43 +0100 |
User-agent: |
KMail/1.9.5 |
On Wednesday 20 December 2006 07:51, Graham Percival wrote:
> Han-Wen Nienhuys wrote:
> > Jonathan Henkelman escreveu:
> >> I think Eriks point is actually well founded. The discussion started
> >> with my discussion of trying to trim down the grammer complexity. Adding
> >> syntax is not really in that direction.
> >
> > Another option:
> >
> > - add \tuplet 3:2 {.. }
> >
> > - replace \times 2/3 by \times #'(2 . 3) ; this can be implemented with
> > a standard music function
>
> Oh God no. It took me a year to get used to #'(2 . 3) -- I kept on
> trying '#( and #( and #'(2.3)... every time I gave up after ten minutes
> and found an example from the documentation to copy.
Scheme has rational numbers as a builtin type, so it _is_ possible to pass the
easy-to-type #2/3 as an argument to a music function (AFAIK, this is the only
case where scheme doesn't use polish notation).
Unfortunately, this would not work with \times: #2/3 and #4/6 are the same
rational number, but 2/3 and 4/6 are different tuplet fractions. Also, Scheme
rational numbers may not contain whitespaces, so #2 / 3 is not the same as
#2/3.
(hm.. for obvious mathematical reasons this solution doesn't work, but if it
WOULD have worked, it would have been a nice solution in a mathematical
sense)
--
Erik
- Re: Constructive Criticism and a Question, (continued)
- Re: Constructive Criticism and a Question, Erik Sandberg, 2006/12/19
- Message not available
- Fwd: Constructive Criticism and a Question, Frédéric Chiasson, 2006/12/19
- Re: Constructive Criticism and a Question, Werner LEMBERG, 2006/12/20
- Re: Constructive Criticism and a Question, Karl Hammar, 2006/12/20
- Re: Constructive Criticism and a Question, Paul Scott, 2006/12/20
- Re: Constructive Criticism and a Question, Karl Hammar, 2006/12/21
- Re: Constructive Criticism and a Question, Jonathan Henkelman, 2006/12/19
- Re: Constructive Criticism and a Question, Han-Wen Nienhuys, 2006/12/19
- Re: Constructive Criticism and a Question, Frédéric Chiasson, 2006/12/19
- Re: Constructive Criticism and a Question, Graham Percival, 2006/12/20
- Re: Constructive Criticism and a Question,
Erik Sandberg <=
- Re: Constructive Criticism and a Question, Joe Neeman, 2006/12/19
Re: Constructive Criticism and a Question, David Rogers, 2006/12/19
Re: Constructive Criticism and a Question, stk, 2006/12/20
- Re: Constructive Criticism and a Question, Werner LEMBERG, 2006/12/20
- Re: Constructive Criticism and a Question, Paul Scott, 2006/12/20
- Re: Constructive Criticism and a Question, Graham Percival, 2006/12/20
- Re: Constructive Criticism and a Question, Mats Bengtsson, 2006/12/20
- Re: Constructive Criticism and a Question, Erik Sandberg, 2006/12/21
- Re: Constructive Criticism and a Question, Erik Sandberg, 2006/12/22
- Re: Constructive Criticism and a Question, Frédéric Chiasson, 2006/12/20