Hi All. I'm using Snack Audio 2.2 and Tcl/Tk to develop some
application, I need to record a few seconds of voice but it's
impossible y record an empty file.
-- Snack Audio
-- vtcl(GUI for Tcl/tk)
-- Suse Linux 10.1
I use this Tcl code.
package require snack
snack :: sound s
proc ::Record {} {
global widget
snack::sound s
proc sstop {} {
s stop
set filename "tmpwave.wav"
s write $filename
s destroy
// Extract
}
after 5000 sstop
s record
best regards
Yosvany