bugDenemo - Bugs: bug #31440, Toggle expand/contract...

 
 

bug #31440: Toggle expand/contract voices/staffs

Submitter:  None
Submitted:  Mon 25 Oct 2010 02:28:39 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 10 Dec 2010 11:59:11 PM UTC, comment #5: 

Hmmm...what was done with this?  This says "fixed in git", but the original idea was to simplify working with multiple voices, viewed on separate staffs.  I can't find this type of command at all among the Staff commands in the 0.8.22 release.  I assume the fixed in git comment refers to skipping empty bars in exporting lilypond.  What's the verdict on the original idea: postponed or forgotten?  It can be done with the scripts that were posted, but the idea of making it a staff attribute that only gets combined when printing sounds better.  -Dan W.

Anonymous
Thu 28 Oct 2010 08:15:39 AM UTC, comment #4: 

fixed in git.

Richard Shann <rshann>
Group administrator
Tue 26 Oct 2010 08:41:32 PM UTC, comment #3: 

I think this needs fixing - the exportlilypond routine should detect the duration in ticks of the contents of a measure and if 0 do the skip thing perhaps...

Richard Shann <rshann>
Group administrator
Tue 26 Oct 2010 08:35:40 PM UTC, comment #2: 

Its not empty measures, but you need to be cautious if doing certain things:

Inserting key/time/clef changes on "All Staves" add them in the empty measures too which will lead to an incomplete measure and therefore broken lilypond. Same is true for any scheme-created directive.

-Deleted Account- <steele>
Tue 26 Oct 2010 08:25:47 PM UTC, comment #1: 

This sounds very good. I think it could be pushed further: treat the drawing by Denemo of more than one voice on a single staff as a little-used/advanced feature: make the print command look for and amalgamate those staffs that have the voice-designating markers, unamalgamating them once printed.

"...you don't have to mess with filling in blank rests, etc." well you don't do you? Empty measures can just be left, they print blank as you would wish.

Richard Shann <rshann>
Group administrator
Mon 25 Oct 2010 02:28:39 AM UTC, original submission:  

I've found this makes working with voices much easier.

It's tough to edit voices when they're condensed onto the same staff.  However, when you want to print them, you need them all joined together.  This is a hassle to do manually if you have to go back and forth a lot to preview and then correct.

The command "Expand Voice Toggle" does this for you.  You just add voices as usual, and when you execute it, it breaks each staff up into separate staffs for each voice.  Importantly, it remembers which ones were joined by putting in a staff directive.  Next time you execute the command it rejoins all voices properly.

It relies on a command "Merge Up" that inserts the directives, and a global variable that I put in the init script for the Staff menu to know whether to expand or contract.  There could be another way to do it but this works.

Nils posted about voices a while back and I agree, it would be best if there were a way to insert a voice just for a measure here and there so you don't have to mess with filling in blank rests, etc.  Until then I hope this will be useful.
-Dan W.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #21799:  init.scm added by None (20B - text/x-guile)
file #21800:  MergeUp added by None (428B - application/octet-stream)
file #21801:  ExpandVoicesToggle added by None (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by steele (Posted a comment)
  • -email is unavailable- added by rshann (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-04 steele Open/ClosedOpen Closed
    2010-10-28 rshann StatusNone Fixed
    2010-10-25 None Attached File- Added init.scm, #21799
        Attached File- Added MergeUp, #21800
        Attached File- Added ExpandVoicesToggle, #21801

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code