[fomus-devel] pack list as symbol - was: expected valid/unique mark in MARKS slot
Rob Canning
robcanning at eircom.net
Wed Sep 13 16:44:14 UTC 2006
i get it - thanks -
is there anyway that a character can be inserted in the spaces of a list so it can be formated as a symbol?
it would make it easier generating strings as symbols are easier to deal with than lists - in [sprintf] or {pack] for example
((:textnote "sul G")) would become
((:textnote_"sul G"))
or
((:textnote,"sul G"))
and then could be handled as a %s
?
just a thought
cheers
rob
Rick Taube <taube at uiuc.edu> wrote:
>
> i think :marks takes a LIST of marks. try
>
> (note 1 :off 3 :dur 1 :note 67 :marks '((:textnote "sul G")) )
>
i think you you meant ((:textnote "sul G")) without the "'"
> --rick
>
> On Sep 13, 2006, at 10:33 AM, Rob Canning wrote:
>
> > yes that works alright - thanks
> >
> > so :text has to be associated with another mark - it cant just
> > exist in its own right?
> > if that is the case i suppose once :ignore is implemented that will
> > be a workaround - a bit messy though.
> >
> > cheers,
> >
> > rob
> >
> > Kilian Sprotte <ml13 at onlinehome.de> wrote:
> >
> >>
> >> Am 13.09.2006 um 14:44 schrieb Rob Canning:
> >>
> >>> hi,
> >>>
> >>> can't seem to get :textnote to work...
> >>>
> >>> what am i doing wrong here?
> >>>
> >>> init :output (:lilypond :view t);
> >>> part 1 :name "Piano" :instr :piano;
> >>> (note 1 :off 3 :dur 1 :note 67 :marks (:textnote "sul G"));
> >>>
> >>> ;; Formatting music...
> >>> ;;; *****ERROR*****
> >>> ;; Error in function FOMUS::CHECK-TYPE*:
> >>> ;; Found :TEXTNOTE, expected valid/unique mark in MARKS slot of
> >>> note at offset 3.0
> >>
> >> Hi,
> >>
> >> imagine you would also want to write an accent:
> >>
> >> init :output (:lilypond :view t);
> >> part 1 :name "Piano" :instr :piano;
> >> (note 1 :off 3 :dur 1 :note 67 :marks (:accent (:textnote "sul G")));
> >>
> >> Makes sense?
> >>
> >> Cheers,
> >>
> >> Kilian
> >>
> >>
> >> _______________________________________________
> >> fomus-devel mailing list
> >> fomus-devel at common-lisp.net
> >> http://common-lisp.net/cgi-bin/mailman/listinfo/fomus-devel
> >>
> >
> > --------------------------------
> > www.robcanning.utvinternet.com
> > + 44 (0)20 77390206
> > --------------------------------
> >
> > -----------------------------------------------------------------
> > Find the home of your dreams with eircom net property
> > Sign up for email alerts now http://www.eircom.net/propertyalerts
> >
> >
> > _______________________________________________
> > fomus-devel mailing list
> > fomus-devel at common-lisp.net
> > http://common-lisp.net/cgi-bin/mailman/listinfo/fomus-devel
>
>
--------------------------------
www.robcanning.utvinternet.com
+ 44 (0)20 77390206
--------------------------------
-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts
More information about the Fomus-devel
mailing list