Can you sell a beat-tape with an exclusive beat you sold?


Yoo I was thinking about making a beat-tape with my instrumentals.
If you sold an exclusive beat to someone, can you take that same beat and sell it on your beat-tape?
(for example on bandcamp)
I would only sell my beat-tape for nonprofit and no lease.