# How to record and playback samples using Minim library?

**URL:** <https://discourse.processing.org/t/how-to-record-and-playback-samples-using-minim-library/39814>\
**Category:** Libraries\
**Created:** [November 21, 2022, 5:26pm UTC](https://discourse.processing.org/t/how-to-record-and-playback-samples-using-minim-library/39814 "2022-11-21T17:26:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jvolker](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jvolker](https://discourse.processing.org/u/jvolker)\
**Post date:** [November 21, 2022, 5:26pm UTC](https://discourse.processing.org/t/how-to-record-and-playback-samples-using-minim-library/39814/1 "2022-11-21T17:26:31Z")

</div>

Hi,

I’m trying to record and play back sound samples. I found this example using the Minim library: [Minim : : Minim : : createRecorder](https://code.compartmental.net/minim/minim_method_createrecorder.html)  
However, the example requires saving the recorded audio to a file in order to play it back. I would like to write into memory only and playback from there. Is that possible using Minim? If not, is there an alternative?

Thanks a lot in advance.
