Get context from output for beep