monologue — An act of muttering to oneself.
monologue; soliloquy — A part of a play in which an actor speaks alone without other actors, or such lines.