Quantcast

Support for numbered notation (Jianpu)

classic Classic list List threaded Threaded
42 messages Options
123
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Support for numbered notation (Jianpu)

byan61
Hi,

I am a software engineer and an amateur musician.
I'd like to contribute in adding support for numbered notation (aka
Jianpu) to MuseScore.
Is there any active development on this feature?

Regards,
Brian


------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

lasconic
Administrator
Hi Brian,

As far as I know, there is currently no development going on for Jianpu, and your expertise is welcome!
If you need any help, please ask here on the mailling list or on IRC #musescore on freenode.net <a href="https://kiwiirc.com/client/irc.freenode.net/?nick=musescore|?#musescore">https://kiwiirc.com/client/irc.freenode.net/?nick=musescore|?#musescore

You can find information to build MuseScore and to contribute in the developer handbook at https://musescore.org/en/developers-handbook

Regards,
lasconic

2016-11-17 6:56 GMT+01:00 Brian Yan <[hidden email]>:
Hi,

I am a software engineer and an amateur musician.
I'd like to contribute in adding support for numbered notation (aka
Jianpu) to MuseScore.
Is there any active development on this feature?

Regards,
Brian


------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
Thanks, Iasconic.

I have one question regarding following step from Git workflow.
Create a branch for new issue ($ git checkout -b 404-new-feature)

Do you have any convention/rule for the git branch name?
Or can I give whatever name that I choose?

Some more questions:

Who will be reviewing the code changes and accept them when I push the changes upstream to GitHub?
Will you be the one or someone else?  Or multiple people?

Would this mailing list be the right place to discuss detailed architecture and design issues?

Regards,
Brian
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

lasconic
Administrator
Hi Brian,

I created an issue to follow the development of the Jianpu feature and where you can explain the requirements
https://musescore.org/en/node/141581 I'm curious how you envision Jianpu support. Do you want to be able to playback the Jianpu? Do you want to link it with a standard notation staff like tab/standard can be linked?

You can use this issue number for the branch name 141581-jianpu

The code will be reviewed by the whole community. Werner and I always make the final call to pull the changes in the master repository.

This mailing list is fine if it's pure development and architecture but it has very low traffic. If you need larger feedback, it's probably better to open a forum post in the Technology Preview Forum https://musescore.org/en/forum/687. The forum has a larger audience and a mix of developers and users. And as mentioned, we can have a live chat on IRC where several developers hang out.

lasconic

------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
Thanks, Nicolas.
I'll start writing something up in the issue page.

Live chat on IRC may not work out well due to time-zone difference -- I live in Texas, U.S.A.
What time-frame are you usually online on IRC?

Regards,
Brian


On 11/19/2016 02:06 AM, Lasconic wrote:
Hi Brian,

I created an issue to follow the development of the Jianpu feature and where you can explain the requirements
https://musescore.org/en/node/141581 I'm curious how you envision Jianpu support. Do you want to be able to playback the Jianpu? Do you want to link it with a standard notation staff like tab/standard can be linked?

You can use this issue number for the branch name 141581-jianpu

The code will be reviewed by the whole community. Werner and I always make the final call to pull the changes in the master repository.

This mailing list is fine if it's pure development and architecture but it has very low traffic. If you need larger feedback, it's probably better to open a forum post in the Technology Preview Forum https://musescore.org/en/forum/687. The forum has a larger audience and a mix of developers and users. And as mentioned, we can have a live chat on IRC where several developers hang out.

lasconic


------------------------------------------------------------------------------


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

lasconic
Administrator
I'm in France (+7 for you) and I'm on IRC from ~8am to ~8pm (or later) during the week. So you can catch me every morning for you.
A couple developers are in the US too.

lasconic



2016-11-19 18:11 GMT+01:00 Brian Yan <[hidden email]>:
Thanks, Nicolas.
I'll start writing something up in the issue page.

Live chat on IRC may not work out well due to time-zone difference -- I live in Texas, U.S.A.
What time-frame are you usually online on IRC?

Regards,
Brian



On 11/19/2016 02:06 AM, Lasconic wrote:
Hi Brian,

I created an issue to follow the development of the Jianpu feature and where you can explain the requirements
https://musescore.org/en/node/141581 I'm curious how you envision Jianpu support. Do you want to be able to playback the Jianpu? Do you want to link it with a standard notation staff like tab/standard can be linked?

You can use this issue number for the branch name 141581-jianpu

The code will be reviewed by the whole community. Werner and I always make the final call to pull the changes in the master repository.

