Music income

 Let's say I spent money on buying sounds and producing a song, but that specific song didn't bring in any income. Can I still deduct it from my music income from a different song?