Peter Hunter peterslinuxbox@ntlworld.com wrote:
the one long file (all talks) as a .wav (wave) file. What I need to do now is to split the one big file into several small files - individual talks.
If K3B can handle raw files (I've not checked), you could use aplay from the alsa-utils to remove the wav header and then dd to split them. Both should be on every distribution:
aplay -D file:talks.raw talks.wav #(convert the wav to raw)
dd 'if=talks.raw' 'of=talk1.raw' 'bs=176400' 'skip=5' 'count=300' #(assuming 44.1kHz 16-bit stereo recording, skip first 5 seconds, record 300s)
dd 'if=talks.raw' 'of=talk2.raw' 'bs=176400' 'skip=305' 'count=300' #(then for talk2, skip 305s and record next 300s... and so on)
If you can install them on your distribution, sox, wavsplit (command line tools both), snd (command line or GUI) or wavbreaker (GUI) may be easier.
Snd homepage >-> http://ccrma.stanford.edu/software/snd/ Wavbreaker >-> http://huli.org/wavbreaker/
Let us know how you get on!