The hadiths and the major schools of jurisprudence consider music as "haram" in Islam. Any kind of string or wind musical instruments are "haram" in Islam - like guitar, violin, piano and even drums All these musical instruments produce periodic waves.
However, musical instruments producing aperiodic sound waves are allowed or considered permissible (like simple frame drum, daf, war drums).
Again, even in the demarcation of sounds that are allowed, there are major contradictions. The allowed sounds consist of melodious recitation of Quran, environmental noise, bird and animal noises, aperiodic percussion instruments (like simple frame drum) and human voice.
Contradiction 1: Periodic sound waves emitting from musical instruments are haram because scholars believe they can "intoxicate" people or emotionally distract them from worship or sacred obligations. However, reciting the Quran mimicking periodic sine waves is allowed somehow. Strange, indeed! So, a periodic sound wave can both distract someone and instill divine feeling within him.
Contradiction 2: Many scholars have suggested that the musical instruments were associated with tavern and entertainment purposes, hence they are haram. A conch shell is not a musical or entertainment instrument, but when blown produces the same periodic sound waves and it is also haram in Islam. So, out of no reason, not even being associated with the culture, a foreign object is being banned in Islam, solely because it produces periodic waves.
Contradiction 3: The jingle-free frame drum (daf) is halal and widely encouraged. But when we attach some metal discs to it, it becomes haram, as it turns into tambourine and musical instruments are haram (for no obvious reason).
Contradiction 4: Blowing a bugle or horn during war is perfectly allowed. However, blowing that same horn inside home for musical purposes is disallowed. Wow!
Contradiction 5: Running wet finger over wine glass emits a periodic sine wave. It is considered halal. However, if we repeat the experiment by lining up 8 glasses now, it becomes haram.
I could go on and on about the contradictions, but I believe 5 is enough. First periodic sound waves are declared haram, and aperiodic sound waves are halal. Next, periodic waves if not coming from musical instruments are considered halal and when it comes, it is haram. Bird sounds are halal, even if they replicate a song or musical instrument tone.
It seems God hates musical instruments for some reason. There is no obvious reason to declare musical instruments as haram but the associated music as halal. But the hadiths do that exact thing without reason. Some scholars even cite them as human distractors. Point is by doing that, the hadiths establishes humans as some mentally weak, fragile, easily distractible and emotionally vulnerable beings.
The most funny thing is - disturbing sleeping neighbors and others by loud noises at late hours is haram. However, giving early morning Adhan (Fajr) from the mosque loudspeaker at 90+ decibels, is considered holy and halal, no matter if it disturbs the sleep of the people and waking up neighbors near 5 AM in the morning near the mosque. Double standards.
It seems the authors of the hadiths had decided at whimsy to just pick whatever they liked and label it as "halal" and those that they dislike as "haram". There is no scientific, logical or sound reason why musical instruments are forbidden yet paradoxical sound-emitting activities are called halal.