[CM] text in fomus

David Psenicka dpsenick at gmail.com
Sun Feb 14 11:27:54 PST 2010


it should be 

marks: {{"x" "hi"}}

The brackets are the syntax for .fms files, which is why they appear in
the documentation that way.  If the docs say `[x string_text]', then you
need to specify the mark with 1 string argument, so in scheme it has to
be in a list, like {"x" "hi"}...  in Lisp it's '("x" "hi").  Usually the
mark has no arguments and you only need a string (like "." or ">")

There's a bug in the debug-compiled version of fomus when you use text
marks.  But I think it's not in the release build (if it's broken it'll
be fixed in the next release).  I just rewrote a lot of the marks code,
so there will be a few kinks that need to be worked out.

On Sun, 2010-02-14 at 09:34 +0100, Johannes Quint wrote:

> fomusfile "test.ly" ()
>  send "fms:note", pitch: 60, dur: 4, marks: {{"[x hi]"}}
> end 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20100214/f67e81ae/attachment.html 


More information about the Cmdist mailing list