How to write the music symbols in TeX?
\documentclass{article}
\usepackage{musicography}
\begin{document}
There is a new package \texttt{musicography}, that provides easy writing of
\musFlat{} or \musSharp{} or \musNatural{} and some more music symbols.
\end{document}
Other solutions can be found in the answers to question: How to look up a symbol or identify a math symbol or character?
I recommend lilyglyphs. I used it extensively in my thesis.