Complex sentence: Nobody could sing in the city unless he or she could sing better than Tansen and if one sang without that, he or she was executed.
Split into simpler sentences: Nobody could sing in the city unless he or she could sing better than Tansen. If this was not the case, he or she was executed.