|
|
MakeMusic Forum > Public Forums > Finale - Macintosh - FORUM HAS MOVED! > Double-staffed multi-measure rest? | Forum Quick Jump
|
| Charles Lawrence Registered Member
Date Joined Dec 2009 Total Posts : 3638 | Posted 11/2/2015 11:36 AM (GMT -6) | | Interested Forum members,
Please find attached version 2.0 of my JW Lua script to process double staff MMRs. I have revamped the script to remove all unnecessary dialog boxes. The way the script works now is to process all double staff MMRs found in the selected region of the score/part. If no region is selected, the script will process all double staff MMRs found in the score/part. In order to qualify for processing, the selected portion of a found MMR must have two and only two visible staves. Normally a score will not have any MMRs that qualify, since an MMR applies to the complete measure stack when created, and any notes found in any measures of the stack will preclude those measures from inclusion in the MMR. Rarely will all the instruments in the score have full measures of rest at the same time. Parts are normally where qualified MMRs will be found. If a score/part does have an MMR where there are more than two visible staves, you can repeatedly select the portion of the MMR that contains any two adjacent visible staves and rerun the script on that selection to get double staffed processed MMRs for the complete MMR measure stack.
Again, any feedback is welcomed. I have tested the script as best I could for as many scenarios as I could imagine. I'm sure there must be some configuration out there where the script will misbehave. Let me know if it doesn't work, or you don't understand what it is doing, or how to work it.
Enjoy!
[PS] Just replace the old script with the new one in whatever place you put it.
[PPS] I tried to implement all the fine suggestions I received from the various posters.
"Anything is possible if you don't know what you are talking about!"
Intel(R) Core(TM) i7-5930K CPU with 6 dual core processors @ 3.50 GHz (12 threads)
32 GB RAM
Realtek High Definition on board audio NVIDIA GeForce GTX 980 GPU with 4GB ram
512 GB SSD system disk
Four 4TB and one 1TB internal SATA HD's Microsoft Windows 8.1 Professional with Media Center x64 Edition, (06.03.9600.00) Finale versions: 2011b.r2, 2012c.r13, 2014d.v5030
GPO4.02
Cakewalk SONAR X3
"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell
Post Edited (Charles Lawrence) : 11/2/2015 10:47:08 AM (GMT-6) File Attachment : DoubleStaffMMR.lua 7KB (application/octet-stream) This file has been downloaded 723 time(s). | Back to Top | |
| Charles Lawrence Registered Member
Date Joined Dec 2009 Total Posts : 3638 | Posted 11/2/2015 11:42 AM (GMT -6) | | Michel,
I'm not sure what you mean, but the latest JW Lua version available at this time is Beta 0.42 for Windows and Beta 0.41 for Mac.
"Anything is possible if you don't know what you are talking about!"
Intel(R) Core(TM) i7-5930K CPU with 6 dual core processors @ 3.50 GHz (12 threads)
32 GB RAM
Realtek High Definition on board audio NVIDIA GeForce GTX 980 GPU with 4GB ram
512 GB SSD system disk
Four 4TB and one 1TB internal SATA HD's Microsoft Windows 8.1 Professional with Media Center x64 Edition, (06.03.9600.00) Finale versions: 2011b.r2, 2012c.r13, 2014d.v5030
GPO4.02
Cakewalk SONAR X3
"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell
| Back to Top | |
| Michel R. E. Registered Member
Date Joined May 2003 Total Posts : 7430 | Posted 11/2/2015 12:20 PM (GMT -6) | | Fantastic! it works beautifully so far... although I'm pretty sure I'll find SOMETHING with which to break it!
Charles Lawrence said...Interested Forum members, Please find attached version 2.0 of my JW Lua script to process double staff MMRs. I have revamped the script to remove all unnecessary dialog boxes. The way the script works now is to process all double staff MMRs found in the selected region of the score/part. If no region is selected, the script will process all double staff MMRs found in the score/part. In order to qualify for processing, the selected portion of a found MMR must have two and only two visible staves. Normally a score will not have any MMRs that qualify, since an MMR applies to the complete measure stack when created, and any notes found in any measures of the stack will preclude those measures from inclusion in the MMR. Rarely will all the instruments in the score have full measures of rest at the same time. Parts are normally where qualified MMRs will be found. If a score/part does have an MMR where there are more than two visible staves, you can repeatedly select the portion of the MMR that contains any two adjacent visible staves and rerun the script on that selection to get double staffed processed MMRs for the complete MMR measure stack. Again, any feedback is welcomed. I have tested the script as best I could for as many scenarios as I could imagine. I'm sure there must be some configuration out there where the script will misbehave. Let me know if it doesn't work, or you don't understand what it is doing, or how to work it. Enjoy! [PS] Just replace the old script with the new one in whatever place you put it. [PPS] I tried to implement all the fine suggestions I received from the various posters. Finale (started with ver. 3.0) now using 2012 under Windows 8.1 basically ALL Garritan libraries, plus XSample Chamber Ensemble.
"Art critics suffer from Pigeon Syndrome. Pigeons like to leave their mark on monuments. But at the end of the day, the pigeon remains a pigeon, and the monument remains a monument." | Back to Top | |
| Motet Isorhythmic
Date Joined Dec 2002 Total Posts : 12849 | Posted 11/2/2015 12:21 PM (GMT -6) | | |
| John Ruggero Registered Member
Date Joined Mar 2000 Total Posts : 820 | Posted 11/2/2015 12:29 PM (GMT -6) | | Charles, what wonderful job! Runs like a watch. No fuss or muss, just gets the job done. Hopefully Finale users will take notice and bring their double-staffed parts up to standard.
And it will not only do parts with two or more double-staffed instruments or groups, but also triple, quintuple, etc.-staffed by creating two or more overlapping groups!
This really deserves to be at the very least a regular plug-in or better, part of Finale proper, MM. Mac mini (OS 10.8.5) with dual monitors, Finale 2014d (Finale 2011 as a backup) with GPO 4 Kurzweil Mark 5 with M-Audio Midisport 2 x 2, Adobe InDesign CS4 SmartScore X Pro, JW Plug-ins www.cantilenapress.com
The better the composer, the better the notation. | Back to Top | |
| Charles Lawrence Registered Member
Date Joined Dec 2009 Total Posts : 3638 | Posted 11/2/2015 12:56 PM (GMT -6) | | Thanks John.
I have put a lot of time and effort into this. You inspired me to set out on this venture. Like Michel said, somebody will no doubt come up with a situation that breaks it, or that I have not considered in the design.
A couple of things that might need mentioning for those who have not followed the thread.
The script will accommodate any re-sizing of the white space between the staves, as well as changing the line spacing of either/both staves, all within reason, of course. You can also re-order the staves. These operations should be done before running the script. Since the number is now an expression, any changes done after running the script, may require that the expression be manually repositioned. The font used for the number is always Maestro/24/plain and therefore may not be appropriate if the spacing of the page is small, like on a large full orchestra score. It's on my to do list to see if something can be done in this case. Also, if the MMR is set to display a range, it might collide. No provision has been made to avoid collisions of the number expression with any other objects in the whitespace. These adjustments will need to be done manually.
"Anything is possible if you don't know what you are talking about!"
Intel(R) Core(TM) i7-5930K CPU with 6 dual core processors @ 3.50 GHz (12 threads)
32 GB RAM
Realtek High Definition on board audio NVIDIA GeForce GTX 980 GPU with 4GB ram
512 GB SSD system disk
Four 4TB and one 1TB internal SATA HD's Microsoft Windows 8.1 Professional with Media Center x64 Edition, (06.03.9600.00) Finale versions: 2011b.r2, 2012c.r13, 2014d.v5030
GPO4.02
Cakewalk SONAR X3
"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell
| Back to Top | |
| rowild Registered Member
Date Joined Jul 2009 Total Posts : 5 | Posted 5/8/2016 12:11 PM (GMT -6) | | Hi, Charles,
I found your Lua script just recently and I am overwhelmed what you did here!
Trying to get into Lua scripting for Finale, too, I thought, I might expand on your script a bit and wonder if that would be ok with you. My ideas are to check if a MMR number already exists in the Expression Tools and use that one instead of always creating new entries. Also, before running the script, if should delete any old MMRs and then apply the new ones, so only one MMR expression item is placed onto the staves... And maybe even try to implement a text definition dialog...
But that is only theory...
Let me know if you wish that I keep my fingers from it. or if you intend to publish a new version, which probably inherits the features already...
However... thanks a lot! Robert | Back to Top | |
| Charles Lawrence Registered Member
Date Joined Dec 2009 Total Posts : 3638 | Posted 5/8/2016 4:09 PM (GMT -6) | | Robert,
The script is not proprietary, so feel free to modify it for improvements you may have in mind. Just include comments in the Plug-in Definition area and elsewhere in the body of the script to document what you do and give yourself credit. I used ideas from several forum members when developing the script in the first place.
Good luck. JW Lua is not easy and has a steep learning curve.
"Anything is possible if you don't know what you are talking about!"
Windows 10 Professional (x64) (build 10586)
3.50 gigahertz Intel Core i7-5930K, Multi-core (6 total), Hyper-threaded (12 total)
32638 Megabytes Usable Installed Memory, 17514.37 Gigabytes Usable Hard Drive Capacity NVIDIA GeForce GTX 980 - 4GB [Display adapter]
ASUS Rampage V Extreme motherboard, Realtek HD Audio
Finale 2014.5.6359 Garritan GPO4.02
Cakewalk SONAR X3 - (X3e build 244) - x64, Sound Forge Audio Studio 10.0, Audacity 2.1.0 Sharpeye 2.68, PhotoScore Ultimate 7.0.2, SmartScore X2 Pro 10.5.8
"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell
| Back to Top | |
| 64 posts in this thread. Viewing Page : 1 2 3 | Forum Information | Currently it is Tuesday, December 19, 2023 7:55 PM (GMT -6) There are a total of 403,820 posts in 58,165 threads. In the last 3 days there were 0 new threads and 0 reply posts. View Active Threads
|
Forum powered by dotNetBB v2.42EC SP3 dotNetBB © 2000-2023 |
|
|