A scale of almost periodic functions spaces