http://www.perlmonks.org?node_id=458373


in reply to Re^3: Recording Sound File
in thread Recording Sound File

Is there some reason you cannot , in effect, "rewind" the audio, and start overwriting? Use the wrapper to truncate a copy of the audio file at some user-selected point, and send the orig to /dev/nul only when the user starts again from that point, at which time, you can mv the copy to the original filename.

It's not so much as I cannot, the problem is I would have no idea where to even start to go about manipulating an ongoing recording. Like I asked below, I'm not even sure how to use Audio::Wav::Write to pull in information from the microphone. That module looked fine to me before I even posted to PM, however, I am at a standstill as to how to pull in the information from the microphone (sound device) to even write the file using Audio::Wav::Write.