Made it so that you can pass in a buffer to speechToText