Iirc you can't use sines as a basis because sin(0)=0. You can use cosines and a basis, see the Discrete Cosine Transform as an example.
You also don't need to vary amplitude for the basis, as linear combinations of the basis handle any changes in amplitude you need. E.g. if your basis is x and y, your basis spans ax + by for all real a,b.