%%
%%
%%
%%
%%
%% This list of examples has been alphabetized. Please add your example in the proper place. Thanks!
%%
%%
%%
%%
%%
%%
[[quoteright:320:[[WesternAnimation/ShowBizBugs https://static.tvtropes.org/pmwiki/pub/images/xylophone_gag_574.png]]]]
[[caption-width-right:320:This is ''not'' going to end well. [[note]] For Daffy Duck.[[/note]]]]

-> ''"When he strikes this note, instead of a xylophone, he'll be playing a harp! Muhahahaha!"''
-->-- '''Daffy Duck''', ''WesternAnimation/ShowBizBugs''

[[WesternAnimation/WileECoyoteAndTheRoadrunner Wile E. Coyote]], WesternAnimation/YosemiteSam, or some other villainous cartoon character has decided to dispose of the Road Runner, or WesternAnimation/BugsBunny, or whoever. [[WhyDontYouJustShootHim Normal methods]] have failed... it's time for the Xylophone Gag.

The villain [[MusicalTrigger screws a stick of dynamite to the C on a xylophone]], puts the sheet music [[StandardSnippet (usually "Believe Me, if All Those Endearing Young Charms")]] on the stand, and hides, cackling maniacally. Sure enough, the mark arrives, sees the music, and begins to play... but instead of hitting the high note which would set off the bomb, he hits a flat note (or a sharp note, repeats the preceding note, or hits a pair of clashing notes). The villain [[CorrectionBait winces (as does the audience; it's a very dissonant note)]], and yells "No, that's all wrong! Try it again!" The Mark does, with the same results. Ultimately, the villain rushes out in frustration, grabs the mallet from The Mark, and says "[[BlunderCorrectingImpulse This is how you do it!]]", then begins to play the piece correctly but at great speed. Kaboom!

Sometimes executed with a piano instead of a xylophone, but though the exact outcome varies, the end results are the same -- the [[DoubleMeaning smoke clears]], the piano keys bounce off the unfortunate villain's skull (or land in his teeth), or the xylophone bars land in a cluster and repeat, or occasionally complete, the music line.
It is most often left unstated if the target was aware of the trap and did that on purpose, though the ContrivedCoincidence seems to support it.

A subtrope of MusicalTrigger. Not usually related to OrchestralBombing.

----
!!Examples:

[[foldercontrol]]

[[folder:Advertising]]
* During the 1994 baseball players strike, Creator/ComedyCentral ran a series of bumpers counting the days, showing empty stadium seats and organ playing. When the season was canceled, the last bumper had the organ playing "Those Endearing Young Charms", followed by a big explosion.
[[/folder]]

[[folder:Comic Books]]
* In a rare case of this trope actually working, one issue of ''ComicStrip/SpyVsSpy'' has White Spy rigging a piano so that when Black Spy plays two certain notes, nitroglycerin gets squirted into his mouth.
[[/folder]]

[[folder:Films -- Live-Action]]
* Played seriously in ''Film/TheEnglishPatient''. The Indian sapper Kip rushes to stop Katherine playing the piano in a bombed-out house, saying that the retreating German forces have left mines and booby traps everywhere, "and pianos are their favourite hiding places." (presumably because few can resist playing a few keys even if they don't know how to play the piano.) Katherine can barely restrain her amusement as he gingerly examines the piano, but Kip does in fact find a BoobyTrap underneath it.
* Also played seriously in ''Film/GetSmart''. The protagonists are unable to remotely disarm the nuclear device that KAOS set up to blow up at an orchestra because the computer that controls the bomb was wrecked during the final battle, but then they figure out that the trigger for the bomb is actually the final notes of Beethoven's Ninth Symphony. The bomb was equipped with a sound sensor for detecting those notes. They just barely managed to interrupt the song before it finishes. When asked where the bomb is located, Max says "in the piano." He turns out to be right but he admits he was only guessing.
[[/folder]]

[[folder:Literature]]
* A typewriter variation is played straight in a short story in a ''Series/CaptainScarletAndTheMysterons'' spinoff publication. One of the Angel pilots has to type up a letter from Colonel White, not realising that the Mysterons have placed a bomb in the typewriter powerful enough to destroy Cloudbase. The bomb is set to detonate as soon as the letter E is typed, since E is the commonest letter in the English language. [[spoiler:As luck would have it, the letter only has ''one word'' containing an E, right at the end, and our unsuspecting Angel manages to hit the W by mistake.]]
* Another typewriter variant is referenced in "The Death Game" in ''Literature/TheSaint on TV''. Several characters are involved in an elaborate game of 'Assassin' which places value on inventive methods of 'killing' your target. One character describes how he wired a small torch to the spacebar on his target's typewriter. When the target depressed the spacebar, a bright light flashed in his face. When he investigated, he found a note taped with the torch explaining he had just been shot with a high-power laser.
[[/folder]]

[[folder:Live-Action TV]]
* Season 11 of ''Series/TheCarolBurnettShow'' featured a recurring sketch with Creator/TimConway as a construction worker trying and invariably failing to murder his [[TheDitz ditzy]] wife, played by Creator/CarolBurnett. One vignette in this series features a variation of this gag, with Tim rigging a piano to explode, and the song of choice being "Pop Goes the Weasel".
* In ''Series/{{Community}}'', Chang sets up a detonator key on his own keytar to burn down Greendale's records room. Instead of [[VillainBall torching it right away]], he plays an 8-minute keytar solo at his birthday party with the trigger as the last note. [[UnusuallyUninterestingSight For some inane reason, nobody seems concerned that one of his keys is red and has a wire running out of it.]]
* In a rare live version of this trope, on ''Series/FamilyTies'', Elyse plays "Those Endearing Young Charms" on guitar during a pledge break at her husband's PBS station. The guitar doesn't explode during the key notes; instead, Elyse goes into labor.
[[/folder]]

[[folder:Radio]]
* ''Radio/TheGoonShow'' had the piano version, when Moriarty and Gritpype-Thynne tried to blow up the Chinese nationalist leader General [[PunnyName Kashmychek]]. Following the failure of the "[[RunningGag fiendish]] Chinese pianist" to get the music right, [[spoiler: our enterprising villains are spared the necessity of playing the keys themselves by a musical individual from earlier, who offers to sing and asks for an A. [[StuffBlowingUp Detonation ensues]].]]
[[/folder]]

[[folder:Web Videos]]
* Referenced in ''WebVideo/ToddInTheShadows''' review of Dexy's Midnight Runners' "Come on Eileen", which starts with a violin playing "Those Endearing Young Charms".
-->'''Todd:''' ''[stifles a chuckle]'' Sorry, I just can't hear to the intro to this song without expecting WesternAnimation/DaffyDuck to blow up.
[[/folder]]

[[folder:Western Animation]]
* {{Subverted|Trope}}, and given a massive LampshadeHanging, in ''WesternAnimation/{{Animaniacs}}''. [[https://www.youtube.com/watch?v=1JRUQMS1suk Doug The Dog tries to pull this on Slappy Squirrel.]] Slappy, seeing the xylophone, notes that it's ostensibly a hatchet-burying gesture, and decides to play "Those Endearing Young Charms." Skippy, her nephew, insists she can't play the song, because it's surely a trap, but Slappy ignores him. She reaches the critical note, plays it right...and watches as Doug is the victim of a random explosion. "[[MediumAwareness Old gag]]," [[NoFourthWall says Slappy]]. "[[PlayingWithATrope New twist.]]" ([[https://youtu.be/1JRUQMS1suk See for yourself.]]) The episode goes on to {{Double Subver|sion}}t it again when Doug, after a later gag, is sent flying into the xylophone, which rolls into a tree. Nuts fall from the tree, the pattern of their falling just ''happens'' to play "Those Endearing Young Charms" as well, stopping just before the final two (explosive) notes, just in time for Slappy and Skippy to walk past. Slappy tosses two rotten nuts behind her, and...
* A cutaway on ''WesternAnimation/FamilyGuy'' has Stewie teaching piano (a missed note = electric shock). He also has a bassoon student hanging over a shark pit.
* ''WesternAnimation/LooneyTunes'' [[https://www.youtube.com/watch?v=h1rXcm2mbKI uses this frequently:]]
** As shown in the trope picture, "WesternAnimation/ShowBizBugs" has Daffy rigging a xylophone.
** The version in "WesternAnimation/BallotBoxBunny" involves Yosemite Sam rigging a piano rather than a xylophone.
---> "Can ya play a pi-yanna?"\\
"Have ya ''got'' a pi-yanny?"
** Wile E. Coyote also tries it on the Road Runner with a rigged piano ("Rushing Roulette").
** A minigame in the DS title (based on [[WesternAnimation/DuckAmuck the short of the same name]]) ''Duck Amuck'' uses the piano variation. [[note]] To win, one must play the correct notes VideoGame/GuitarHero style, but you must purposely miss the rigged keys to win. This results in Daffy angrily trying to play it himself and getting blown up. Pressing a rigged key or the wrong key when it isn't rigged results in a failure.[[/note]]
** In his ''One-Hit Wonderland'' episode about "Come On Eileen" by Music/DexysMidnightRunners, WebVideo/ToddInTheShadows jokes that the opening snippet of "Those Endearing Young Charms" immediately makes him think of Daffy getting blown up, followed a clip from "Show Biz Bugs" of that exact gag.
** Amusingly, the note that triggers the explosion is a middle C... or in other words, ''C4''.
** In one episode, "[[https://looneytunes.fandom.com/wiki/Corn_Plastered Corn Plastered]]", a farmer rigs the inside of his piano with dynamite lodged in the piano strings along with a matchbook and a match tied to one of its keys, which can light up at the strike of the key, in an effort to stop a beany-wearing crow from invading his farm. The farmer then goes to the fridge for food, but [[TheTrickster the crow]] tricks him into getting inside the fridge (to see whether the light was on if one closes the door) and getting himself shut inside. Panicked, the trapped farmer busts out of the fridge in time to hear the crow playing the rigged piano, then gets to the piano and waits until the crow strikes its key that lights up the match (with the sound discord in the piano). But then the crow tricks him once more into getting into the rigged piano to fix it. As soon as the farmer does and strikes the piano key, the dynamite and the piano blow up in his face. (On Nickelodeon and The WB, the censors [[{{Bowdlerise}} removed the refrigerator scene (most likely because they feared that this would be imitated by impressionable viewers) along with the first half of the rigged piano gag]], but not the second half, leaving viewers to wonder why the piano suddenly exploded on the strike of one of its keys for apparently no reason.)
* Apparently originated as part of a ''WesternAnimation/PrivateSnafu'' WartimeCartoon where the eponymous bumbling US Army soldier was humorously used to warn real-life [=GIs=] against [[http://youtu.be/wU256cGwMHM?t=2m enemy booby-traps]]. Unlike other instances of the gag in ''Looney Tunes'', other than Snafu having trouble hitting the correct key at the beginning, the trap actually succeeds in taking the life of the intended victim.
* ''WesternAnimation/SouthPark'':
** Played totally straight in "Crippled Summer", where the B-plot is a blatant homage to classic cartoons set in a summer camp for special needs children. Jimmy Vulmer's rival, Nathan, rigs Jimmy's ukulele with explosives. Jimmy, naturally, can't get the "Those Endearing Young Charms" passage right during his solo. (Note that Jimmy is playing "That Honolulu (or 'Tardicaca') Hula Gal" - but the solo section is ''still'' "Those Endearing Young Charms".) Nathan sends his {{mook|s}} Mimsy to try to correct the situation by demanding the solo. Jimmy gives him the ukulele and asks him to do it. Just before Mimsy gets to the explosive part, Nathan runs in and grabs the ukulele from him. Frustrated with Mimsy's incompetence, he yells "If I want something done, I'm going to do it myself!", and without thinking, plays it himself with predictable results.
** In the season 1 episode "Big Gay Al's Big Gay Boat Ride", Jimbo and Ned plan to sabotage a school football game by planting a bomb on the rival team's mascot. The bomb is set to detonate during the half-time show when Richard Stamos, John Stamos' brother, hits the high F note in the song ''Lovin' You''. Unfortunately, Richard fails to hit the note, foiling their plan. At the end of the episode, Richard shows up announcing that he finally got the note right and blows up the mascot before Jimbo can stop him.
* Used on the ''WesternAnimation/TopCat'' episode "The Missing Heir", only the tune used is "While Strolling Through The Park One Day".
[[/folder]]
-----