Guitar Sounds
Hello all, hello musescore,
I think it would be cool if we can change the Guitar sound just by type
the sound name we want as Staff Text.
I don't think other music notation software
has feature like this:
Example:
//www.musescore.com/ronaldhutasuhut/scores/30687
Thanks,
Ronald Hutasuhut
Comments
Actualy, you can sort of already do this, but you have to configure it yourself. Start by editing the instruments.xml file that came with MuseScore to add multiple sounds for the Guitar instrument (see how it does similarly for violin and for trumpet to see how it is done), then restart MuseScore. Then, after adding staff text on the guitar staff, you can right click it, select StaffTextProperties, and choose which sound you want.
For the eventual 2.0 release, it looks like this process is streamlined.
In reply to Actualy, you can sort of by Marc Sabatella
I couldn't find the file: instruments.xml in any folder of musescore (program files), do we have to download it from somewhere so we can edit the file?
And when I added a Staff Text to a Guitar note and then click the Staff Text Properties, it only give one option, Channel -> Normal. What I have missed?
Thank you for your information.
In reply to Instruments.xml by ronaldhutasuhut
Look again. it is there.
I found mine in %ProgramFiles%\MuseScore\templates\
In reply to Look again. it is there. by Jojo-Schmitz
Well, the file couldn't opened with musescore. I will try PsPad to look at them and try to edit the file.
Thank you again all, I appreciate it.
In reply to Yes it's there. Thank you! by ronaldhutasuhut
Right, it,s an ordinary text file, so you need a text editor to edit it. If you go to Edit->Preferences, it tells you where this file is being loaded from and allows you to change tht location, so you don't have to save your changes on top of the official version.
The staff text properties does indeed start off empty, but once you have added additional channels for an instument by editing that file, those channels will start showing up.
In reply to Right, it,s an ordinary text by Marc Sabatella
I copied this from the intruments.xml file:
Violin
Vln.
0
55-88
55-103
40
E Trumpet
E Tpt.
0
2
3
57-84
57-87
56
1
Electric Guitar
El. Guit.
3
40-86
40-86
27
Question:
How do we edit the script to add multiple sound (clean, overdrive, distortion, etc.) of guitar instrument?
I guess we have to change/add value/name of the Channel/Program, if so, how could we get the list of Channel/Program so we can figure out which Channel/Program we need?
- I hope musescore would make all these coding issues automated in the future, because I believe the main marketing target of musescore is Musician, not programmer nor musician with programming knowledge. -
Thank you.
In reply to Coding by ronaldhutasuhut
I'm assuming you actually typed in the contents of the XML file, but the forum software stirpped out the tags. Anyhow, all you need to copy are the "channel" tags. See how trumpet has one unnamed channel that lists program 56, then a channel named "mute" that lists program 59? That's what you want to recreate. The program numbers are the patch numbers f the soundfont you are using. The default soundfont uses General MIDI patch numbers, so you would need to Google that term to get a listng of patch numbers, or just use the patch numbers u see in the regular definitions of the various guitars.
And yes, as I said, 2.0 looks like it already streamlines this process. What I'm describing is just a way to get the job done meanwhile.
In reply to I'm assuming you actually by Marc Sabatella
Thank you Marc, this information is so helpful. I will continue the experiment.
In reply to I'm assuming you actually by Marc Sabatella
I edited the instruments.xml file.
I added code to the Electric Guitar part in the same way the code written in the Violin part
(forgive my English, I hope I explain this correctly):
Violin
Vln.
0
55-88
55-103
40
Electric Guitar
El. Guit.
3
40-86
40-86
27
(I pasted the code from original form (html), I don't know why it became like this)
But.. nothing happen. I need a help to solve this,
how to write the code correctly so we can use one track (staff) of a Guitar for multiple sound..
please.
Thank you very much.
In reply to *huftt.. by ronaldhutasuhut
This is because the forum software and/or browser (wrongly) interprets the tags. You could attach a file instead
In reply to This is because the forum by Jojo-Schmitz
I see. I will use the attachment feature. Thank you Jojo!
In reply to *huftt.. by ronaldhutasuhut
Try with the following (to encode I used HTML encoder
Find an example attached.
<instrument>
<name>Guitar</name>
<short-name>Guit.</short-name>
<clef>3</clef>
<aPitchRange>40-83</aPitchRange>
<pPitchRange>40-83</pPitchRange>
<channel>
<program>24</program>
</channel>
<channel name="steel">
<program value="25"/>
</channel>
<channel name="electric-jazz">
<program value="26"/>
</channel>
<channel name="electric-clean">
<program value="27"/>
</channel>
<channel name="electric-muted">
<program value="28"/>
</channel>
<channel name="overdriven">
<program value="29"/>
</channel>
<channel name="distortion">
<program value="30"/>
</channel>
<channel name="harmonics">
<program value="31"/>
</channel>
</instrument>
In reply to Try with the following (to by [DELETED] 5
The code works well in your attachment..
I typed the same code in my Instruments.xml (pls see the attachment "to musescore forum.pdf")
but it doesn't change anything in my score (pls see the attachment: "Guitars2.mscz").
Is there something I have to do in musescore software?
In reply to Works well in your attachment.. by ronaldhutasuhut
Make sure you save it to the place MuseScore is looking (see instrumentals.xml) then restart MuseScore. Also make sure your staff really uses this instrument and not on of he similarly-named ones. To be sure, maybe change the name temporarily in the file, restart MuseScore again, and add a new staff using he new insteument name.
In reply to Works well in your attachment.. by ronaldhutasuhut
- Edit instruments.xml
- Go to Preferences -> General -> Instrument list file and point to your modified file.
- Restart MuseScore
- Create a new score and select guitar.
It will not work with an existing file except if you add a new instrument or change the instrument via Staff properties.
In reply to - Edit instruments.xml - Go by [DELETED] 5
It works! Thanks to you all. This is what I had to do:
1) Edit instruments.xml in: your directory:\Program Files\MuseScore\templates
Follow the post --> "Try with the following.." Submitted by lasconic on Sat, 11/19/2011 - 17:46.
2) Open Musescore. Go to Preferences -> General -> Instrument list file and point to your modified file.
And then RESTART Musescore.
3) The new html code will only works with a new file/score.
Follow this link to see the example:
"Sweet Child o' Mine"
Thank you very much for all of you!
Still, though I have a precious experience,
I hope musescore will make all these coding issues be automated in the future.
Thank you!
Please visit my site sometime: Ronald Hutasuhut's Music
Ronald Hutasuhut
In reply to - Edit instruments.xml - Go by [DELETED] 5
It doesn't work for some reason. Is there a certain way to restart Musescore, or do you just have to close it down and open it again. I have a mac, if that makes a difference
In reply to It doesn't work for some by Sagascius
??? What doesn't work? Please be more specific, including, ideally, info about what OS, what version of MuseScore, and step by step instructions to reproduce the problem you are seeing.