Draw Waveform in table and play loud
Max Patch
Copy patch and select New From Clipboard in Max.
there are many different ways. here is one:
table, itable, multislider can all do this, just use peek~ to write to your buffer~ and play back with groove~. You can also use waveform~ in draw mode and draw into the buffer~ directly, though the other options give you the list to play with and can be used with preset and pattr.