This mailing list is fine if it's pure development and architecture but it has very low traffic. If you need larger feedback, it's probably better to open a forum post in the Technology Preview Forum https://musescore.org/en/forum/687. The forum has a larger audience and a mix of developers and users. And as mentioned, we can have a live chat on IRC where several developers hang out.

lasconic


------------------------------------------------------------------------------


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer



------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

lasconic
Administrator
Hi Brian,

How is it going? You find your way around MuseScore source code. Let me know if I can help.

lasconic

2016-11-19 18:55 GMT+01:00 Lasconic <[hidden email]>:
I'm in France (+7 for you) and I'm on IRC from ~8am to ~8pm (or later) during the week. So you can catch me every morning for you.
A couple developers are in the US too.

lasconic



2016-11-19 18:11 GMT+01:00 Brian Yan <[hidden email]>:
Thanks, Nicolas.
I'll start writing something up in the issue page.

Live chat on IRC may not work out well due to time-zone difference -- I live in Texas, U.S.A.
What time-frame are you usually online on IRC?

Regards,
Brian



On 11/19/2016 02:06 AM, Lasconic wrote:
Hi Brian,

I created an issue to follow the development of the Jianpu feature and where you can explain the requirements
https://musescore.org/en/node/141581 I'm curious how you envision Jianpu support. Do you want to be able to playback the Jianpu? Do you want to link it with a standard notation staff like tab/standard can be linked?

You can use this issue number for the branch name 141581-jianpu

The code will be reviewed by the whole community. Werner and I always make the final call to pull the changes in the master repository.

This mailing list is fine if it's pure development and architecture but it has very low traffic. If you need larger feedback, it's probably better to open a forum post in the Technology Preview Forum https://musescore.org/en/forum/687. The forum has a larger audience and a mix of developers and users. And as mentioned, we can have a live chat on IRC where several developers hang out.

lasconic


------------------------------------------------------------------------------


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer




------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
Hi Nicolas,

I have set up my MuseScore project with GitHub and was able to build and run/debug on my Kubuntu Linux PC.
I was browsing through the source code yesterday.
The easiest way seems to be to implement Jianpu the same way as the TabStaff was implemented.

So I can just add JIANPU in the  StaffGroup type and add variations specific to Jianpu in some 20-25 classes.
enum class StaffGroup : char {
STANDARD, PERCUSSION, TAB
};

The TabStaff seems to have its own staff and notes apart from the standard staff, since it's of Staff class itself.
How do standard staff and tab staff share their notes?
Or they have their own copies of notes?

Another question:
Can user directly enter/edit notes in the tab staff and are the changes reflected automatically on the standard staff?

Regards,
Brian


On 11/26/2016 09:29 AM, Lasconic wrote:
Hi Brian,

How is it going? You find your way around MuseScore source code. Let me know if I can help.

lasconic

2016-11-19 18:55 GMT+01:00 Lasconic <[hidden email]>:
I'm in France (+7 for you) and I'm on IRC from ~8am to ~8pm (or later) during the week. So you can catch me every morning for you.
A couple developers are in the US too.

lasconic



2016-11-19 18:11 GMT+01:00 Brian Yan <[hidden email]>:
Thanks, Nicolas.
I'll start writing something up in the issue page.

Live chat on IRC may not work out well due to time-zone difference -- I live in Texas, U.S.A.
What time-frame are you usually online on IRC?

Regards,
Brian



On 11/19/2016 02:06 AM, Lasconic wrote:
Hi Brian,

I created an issue to follow the development of the Jianpu feature and where you can explain the requirements
https://musescore.org/en/node/141581 I'm curious how you envision Jianpu support. Do you want to be able to playback the Jianpu? Do you want to link it with a standard notation staff like tab/standard can be linked?

You can use this issue number for the branch name 141581-jianpu

The code will be reviewed by the whole community. Werner and I always make the final call to pull the changes in the master repository.

This mailing list is fine if it's pure development and architecture but it has very low traffic. If you need larger feedback, it's probably better to open a forum post in the Technology Preview Forum https://musescore.org/en/forum/687. The forum has a larger audience and a mix of developers and users. And as mentioned, we can have a live chat on IRC where several developers hang out.

lasconic


------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
------------------------------------------------------------------------------ _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer
------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

lasconic
Administrator

The easiest way seems to be to implement Jianpu the same way as the TabStaff was implemented.
So I can just add JIANPU in the  StaffGroup type and add variations specific to Jianpu in some 20-25 classes.
enum class StaffGroup : char {
STANDARD, PERCUSSION, TAB
};
 
