Hi David & all,
2014-07-25 21:34 GMT+02:00 David Kastrup :
>
> Janek Warchoł writes:
>> 2) i didn't manage to get midi stuff done inside the same function as
>> the layout stuff - but i think that i'll be able to solve that if i
>> have a solution to 1).
>
> You basically need to collect just the
2014-07-25 21:34 GMT+02:00 David Kastrup :
> Janek Warchoł writes:
>
>> newInstrument =
>> #(define-scheme-function
>> (parser location instrName parentName settings)(string? ly:context-mod?)
>> ;; ...
>> #{
>> \layout {
>> \context {
> $(module-ref (current-modul
Janek Warchoł writes:
> newInstrument =
> #(define-scheme-function
> (parser location instrName parentName settings)(string? ly:context-mod?)
> ;; ...
> #{
> \layout {
> \context {
$(module-ref (current-module) (string->symbol parentName))
> ;; create "
And the missing attachment.
2014-07-25 20:03 GMT+02:00 Janek Warchoł :
> Hi all,
>
> i got stuck when working on a function that creates custom context
> definitions. The idea is to have a function \newInstrument that would
> take a list of settings and create new customized xxxStaff and
> xxxVoi
Hi all,
i got stuck when working on a function that creates custom context
definitions. The idea is to have a function \newInstrument that would
take a list of settings and create new customized xxxStaff and
xxxVoice contexts - something like this:
newInstrument =
#(define-scheme-function
(par