Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^4: Recording Sound File

by the_0ne (Pilgrim)
on May 18, 2005 at 18:30 UTC ( #458373=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://458373]
[choroba]: Yes,
[choroba]: depends on your DNS

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2018-05-21 12:04 GMT
Find Nodes?
    Voting Booth?