The story
According to the Oxford World's Classics edition of Anthony Trollope's Rachel Ray (1863), "big guns," as on a warship. The origin of the music genre sense is often disputed; it was used by William S. Burroughs in Soft Machine and Nova Express and various music critics claim to have coined it: Sandy Pearlman, Lester Bangs and Mike Saunders.
Etymology from Wiktionary, CC BY-SA 4.0.