]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.5.14
authorfred <fred>
Wed, 27 Mar 2002 02:03:14 +0000 (02:03 +0000)
committerfred <fred>
Wed, 27 Mar 2002 02:03:14 +0000 (02:03 +0000)
Documentation/user/internals.itely
lily/lily-guile.cc
lily/score.cc

index 030961124e8123871f83ddcb45034f3e063373ba..51fc93f0489366c3dca70658c6ada033ac46028d 100644 (file)
@@ -115,15 +115,17 @@ Type predicate, return true if @var{obj} is an input location.
 @node Moment
 @section Moment
 
-Moment is a rational number. Since GUILE doesn't support them natively,
-so we created our own rational data type.
+Moment is a point in musical time. It is consists of a pair of
+rationals (@var{m},@var{g}), where @var{m} is the timing for the  main
+notes, and @var{g} the timing for  grace notes. In absence of grace
+notes, @var{g} is zero.
 
 @defun moment? obj
 Type predicate, return true if @var{obj} is a moment.
 @end defun
 
 @defun make-moment num den
-create the rational number @var{num}/@var{den}. 
+create the rational number with main timing @var{num}/@var{den}. 
 @end defun
 
 @node Duration
@@ -236,6 +238,13 @@ retrieve the value of @var{sym} from context @var{tr}
 set value of property @var{sym} in context @var{tr} to @var{val}.
 @end defun
 
+@defun Translator::name tr
+Return the type name of the translator @var{tr}.
+@end defun 
+
+@defun Translator::description tr
+Return an alist of properties of  translator @var{tr}.
+@end defun
 
 @node Grobs
 @section Grobs
index 12b259ea83f27edd4d93d34fde48cc14362decf3..e613c2041c4387b8aa56f6d71404146b3801a867 100644 (file)
@@ -115,12 +115,6 @@ ly_quote_scm (SCM s)
 }
 
 
-SCM
-ly_symbol2scm (const char *s)
-{
-  return gh_symbol2scm ((char *)s);
-}
-
 
 String
 ly_symbol2string (SCM s)
@@ -167,7 +161,6 @@ void
 read_lily_scm_file (String fn)
 {
   gh_eval_str ((char *) gulp_file_to_string (fn).ch_C ());
-  //  scm_c_eval_string ((char *) gulp_file_to_string (fn).ch_C ());
 }
 
 extern "C" {
index 024810c1b567532f5d7d5480487cbecba170c2aa..9cc2f6d0c652fee8540e645d15927dbaf5ff3706 100644 (file)
@@ -51,9 +51,7 @@ Score::Score (Score const &s)
   /*
     TODO: this is not very elegant.... 
    */
-  /*  store_locations_global_b = (scm_c_eval_string ("point-and-click") !=  SCM_BOOL_F);*/
   store_locations_global_b = (gh_eval_str ("point-and-click") !=  SCM_BOOL_F);
-      
 
   Music * m =unsmob_music (s.music_);
   music_ =  m?m->clone ()->self_scm () : SCM_EOL;