First I thought it was thunder. Then it sounded like an explosion that went on and on and on. Then I thought it was drumming, really, really loud drumming.
According to the Brooklyn Bugle the sound emanated from the Deepavali Festival put on by the Association of Indians in America at the South Street Seaport.
Fireworks, I guess.