-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
141581 jianpu #2957
141581 jianpu #2957
Conversation
Hi, thank you for the PR. Two things:
|
Merge conflicts have been resolved. It's ready for review. |
It seems your code cannot be compiled, see https://travis-ci.org/musescore/MuseScore/jobs/190151221#L1926 |
Sorry, some files were left out accidentally. |
No problem. The CI is running. Next thing will be to squash all your commits together to not pollute the history of the repo. See http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html |
CI is still failing https://travis-ci.org/musescore/MuseScore/jobs/190154341#L1998 |
Some mtests are failing, namely tst_midimapping, see https://travis-ci.org/musescore/MuseScore/jobs/190164161#L5105 |
libmscore/stafftype.cpp
Outdated
@@ -1384,6 +1386,7 @@ void StaffType::initStaffTypes() | |||
StaffType(StaffGroup::PERCUSSION, "perc1Line", QObject::tr("Perc. 1 line"), 1, -4, 1, true, true, false, true, false, true), | |||
StaffType(StaffGroup::PERCUSSION, "perc3Line", QObject::tr("Perc. 3 lines"), 3, 0, 2, true, true, false, true, false, true), | |||
StaffType(StaffGroup::PERCUSSION, "perc5Line", QObject::tr("Perc. 5 lines"), 5, 0, 1, true, true, false, true, false, true), | |||
StaffType(StaffGroup::JIANPU, "jianpu", QObject::tr("Jianpu"), 0, 0, 1, false, true, false, true, false, false), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is why the mtest fail, here you insert Jianpu (better append it IMHO)
@@ -155,6 +155,7 @@ enum class StaffTypes : signed char { | |||
TAB_6SIMPLE, TAB_6COMMON, TAB_6FULL, | |||
TAB_4SIMPLE, TAB_4COMMON, TAB_4FULL, | |||
TAB_UKULELE, TAB_BALALAJKA, TAB_ITALIAN, TAB_FRENCH, | |||
JIANPU, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whereas here you append jianpu (IMHO a good choice)
libmscore/stafftype.h
Outdated
@@ -243,6 +244,11 @@ class StaffType { | |||
static QList<TablatureDurationFont> _durationFonts; | |||
static std::vector<StaffType> _presets; | |||
|
|||
// Jianpu: configurable properties | |||
// TODO: read them from configuration file. | |||
QFont _jianpuNoteFont = QFont("Times New Roman", 11.0, QFont::Bold); // font used to draw Jianpu notes/rests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better use FreeSerif or FreeSans, these are delivered with MuseScore, Times New Roman is not and not available on some platforms
Thanks, Jojo. |
Looks better ;-) |
I'll be working on read/write part before squashing the commits. |
After adding read/write and saving the score file with Jianpu linked staff, staves that are below Jianpu staff are not displayed at all when the file is opened. Display of Jianpu staff and staves above it are working fine. The layout functions of elements from the staves in question are called but the draw functions do not get called. Verified with debugger that these elements are added to the BspTree by scanElements function. Any idea why draw function of these elements do not get called? |
A rebase is needed. And I guess this PR should get tagged as |
Note entry and editing for Jianpu has not been implemented yet, so this will not work. |
Arr... I just tried opening an existing score file and adding Jianpu staff and the display of Jianpu staff does not work anymore after merging with latest from the base branch. I'll work to fix that. |
Sorry for that. It's true that the current master is a bit of a moving target right now. Feel free to ask for help if needed. |
Sorry that I've been busy at work and at home and have not had much time to focus on this yet. Any help is welcome including pointing out what might be causing the Jianpu display issue. |
Issue of Jianpu staff display has been fixed now. |
@lasconic and @Jojo-Schmitz: Can you take a look and merge the PR if it's acceptable? Thanks. |
@byan61 sure, give us some time though, we are trying to release MuseScore 2.1 asap. |
I have fixed the remaining compiler warnings and pushed a new commit, hopefully the last one for this PR. Please take a look. |
@lasconic and @Jojo-Schmitz: Can you take a look and merge the PR if it's acceptable so that I can move on to the next step? Thanks. |
@byan61: code looks OK to me, I haven't actually tested any of it though. And I can't merge. |
@lasconic and @Jojo-Schmitz: It's been a month now. Any chance for testing and to get it merged? |
@lasconic @Jojo-Schmitz @byan61 I'd love to help test this, however I had a hard time getting a build going for either Windows or Linux. Could anyone put something together for Windows so a few of us could test and give feedback? Sorry I'm not an expert programmer, but I'll help where I can. |
Did you rebase on master and fix the conflicts? if yes, can you open a new PR ? |
No, I didn't rebase with master. I'm still very interested in this project, however I'm not going to have much time to work on it for a while here. Not sure where @byan61 is with this, he doesn't seem to be very active currently. If we want to get back on track with this project, what would the steps be? |
Hi, |
Hi, I am Danny Salim and am interested to continue this project. |
See PR #3614 for a rebased version. |
@odhot boleh minta nomor wa atau ig atau nama fb kmu tidak? |
A year later... |
this is still closed and #3614 still open... |
smusic.zip |
different ... our numeric notation has different flag position |
How to get this jianpu view note sheet. |
I would like to get jianpu staff note to numbered note auto convert, please help me. |
this PR has been closed 2 1/2 years ago and work continued in #3614. |
Last comment until now was Oct. 2020. |
See #3614, that one is at least quite a bit newer |
Thanks for the response!
�
Yeah, that’s the one I was originally responding to. As a newbie to the discussion, it is a little difficult for me to understand exactly what was and is going on with the development of the plugin.
�
Also, having done programming, QA and technical writing in the past, I know the difficulties of implementation of seemingly simple ideas: Manager: “Move the OK button to the other side; can you do that this afternoon?” Programmer: “Actually, it’s going to take about two weeks to make it happen.”
�
I’ve manually “translated” Western notation to Jianpu and back again for various music groups here. A lot of professional traditional Chinese singers are not trained in Western notation, and it also took me a fair amount of practice to master some of the more subtle aspects of Jianpu notation. Additionally, there are specialized characters and symbols for nuances on different instruments and even for different Ethnic and regional styles of singing. If the basics are able to be bullet-proofed (rhythm, pitch, key and tempo identification, multiple parts, lyrics), it should then be easier to customize for individual instruments and styles.
�
Please do let me know if there’s any way I might assist with the development.
�
Peace,
�
Don
�
Don “Orfeo” Rechtman �(唐瑞民)
53 Wutong Shan Shi Chang Keng Bei Cun, Luohu District, Shenzhen, Guangdong, China 518020
广东省深圳市罗湖区梧桐山市场坑背村53号
518020
Phone (China): �(+86) 135-2889-6144
Weixin (WeChat) name: � oorfeo
www.OrfeoMusic.org <http://www.orfeomusic.org/>
“Delve into tradition with the utmost dedication and then break away from it with the utmost courage.”
Li Keran (1907-1989), a prominent figure in 20th-century Chinese art
�
�
From: Joachim Schmitz ***@***.***>
Sent: Thursday, September 2, 2021 11:36 PM
To: musescore/MuseScore ***@***.***>
Cc: oorfeo ***@***.***>; Comment ***@***.***>
Subject: Re: [musescore/MuseScore] 141581 jianpu (#2957)
�
See #3614 <#3614> , tht one is at least quite a bit newer
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#2957 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATZJIRCXQURHOFW4GSB4SGTT76KVHANCNFSM4C3XAJWA> .
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> .
|
This is initial implementation of Jianpu staff display and adding a linked Jianpu staff from a Standard staff.
The implementation is just a start and is by no means a complete one yet.
Currently display of octave dots is limited to one dot.
Supports for duration augmenting dots, grace notes, spanners, etc., are not there yet.
There are also some TODO items marked in the code.