Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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.


Comment on Re^4: Recording Sound File

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://458373]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-11-27 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (184 votes), past polls