scrap that
i can ommit the space
((:textnote"sul G"))
robcanning(a)eircom.net wrote:
>
> 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(a)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(a)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(a)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(a)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(a)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
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(a)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(a)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(a)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(a)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
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
thanks,
rob
-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts
hi again,
when writing to [textfile] in pd, pd sticks in a line break when a line gets too long
fomus doesnt like this
eg.
note 2 :off 4.25 :dur 0.25 :note 63 :marks (:portato :accent :PP);
is fine
note 2 :off 4.25 :dur 0.25 :note 63 :marks (:portato :accent :PP :marcato);
where the marcato is on the next line
gives this error
;;; *****ERROR*****
;; End-of-File on #<String-Input Stream>
maybe it should be that fomus only percives a line break when it sees a ;
is there a solution to this ?
thanks
rob
-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts
hi!
is there a "blank" message that i can write in a fomus file but that it will ignore
for example
:mark (:portato)
:mark (:ignore)
this is so i could have a way of clearing a placeholder in a fixed length message i am generating in pd with [sprintf]
if i dont clear it it will remain in subsequent messages until a new value repalces it.
i'm sure there is a more elegant way i could generate my message strings but it would be handy to know if there is a ":ignore" message i could send
thanks
rob
-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts
Hi,
fomus has experimental support for a second enharmonic spelling
algorithm that
basically tries do the same as the first, but is powered by a
different solver --
in this case: adaptive search (fomus/ads.lisp)
This is the form I used for testing:
(fomus
:output '( (:data))
:verbose 1 :quartertones nil
:ensemble-type :orchestra
:auto-accs-mod :nokey2
:global (list (make-timesig :off 0 :time '(5 8) :div '(3/2 1)))
:parts
(list
(make-part
:name "Piano"
:instr '(:piano :simultlim 1)
:events
(loop
with x = 0
for off from 0 to 10 by 1/2
collect (make-note :off off
:dur (if (< off 10) 1/2 1)
:note (+ 48 (random 25)))))))
Cheers,
Kilian
PS: David, could you replace
http://common-lisp.net/project/fomus/index.html
by
http://common-lisp.net/project/fomus/ksindex.html
if you like my change ?
(or maybe put that link somewhere else?)
Dear all,
I am new to this list and did not find my problem discussed already.
Apologies if if this is a FAQ.
I tried to install the fomus commandline application, without success
so far. It appears the compilation finishes successfully, then a Fomus
greating message appears which ends up in the debugger. I get an error
message which reads something like the following (copied by hand,
hopefully without typos..)
debugger invoked on an END-OF-FILE in thread 8843:
end of file on #<SB-IMPL::STRING-INPUT-STREAM {9734081}>
<snipped>
(SB-IMPL::STRING-INCH 3 #<SB-IMPL:: STRING-INPUT-STREAM {some number}>
T NIL)[:EXTERNAL]
I tried Fomus 0.2.6 with SBCL 0.8.16 and a CMUCL snapshot from 2004 --
all on Linux (Fedora Core 3).
Thank you very much!
Best,
Torsten
--
Torsten Anders
Sonic Arts Research Centre • Queen's University Belfast
Frankstr. 49 • D-50996 Köln
Tel: +49-221-3980750
http://www.torsten-anders.dehttp://strasheela.sourceforge.net
[Apologies for multiple postings]
Strasheela is a highly expressive constraint-based music composition
system. Users declaratively state a music theory and the computer
generates music which complies with this theory. A theory is formulated
as a constraint satisfaction problem (CSP) by a set of rules
(constraints) applied to a music representation in which some aspects
are expressed by variables (unknowns). Music constraint programming is
style-independent and is well-suited for highly complex theories (e.g.
a fully-fledged theory of harmony). Results can be output into various
formats including MIDI, Lilypond, and Csound.
The installation instructions and other documentation have been
revised. Support for more output formats has been added, namely ENP and
Fomus, thus allowing export to Finale and Sibelius. Other extensions
have been added, and bugfixes have been made.
For more information, please visit http://strasheela.sourceforge.net/
This release can be downloaded from:
https://sourceforge.net/project/showfiles.php?group_id=167225
Best,
Torsten
--
Torsten Anders
Sonic Arts Research Centre • Queen's University Belfast
Frankstr. 49 • D-50996 Köln
Tel: +49-221-3980750
http://www.torsten-anders.dehttp://strasheela.sourceforge.net
Dear Torsten,
you tried it with sbcl and cmucl and get basically the same error?
For the sbcl case - maybe it would be good just to try with 0.9.16 ?
Just to be sure: You are invoking it with $ ./install.sh --sbcl (no
other options?)
A friend of mine had a problem _using_ the fomus cmdline app...
The error message was similar (if I remember correctly).
It showed up, that the encoding of his text input file was unicode....
Changing it to Latin-1 made it work!
There is even a 0.9.16 binary release available on
http://sbcl.sourceforge.net/platform-table.html,
so again, its probably best to try that.
Have you successfully compiled and used fomus from the Lisp REPL?
Hope that helps somehow,
if not, I am sure that David will now,
but he might need a longer backtrace then... ;-)
Cheers,
Kilian
Hi,
I would like to announce that the strasheela composition system has a
new fomus backend (in svn).
You'll find further informations on its home page http://
strasheela.sourceforge.net/.
Particularly interesting might by:
http://strasheela.sourceforge.net/strasheela/doc/StrasheelaExamples.html
There is already one more example in svn that deals with a
combination of l-systems
and constraints.
Cheers,
Kilian