The eruption of Mount Merapi on the main island of Java also unleashed searing gas clouds 2 kilometers (1.2 miles) down its slopes, said Indonesia's Geology and Volcanology Research Agency on its website.
The agency said villagers living on Merapi's fertile slopes are advised to stay 3 kilometers (1.8 miles) from the crater's mouth as the ash made the rain thick and muddy in several villages.
Witnesses said the sound was heard 30 kilometers (18 miles) away. The agency did not raise the alert status of Merapi, which already was at the third-highest level due to its ongoing activity.
The 2,968-meter (9,737-foot) mountain is the most active of 500 Indonesian volcanoes. The volcano has rumbled and generated dark hot clouds since last year. Its last major eruption in 2010 killed 353 people.
Indonesia, an archipelago of 240 million people, is prone to earthquakes and volcanic activity because it sits along the Pacific "Ring of Fire," a horseshoe-shaped series of fault lines around the ocean.