Method for digitally coding a composite signal and system therefor