Sounds like a good plan indeed.


The TabStaff seems to have its own staff and notes apart from the standard staff, since it's of Staff class itself.
How do standard staff and tab staff share their notes?
Or they have their own copies of notes?
Another question:
Can user directly enter/edit notes in the tab staff and are the changes reflected automatically on the standard staff?

It's more or less the same question. 
User can choose to have staves linked to each other or not. If you create a score with one staff, you can go to Edit > Instruments, select a staff and click "Add linked staff". You will see that another staff is added and if you enter music in one, the other will be changed too. The same applies for a standard staff and a tablature staff, but also for a staff in the main score and a staff in one of the linked parts. See https://musescore.org/en/handbook/part-extraction

Each staff does have its own copy of the notes but, if the staves are linked, the staff and the notes are linked via ScoreElement::_links and Staff::_linkedStaves.

hope it helps,
lasconic



------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
I made some changes for adding a linked Jianpu staff to a standard staff and converting the note pitch/tpc values to Jianpu note numbers.
See the picture below.
I am currently using layout of the standard staff.  I still need to to put all the Jianpu note numbers on the same level and add dashes underneath the numbers for eighth notes, sixteenth notes, etc.
How does the the staff/note layout and drawing work in general?  Any pointers for further study?

Jianpu-1.png


On 11/26/2016 11:22 AM, Lasconic wrote:

The easiest way seems to be to implement Jianpu the same way as the TabStaff was implemented.
So I can just add JIANPU in the  StaffGroup type and add variations specific to Jianpu in some 20-25 classes.
enum class StaffGroup : char {
STANDARD, PERCUSSION, TAB
};
 
Sounds like a good plan indeed.


The TabStaff seems to have its own staff and notes apart from the standard staff, since it's of Staff class itself.
How do standard staff and tab staff share their notes?
Or they have their own copies of notes?
Another question:
Can user directly enter/edit notes in the tab staff and are the changes reflected automatically on the standard staff?

It's more or less the same question. 
User can choose to have staves linked to each other or not. If you create a score with one staff, you can go to Edit > Instruments, select a staff and click "Add linked staff". You will see that another staff is added and if you enter music in one, the other will be changed too. The same applies for a standard staff and a tablature staff, but also for a staff in the main score and a staff in one of the linked parts. See https://musescore.org/en/handbook/part-extraction

Each staff does have its own copy of the notes but, if the staves are linked, the staff and the notes are linked via ScoreElement::_links and Staff::_linkedStaves.

hope it helps,
lasconic




------------------------------------------------------------------------------


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

lasconic
Administrator
Hi Brian,

Good progress!

First remark, the mailing list has a post size limit. When you include images, try to make them smaller or your post will be blocked until an admin validates it.

Regarding the layouting, the code is the main documentation unfortunately... For every element, you will find a layout() method that will compute its bounding box and a draw() method that will draw it. Most of the layout is done in layout.cpp. For notes, check layoutChords3().

Keep on the good work!

lasconic
 


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

Maurizio M. Gavioli
In reply to this post by byan61
byan61 wrote
I made some changes for adding a linked Jianpu staff to a standard staff and converting the note pitch/tpc values to Jianpu note numbers. See the picture below.
I am currently using layout of the standard staff.  I still need to to put all the Jianpu note numbers on the same level and add dashes underneath the numbers for eighth notes, sixteenth notes, etc.
How does the the staff/note layout and drawing work in general?  Any pointers for further study?
If my experience as the author of most of the TAB implementation can be useful, most elements (like note heads, stems, beams, etc) have a layout() method, as lasconic said, and a draw() method.

I have added special treatment for the TAB case in many of them and you can have a look at them for inspiration. For instance (but quoting from memory), if in in a TAB staff, the Note::layout() method positions the note head depending on the TAB string rather than on the note pitch; the Accidental::draw() method totally skips the element (TAB have no accidentals) and so on.

I would suggest NOT to modify values related to standard staves (like pitch and tpc), but to use them for as a base for your own calculations, as they will be needed if the staff is converted back to standard notation.

I would also suggest to focus initially only on implementing a 'native' (i.e. autonomous, non-linked) jianpu staff and to deal with staff linking only once it has reached an advanced enough state (and you decide what "advanced enough" may mean).

Good luck!

