« Return to Thread: Adding comments in scores generated with Python

Adding comments in scores generated with Python

by Mark Van Peteghem-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

A thing that has been annoying me for some time in Blue, is that Python
objects seem to remove empty lines and lines starting with a semicolon.
I would find it useful if this didn't happen, because empty lines would
help to see the structure in my scores, and one could use lines starting
with a semicolon to display the value of variables in the Python code
that are not used directly in the score, or to just add some text e.g.
to show where a section of a new type begins.

AFAIK there is no use to remove these lines. But I suppose this happens
anyway because Blue has to process the generated score. Would it be
possible anyway to preserve these lines?

And does anybody know of a workaround to display the value of a
variable? I sometimes use an i-statement with an amplitude of 0 so I can
put the value in the other p-fields, but if the score is long this is
hard to find.


Greetings,

--
  Mark
  _________________________________________
  When you get lemons, you make lemonade.
  When you get hardware, you make software.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

 « Return to Thread: Adding comments in scores generated with Python