Motorcycle popping noise at low rpm and dies?

Hi, I have a 1983 honda nighthawk 550. Bike ran great for its age until one day it just stopped driving. I took the tank off and it turned out the petcock was faulty. I replaced the petcock and gas is definatley flowing fine. I also replaced all 4 spark plugs. Today I jumped the bike and it started but it sounded like gunfire from the exhaust. It ran fine at about 2,500 rpm or higher but if i let the throttle lower than that it pops a lot again and it just dies. I'm happy to know my fuel is flowing now, but this is just my next issue. Is it backfiring? It ran perfectly at higher rpms but why does it do this when its lower, and why does it die?

In addition to rebuilding the carbs, while it's apart pull and decarbonize the heads and look for worn or loose valves and valve guides. The popping could be caused by hot carbon and leaking exhaust valves. Check the compression and leakdown on each cylinder with your trusty compression and leakdown gauges.

Will be the noise any means of transport, about this you'll have to see yourself as a judge