M.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
Thanks, M. Gavioli, for your advice.  I appreciate it.
For layout, Jianpu layout is more similar in appearance to the standard note layout than to the TAB's.
So I'm following the the layout of the standard note.

Here is a snapshot of current implementation.
Jianpu-2.png


Still, I need to add number zero for silent notes and note duration symbols.
I'm not modifying the standard note values (pitch, tpc) and keeping them intact.
I happen to have started with the linked staff, so I'll continue the work this way until Jianpu note display is pretty much done and when I start doing Jianpu note entry and editing.

Thanks,
Brian
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
Snapshot of current Jianpu display implementation.

Jianpu-3.png

The layouts of under-lines for hooks are not quite right yet.
The layouts of under-lines for beams are quite nice now.
I'm using  the whole-rest symbol as Jianpu duration dashes and it looks too thick to me.
I may need to create a new symbol for the duration dashes.
 

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

lasconic
Administrator
Hi Brian,

it looks better every day!

For the duration dash, it might be easier to draw a line instead of relying on a font symbol. MuseScore uses the SMuFL standard for the font layout http://w3c.github.io/smufl/gitbook/ and there is nothing for Jianpu in it. If you miss some symbols we coud make a proposal to the SMuFL community to include them in a future version of the standard but for now using drawLine or drawRect is probably easier than modifying the font.

Do you plan to keep the staff line? Most Jianpu I can find online doesn't have any line. Do you have a reference implementation? A software or a document describing what you want to achieve in term of "style"?


lasconic

 

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
Hi Nicolas,

Thanks for your feedback.
I'll use drawLine or drawRect for the duration dash.

I do not plan to keep the staff line. Jianpu does not have the staff line.
I just did not have a chance to remove it yet.  I'll do that  when I have a chance.
I do not have any reference implementation nor a document.

Regards,
Brian



On 12/06/2016 02:47 AM, Lasconic wrote:
Hi Brian,

it looks better every day!

For the duration dash, it might be easier to draw a line instead of relying on a font symbol. MuseScore uses the SMuFL standard for the font layout http://w3c.github.io/smufl/gitbook/ and there is nothing for Jianpu in it. If you miss some symbols we coud make a proposal to the SMuFL community to include them in a future version of the standard but for now using drawLine or drawRect is probably easier than modifying the font.

Do you plan to keep the staff line? Most Jianpu I can find online doesn't have any line. Do you have a reference implementation? A software or a document describing what you want to achieve in term of "style"?


lasconic

 


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

sirsoweird
Brian, it's looking good.  One question, normally jianpu has the lower octave dots placed below the eighth/sixteenth duration marks, correct?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
Thanks, Ryan.
It's true that the conventional Jianpu has the lower octave dots below
the 8th/16th duration lines.

But I'd prefer to have the dots right underneath the note numbers so
that we do not have any ambiguity in chords.
In chords, some notes may have the dot and some others may not.  In the
conventional Jianpu, we have only one place to put the dot, which is
below the 8th/16th duration line. So we will have an ambiguity -- which
notes in the chord does the dot belongs to?
By placing the dot underneath individual notes will resolve this issue
and it is more elegant, IMHO.

Regards,
Brian


On 12/07/2016 08:30 AM, sirsoweird wrote:

> Brian, it's looking good.  One question, normally jianpu has the lower octave
> dots placed below the eighth/sixteenth duration marks, correct?
>
>
>
> --
> View this message in context: http://dev-list.musescore.org/Support-for-numbered-notation-Jianpu-tp7580026p7580048.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/xeonphi
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
In reply to this post by sirsoweird
I use following entry in StaffType _presets vector, for Jianpu staff.

//                       group,              xml-name,
human-readable-name,       lin dst clef  bars stmless time  key ledger
          StaffType(StaffGroup::JIANPU, "Jianpu", QObject::tr("Jianpu"),
1, 1, false, true, false, true, false, false),

I set "lines" value to 1 in the entry so I get one staff line drawn.
If I set "lines" value to 0 in the entry, no staff lines are drawn at
all but all the barlines also disappear even though I set "showBarLines"
to true.

It seems that I have to set "lines" value to at least 1 to get barlines
drawn.
Is there anyway to hide the staff line?

Regards,
Brian


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Support for numbered notation (Jianpu)

byan61
Staff line is removed and fillRect function is used to draw note/rest duration dashes.
See the snapshot of current implementation below.
Jianpu-4.png

Still, adjustment for ties and note positions in the chord are needed and other stuff like key signature, etc., need to be added.
 

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
123
Loading...