I think this is not only wrong, but harmful advice.
Speaking louder or more frequently does not cause attention. The opposite is true. Speaking less, and softer, causes your interlocutor to focus on what you're saying. He has to try harder to hear, and thus values it more.