tutorials: synthesis: simplify loading sample into buffer