Sample only needs to be computed when actually sending it to the buffer