Let’s not so quick to blame Dorico, especially for something that’s really a hack that’s not supported!
I’ve not been able to figure out how to force language switching from Engrave Options, BUT - I did notice that Dorico takes the top-most Name Definition from the list if I add two languages. If I have the German naming as the first naming node in the tree, that’s what Dorico will use (the below config will display the German name):
I’m not sure if there is some additional mechanism at work to switch display language when Dorico is already running and that’s beyond the doricolib capability, but I don’t think I tried all variations I could think of yet, so who knows. I assume that all active libraries must be loading at startup time, so perhaps it’s connected to that somehow.
Finally, I modified your file because it didn’t work on my system at all, but of course you can use your own version:
Changed instrument definitions to treblestaff and grandstaff (I think this is more in line with how Dorico is doing it)
Corrected instrument ranges to match those of Zither
Modified Score Order to have Quanon after harps and before strings
Made the two staff options nest inside Quanun entry in the instrument picker
Here they are with English uptop and another with German:
Custom Instrument_Quanun.zip (10.1 KB)
Hello dear team and colleagues,
I need an additional help which is related to the case where we are having a custom instrument which looks like a transposing, but actually it does not transpose.
I’m talking about the Bulgarian Kavals in C and in D, both of them non-transposing instruments, which looks somehow against the classical practice, they differ only in their tonal range.
We are having a B flat Kaval, too… but still I’m waiting for information if it’s a transposing instrument, or not.
I’m wondering how I could make them appear in my instrument list by their names Kaval > C, D
but at the same time to appear in the score as non-transposing?!
Of course if the Kaval in Bb isn’t a transposing instrument, I would like to add it by it’s pitch name, too, but without scoring transposition.
Here is the xml code for the Kaval in D:
I need to make it looks like this in the Instrument List:
I would be very thankful if someone is able to assist me, of course if this wish of mine is possible to be achieved in the current version of Dorico!
Surely whether an instrument is transposing, or not, is simply determined by a difference between a written note and a sounding pitch?
You are just half-way right but not exactly. This is how the things look on the score sheet. Actually the way of playing on the instrument determines if it’s a transposing, or not.
For example the Clarinets in Bb and C (this one is non-transposing). Why the one in Bb is a transposing?! Just to make the players life easier by preserving as much as possible the same finger positioning when he/she switches the instruments. The very same whole which produces the pitch of D on Clarinet in C will produce the pitch of C on Clarinet in Bb.
If they are all non-transposing, is it really necessary to specify the transposition? For example, Tubas come in C, Bb, Eb, and F, but they are all non-transposing and typically the instrument size wouldn’t be specified in the score.
Still I’m not sure about the one in Bb, also we are having rare variants in A and E. Unfortunately
there is information only about the most commonly used variant in D. I’m waiting for feedback from a professional kaval player to make this point more clear to me.
In case the Bb is a transposing, then I should specify those in D and C, too, no matter that they don’t transpose.
Until then I’m just wondering if the thing I’m trying to achieve is possible?!
Consider two players with ‘different’ instruments. If, when seeing the same written note, they play the same pitch, neither is transposing.
I’m not really sure. It’s certainly easy enough to change the name, but then it wouldn’t follow Dorico’s “Show transposition” rules. In the case of the Tuba, the player obviously knows which one they are holding and what fingerings to use, would that not be the same case with a non-transposing Kaval?
Fred, most probably the logic is the same.
The Kaval is a very beautiful and magical instrument, but I don’t play it, nor even I’m having a book about the traditional instruments of my homeland. I’m not sure if such book exists at all?! hahaha
I wrote for a Kaval player once, in that video I posted on your Qanon thread. As I didn’t know the instrument well, I asked the player for range info and anything idiomatic I should know. Here’s what he told me:
"The kaval is almost fully chromatic, with a few exceptions. These exceptions are somewhat gotten around by having multiple kavals tuned a half step apart. My primary kaval reads starting from C4 (but sounded C5), then there is a whole step interval to D4, then chromatically up D#, E, F, G, A… comfortably until around read G5 (sounded G6). The lower sounded C4 octave can be played as well but there is a break from sounded A4 to C5.
This lower octave can also be played at the same time as the higher octave in a technique called “kaba” that produces a fatter/denser tone effect.
Additionally, I have kavals starting from C# and D, transposing everything by a half step up. I can figure out which one works for the melody best depending on the range and fingerings.
Ornamentation and different pitch bending/contour is common. Most frequent examples are mordents, inverted mordents, trills, vibrato with mouth/vibrato with fingers."
He sent me a few videos demonstrating various techniques too.
If the kaval was almost fully chromatic, then it was a Bulgarian one. The Bulgarian kavals are the only from the whole family that are capable for not only traditional melodies, but for jazz and classical melodies, too. If you have enough skilled kavaldzhiya (kaval player), the whole kaval could sound chromatic.
It’s the same with the gaidas (bagpipes)… only the Bulgarian dzhura and kaba gaidas are chromatic all western bagpipes are limited to pentatonic scales. This topic could be interesting for you, too.
Since you are interested in the Jazz music, then I recommend you to explore more deeply the Bulgarian traditional music… I’ve never heard something rhythmically more complex than our traditional music… hahaha rarely we are having pieces in even meters.
Here is a small example how we, traditionally recognize 9/8, and how the Western World:
I’ve got a reply from the friend of mine who is a professional kaval player. He told me the following:
About the C and D kavals the most common practice is to be used as non transposing, for the rest of the family in E, Bb and A there is no enough official information.
He, personally, prefers to write for the various kavals as transposing instruments when he writes for himself.
He also shares the same opinion as mine that this instrument should become a transposing.
In conclusion, it won’t be a problem if the instrument is written as transposed.
I’m trying to create some custom instruments on my Mac but without success. Could someone please attach an xml file with a single custom instrument that I could use as a template, and that would go in the DefaultLibraryAdditions folder, as described by eBrooks on Nov 14th in this thread.
All the above examples seem to be for Windows, but I am looking for something that will work on a Mac. It would be greatly appreciated.
There’s no difference in this XML code between platforms. (That’s one of the reasons they develop in Qt to produce all versions.) The qanun.zip file in post #2 should work fine, and it includes modified instrumentnames_en.xml and instrumentFamiliesDefinitions.xml files to show how those work.
Depending on what instrument you want to create, you might want to copy a more similar one from the default files as a starting point.
The safer way is to use the a doricolib file instead of the three different xml files, and you are correct that the doricolib file goes in DefaultLibraryAdditions. Here’s a sample doricolib file containing a single staff Piano called “Default” that is found in the “Custom” folder in Setup. As that’s the only instrument in there, you should be able to follow what needs changed for you to create your own instruments. Copying and pasting a similar instrument from your instruments.xml file is a good way to start, and then modify it as needed. Look at the instrumentfamiliesdefinitions.xml and instrumentnames_en.xml files to get the formatting and syntax too. Hope this helps!
Default.zip (1.3 KB)
(The usual disclosures apply. This isn’t officially supported or encouraged, if you get the syntax wrong Dorico won’t start, etc. )
I’m not sure if this has anything to do with Mac or Windows, but I believe there are two ways to create a “complete” file for the DefaultLibraryAdditions folder discussed earlier in the thread: either export a library from Dorico Library Manager and pair it down to the 3 components or take an existing single instrument file and add components to that instead.
However, there is an important caveat: when exporting a library using Library Manager, the resulting xml (a .doricolib is a renamed xml file) would contain this node name:
Making instrument edits and additions in a file with this node name and then placing this file into DefaultLibraryAdditions will not work - Dorico will throw a warning and exit.
In order for everything to work properly, the “kScoreLibrary” node should become the topmost node, like this:
This library made by @benwiggy worked perfectly for me - I simply deleted all the sub-nodes in the tree to only retain instruments, instrument names and instrument families.
Thanks everyone - This Default instrument works no problem, but I can’t seem to combine it with Ben’s very useful 0 and 1 line staves file, or create additional default instruments that I can rename etc. Putting a doricolib file in the DefaultLibraryAdditions is definitely the preferred way to go and doesn’t seem to require any additional editing in any of the xml files in the application package contents on a Mac, something I am certainly happy to avoid.
Having these custom instruments is crucial to being able to use the endpoint configurations successfully with a custom template - It would be great if someone could create a doricolib xml file with say 10 or 20 default entries and simple renaming instructions. I just can’t seem to get the hang of copy and pasting the code in the correct way.
@Grainger2001 If you’d like, send a PM with the instruments you need - I’ll have time in the first week of January and can make them for you, if they’re still needed. (Also, sorry I didn’t reply earlier, missed this tread somehow) …
Hi ebrooks, thank you, that’s very kind of you. FredGUnn (Todd) actually helped me out behind the scenes and I’m all good now. Using the DefaultLibraryAdditions folder seems to be a safe and reliable place for this custom xml file. I should have posted this resolution…I would think a custom instrument feature will likely appear in D5.
Indeed! I had a major system crash a few weeks ago and had to reinstall Windows. My entire “DefaultLibraryAdditions” folder was lost and had to be manually recreated. Restoring the custom instruments was a bit of a nightmare because I had made copies of the xml file at various times but not the very final version! Not very smart…
Anyway - in case this helps anyone, I had since discovered a very nifty feature in Windows called “Symbolic Link”. What it allows me to do is keep my “DefaultAdditionsLibrary” folder in any location I choose and have it get automatically backed up in the cloud (in my case - a folder I made in OneDrive).
Once “DefaultAdditionsLibrary” is moved, I just type a single-line command in CMD command prompt. Windows creates a special link that redirects both the OS and the programs. Now Dorico always loads my custom instruments from there and there’s not been a single glitch so far. It works on folders and individual files. I now have to rebuild my json key command file and will create a link for it too.