I've never heard about writers writing with an audience. A real one at least. Of course there's always an imaginary reader.
Performing and writing couldn't be any more different or attract different types of people.