I think it would be a good idea to stay asleep and lucid while still paying attention to what your teacher was saying. who knows what could've happened. you might've been able to... well I dont know but im sure it would have had some kind of effect if his voice wasnt too screwed up entering your dream.