Musical Composition, Theory and Songwriting/Determining the # of sharps or flats in a song
QUESTION: Hi Dr Colin
How do I know how many sharps or flats are in a song Iím writing on the piano when I write it out by hand on sheet music? I'm getting confused because some notes I'm writing are accidentals. Meaning there a part of the song but are not mainly repeated sharp or flat notes like the others through out.
ANSWER: Hi Sterling,
Thanks very much for contacting me but I do apologise for the delay in getting back to you. I think the first thing you need to do is to determine the key of the song when you've sketched out the melody. There are several ways of working this out. But if your melody for example always seems to need an F sharp instead of an F to make it sound right, then you can assume that the key signature will contain an F sharp and therefore the key will be G. There are many web pages that can tell you how many sharps or flats in a given key.
Another way to find the key of the piece is to look at the very last note of the song. The last note is usually (but not always) the tonic - or key note. If the last note in your song is D, for example, then the key is probably D. If the last note is C, then the key is probably C. The last chord will tell you something too, because the last chord in a song is nearly always the tonic-chord and the main chord of the key. If your last chord is F major, then the song is probably in F major too.
So sort out the key first and write the key signature at the start of each staff. You seem to know what accidentals are so perhaps I don't need to explain. Once you have established the key of the song you can just add the accidental sharps and flats as they occur. Don't try a short cut by adding them to the key signature because it will be confusing for anyone else.
I don't know whether this helpful or not but by all means get back to me if you think it would be productive.
Best wishes and I wish you well with your song-writing.
[an error occurred while processing this directive]---------- FOLLOW-UP ----------
QUESTION: Thanks for replying back Dr Colin. It's ok, I understand how life can get busy. Do you know if a music composition software will tell an Pianist who many sharps or flats are in their song when they play it plugged into their labtop computer? If so what program do you recommend?
Thanks for getting back to me. I am wondering whether you are making things too difficult. It might be that you are getting the horse and the cart in the wrong order! I spend quite a lot of time writing musical compositions and writing music arrangements. In every case, the first thing I always do is to decide which key I want to use. I suppose this is a bit like writing a story and deciding whether you want to use the past or the present tense. It is something you need to do at the start rather than at the end, when the story is finished.
But in music there are other issues. If you are writing a song for example, you need to be sure that the notes will stay within a particular voice range. If you're writing for an instrument, you need to be sure that the notes fit on to the instrument and that the key is suitable for the instrument. For example, keys like E major and B major are very difficult on the saxophone and keys like A flat or D flat are difficult on a stringed instrument and best avoided for most music.
Most music theory books contain a chart which indicates the key signatures for all keys. There are only twelve major keys possible, so it's not exactly a life-time's work! In practice, you'll probably never need to use complicated keys like C sharp, F sharp, D flat or G flat so that reduces the number even further. I think you'll save yourself a lot of time in future by taking the bull by the horns and simply learning what the key signatures are. It really isn't very difficult. If you have already composed something and you're trying to find the key it's in, then my previous response should help. But here's page with some written examples which you might find useful:
As to music software that can identify the key, I really don't know of anything specific that will do what you describe. This probably because most people decide the key before they start. I use Finale, and have done so for years. However, it is an expensive programme and takes a long time to learn. I wouldn't recommend it to anyone unless they have a thorough knowledge and full understanding of music theory. However, there are some free more basic music notation programs available which you might want to try, though whether they have a built-in key recognizer I don't know. You could try downloading Noteworthy, or Musescore, or Finale's Notepad which is also free. It is difficult for me to recommend any particular one because I don't know your exact level of musical knowledge. It will up to you to decide which best suits your needs.
I'd also suggest that it would be worth your time getting a broader understanding of music theory and I came across this e-book this morning. I have not seen it myself,so I cannot recommend it as such, but it looks as though you might find it useful:
Anyway, I hope this helps a bit. Feel free to get back to me if necessary.