Myriad Forum « how to read keySignature »
 Welcome, Guest.
 You can read all messages, but to be able to post,
 please Login or Register.
Oct 19th, 2017, 3:05pm 
   Myriad Forum
   MyrScript Language
(Moderator: Forum Administrator)
   how to read keySignature
« Previous topic | Next topic »
Pages: 1  Reply | Notify of replies | Print
   Author  Topic: how to read keySignature  (Read 93 times)
Tony
Board Junior Member
**





   


Posts: 76
how to read keySignature  
« on: May 28th, 2017, 9:01am »
Quote | Modify

I am using the following code:
 
barSetting=staff.FirstBarSetting
if barSetting==nil then
 print("No bars in staff")
 end
defaultTextStyle=NewTextStyle()
DefaultTextStyle(defaultTextStyle)
keySignature=barSetting.KeySignature
print(keySignature)
 
What I get in the debug log is:
 
table:0BA40C90
 
I was expecting to see the key signature in Anglo-Saxon notation.
 
What am I doing wrong?  
 
Tony
offline
Tony
Board Junior Member
**





   


Posts: 76
Re: how to read keySignature  
« Reply #1 on: May 28th, 2017, 9:22am »
Quote | Modify

Found the answer:
 
KeySignature.Name
 
Tony
offline
Pages: 1  Reply | Notify of replies | Print

« Previous topic | Next topic »

« Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2002,
Xnull. All Rights Reserved.

Top of page
Legal information Last update:  (c) Myriad