[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with mixing Scheme and Music

From: Carl Sorensen
Subject: Re: Help with mixing Scheme and Music
Date: Thu, 23 Dec 2010 04:18:14 -0700

On Dec 23, 2010, at 4:07 AM, "Nicolas Sceaux"  
<address@hidden> wrote:

> Le 23 déc. 2010 à 06:13, Carl Sorensen a écrit :
>> Hi,
>> I'm trying to get an easier method of creating custom string  
>> tunings (see
>> I'd like to do one of the following:
>> \makeStringTuning #'violin-tuning <g d' a' e''>
> If you want to bind violin-tuning to some value computed from
> the given chord, you can use for instance:
>  (ly:parser-define! parser symbol value)

Thanks!  ly:parser-define is what I was looking for unsuccessfully.

> This is done for instance in \parallelMusic definition.
>> violin-tuning = \makeStringTuning <g d' a' e''>
> Music functions are supposed to return music expressions,  so if
> violin-tuning is supposed to be e.g. a list of pitches, which is
> not a music expression, this won't work.

That was my answer, too. I wondered if I was being myopic, however

Thanks for the help!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]