The core prohibition traces to the mishna's statement that once the Sanhedrin ceased, song was nullified from the houses of feasting, grounded in the pasuk 'with song they shall not drink wine' (Sotah 48a:12), a theme echoed in Yeshayahu 5:12 and Amos 6:5 describing feasting accompanied by musical instruments, and further decrees after the Vespasian war against bridegrooms' crowns and drums (Sotah 49a:12).
Berakhot 31a:2-4 frames this as part of a broader concern that joy must be tempered, recounting how Rav Ashi broke a glass at his son's wedding to curb excessive mirth and how Rabbi Yochanan taught in the name of Rabbi Shimon bar Yochai that one may not fill his mouth with laughter in this world.
Rishonim and Acharonim sharpen the scope: Torat HaAdam, The Gate of Mourning, The Matter of Old Mourning cites the exchange with Mar Ukva distinguishing vocal song from instrumental music, while permitting songs of praise and thanksgiving at weddings and feasts; Shenei Luchot HaBerit, Aseret HaDibrot, Taanit, Ner Mitzva:19 likewise forbids both instrument and voice except for words of praise, with instrumental music permitted only to gladden a bride and groom; Sefer Charedim, Positive Commandments from the Prophets and the Sages 4:20 similarly permits songs of praise but forbids instrumental music even without wine; and Netzach Yisrael 23 and Beit Yosef, Orach Chayim 560:12-14 trace the same Gittin and Sotah sources to establish that both vocal and instrumental song are restricted, with exceptions for a bride and groom.
The Mishnah Berurah and related Acharonim codify the practical halacha: Mishnah Berurah 560:11-13 and Kaf HaChayim on Shulchan Arukh, Orach Chayim 560:25 hold that instrumental music is forbidden even without wine, that vocal song over wine is universally forbidden, and that even those not accustomed to such gatherings are included, while Magen Avraham 560:7-9 notes a dispute over whether vocal song is forbidden even without wine and criticizes women who sing while working as acting improperly.
Among modern poskim, Rav Eliezer Melamed (Peninei Halakhah, The Nation and the Land 9:9) summarizes the machlokes between the Rambam and Shulchan Arukh, who forbid playing or hearing instrumental music for pleasure except for a mitzvah such as a wedding, where even vocal song over wine is forbidden; Rav Mordechai Eliyahu (Shut HaRav HaRashi 38:32) affirms that instrumental music is forbidden after the Churban unless for a mitzvah, while vocal song without instruments is permitted except over wine; and Rav Mordechai Eliyahu (Shut HaRav HaRashi 38:31) notes that the Rema, following the Tur, limits the prohibition to those habituated to royal-style entertainment rather than ordinary people, raising educational concerns about excluding song and music from religious life.
Rav Mordechai Eliyahu (Maamar Mordechai Hilchot Taaniyot U'Vein HaMetzarim 32:17) and Rav Mordechai Eliyahu (Maamar Mordechai Hilchot Taaniyot U'Vein HaMetzarim 32:18) rule that the prohibition on instrumental music, including recordings and radio, applies generally and not only to habitual listeners, and that vocal song over wine is forbidden while song by great sages such as Rabbi Yehuda HaLevi is excepted; Rav Mordechai Eliyahu (Maamar Mordechai Hilchot Taaniyot U'Vein HaMetzarim 31:10) and Rav Mordechai Eliyahu (Maamar Mordechai Hilchot Taaniyot U'Vein HaMetzarim 17:38) extend these restrictions to the Nine Days, permitting only vocal song of praise outside a seudat mitzvah while forbidding instrumental music.
Rav Eliezer Melamed, in Rav Eliezer Melamed (Peninei Halakhah, Zemanim 8:4), records a dispute over whether the prohibition on live instrumental music during the Three Weeks extends to recordings played through home electronics, noting that several leading poskim extend it while permitting songs without instrumental accompaniment, and that some extend the stringency even to songs without musical accompaniment.
Kitzur Shulchan Arukh Yalkut Yosef, Orach Chaim 668:32 extends the concern to Yom Tov, ruling that even for the sake of Torah honor one may not play musical instruments or operate a radio or tape player on Shemini Atzeret, permitting instead only the recitation of songs and praises.
The Gray Matter essay, Gray Matter III, Music, Torah Passages in Song, extends the question to songs whose lyrics derive from pesukim, concluding that such songs are forbidden unless sung in the context of a mitzvah, citing Rav Moshe Feinstein's ruling that recording pesukim purely for enjoyment is forbidden l'chatchila, based on the Gemara's concern about singing a pasuk from Shir HaShirim at a party.
Igros Moshe (Igros Moshe EH 1:96) permits singing wedding tunes composed by a person while he was observant, reasoning that attributing a tune to its creator during a period of proper religious standing is not objectionable, and even leans toward permitting tunes composed later, though scholars and sensitive individuals may be stringent if the composer's reputation involved heresy.
Shevet HaLevi (Shevet HaLevi 6:69) reads the Rambam as prohibiting both producing and listening to musical sounds because of the Churban, applies this to radio music, yet permits music in contexts of zemer kodesh, mitzvah occasions, or a wedding meal, while opposing keeping instruments at home for ordinary singing.
Rav Menashe Klein (Mishneh Halachos 6:25) rules that hearing a woman sing while playing an instrument, though not technically kol ishah, is nonetheless forbidden because of improper thoughts, applying even to one's own wife and more strictly during niddah, and separately affirms the general prohibition on instrumental music after the Churban.
Tzitz Eliezer (Tzitz Eliezer 3:16) rules that setting a phonograph record on a rotating gramophone before Shabbat is prohibited due to concern over producing sound, comparable to forbidding the placement of a musical instrument.
Az Nidberu (Az Nidberu 8:58) rules that using musical instruments nowadays is prohibited, and that one who plays singing on a radio at home is considered a sinner who causes the public to sin.
Ma'ayan Omer (Maayan Omer 3:3:18) addresses how long the prohibition on songs during the Omer lasts, concluding that it extends only until the thirty-fourth day of the Omer.
Revavos Ephraim (Revavos Ephraim 4:177) takes issue with a view permitting music-listening year-round, arguing that it overlooks the sources in Az Nidberu, the Mishnah Berurah, and Igros Moshe that indicate music is prohibited.