Questions regarding SDR encoding

Before I go into any detail, I want to point you to some resources. You may or may not have already seen these.

These resources should answer many of your questions.