Finale SmartMusic
  Home | Log In | Register | Search | Help
   
MakeMusic Forum > Public Forums > Plug-In Development - FORUM HAS MOVED! > Information about instrument name and default rests.  Forum Quick Jump
 
You cannot post new topics in this forum. You cannot reply to topics in this forum. Printable Version
[ << Previous Thread | Next Thread >> | Show Newest Post First ]

Murivan
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MurivanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2008
Total Posts : 7
 
   Posted 3/25/2009 9:15 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
Hello again,
I am still working on refinement of my plugin.
Now i'm facing 2 "big" problems.
1)The first is how to retrieve the instrument name?
I'm using the EDTStaffSpec2003 structure getting data with ot_StaffSpec. I use inci=0 and cmper derived from SlotToInst for each instrument.
I retrieve then the fullName attribute and use it as text.rawTextNumber getting data with tx_TextBlock.
Obviously it doesn't work :)
I tried a work around arguing that instrument are always stored in textblock with id greater than 18 but this is not a good idea.
Does someone faced a similar problem and could help me to solve it?
2) It would be very helpful to me to convert all default rests to "real" events in the score. Any ideas?

As usual, thank you very much for your help.

Davide
Back to Top

Jetcopy
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to JetcopyAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Oct 2000
Total Posts : 4795
 
   Posted 3/25/2009 2:24 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
Murivan said...

2) It would be very helpful to me to convert all default rests to "real" events in the score. Any ideas?


There is a plugin that does this.
Plugins>Note, Beam & Rest Ending>Change to Real Whole Rests


G4 Powerbook, OSX 10.4.11, 1.67 GHz, 2 GB ram

Back to Top

Murivan
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MurivanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2008
Total Posts : 7
 
   Posted 3/26/2009 5:04 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
Thank you! That was quite simple!!!
I need that this operation is always performed on the entire document before my plugin is executed, there's a simple way to do this? Apart from asking that to the users :)

Thank you again.
Back to Top
You cannot post new topics in this forum. You cannot reply to topics in this forum. Printable Version
   
Forum Information
Currently it is Thursday, August 11, 2022 2:06 PM (GMT -5)
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