Petal, theres a couple of things you can do for fresh smelling clothes, which I am obsessed about. I use a good laundry detergent to start, I find they give the clothes a longer lasting smell, the cheaper brands are mostly just water.
Maybe try smaller loads, with too many clothes, they need room to move around in the washer to get clean. Same goes for the dryer. Are you putting your clothes right into the dryer once they are washed? if you let them sit in the washer to long after they are done that will give them a musty smell.
There are liquid fabric softners that you add to your rinse cycle,and fabric softner sheets that you put in your dryer with your clothes. Both make your clothes smell nice and static free. And is probably cheaper than the fabric spray and last longer.