ChordName

61 views
Skip to first unread message

Eduardo Lealdini Ramalho

unread,
Jun 7, 2010, 1:11:13 PM6/7/10
to abc4j
Hello, I'm trying to put the set chordName note but it does not show
up, someone would have an example?
Below is my code.

Thanks

Tune tune = new Tune();
KeySignature key = new KeySignature(Note.D,
KeySignature.MAJOR);

tune.getMusic().addElement(key);
Tune.Music music = tune.getMusic();
Note nota1 = new Note(Note.C);
nota1.setStrictDuration(Note.QUARTER);
nota1.setChordName("Gm6");


music.addElement(nota1);
JScoreComponent scoreUI =new JScoreComponent();
scoreUI.setTune(tune);

JFrame j = new JFrame();
j.add(scoreUI);
j.pack();
j.setVisible(true);
j.setTitle("Janela de Testes");
j.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

iubito

unread,
Jun 9, 2010, 2:30:59 AM6/9/10
to abc4j
Are you using the SVN version ? or the last build abc4j_v0.5.jar ?
v0.5 didn't show chord names. I added it for the next release, it's in
the SVN.

Sylvain

On 7 juin, 19:11, Eduardo Lealdini Ramalho <eduardo...@gmail.com>
wrote:

Eduardo Lealdini Ramalho

unread,
Jun 9, 2010, 9:15:19 AM6/9/10
to abc4j
Hum, I1m using v0.5, i go use in the svn.

Tks

marty...@gmail.com

unread,
Feb 17, 2013, 5:19:54 PM2/17/13
to ab...@googlegroups.com, eduar...@gmail.com
Have you released a newer version? I don't see anything newer than 0.5 in the downloads list.
Reply all
Reply to author
Forward
0 new messages