In Barcelona, capital of Catalunya, most of what you'll hear is Spanish, not Catalan. That does happen in some smaller cities or towns, though.
Sorry if I may seem pedantic, but there is no such thing as "Spanish" language (at least not inside Spain).
The language you are talking about is actually called "castellano" (Castilian).