Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - longgone8

Pages: [1]
1
Hello, all!

        I am attempting to extract data regarding the waveform of audio files in a .txt format. I saw bobonofx's post regarding doing this with the data for audacity:

$ cat test.txt
1.223 2.1543 sourceA
2.542 14.133 sourceB
3.161 0.041 sourceC
$ cat rewrite.pl
while (<>)
{
    my ($a,$b,$c) = split /\s+/;
    $b = $a + $b;
    print join " ", ($a,$b,$c), "\n";
}
$ perl rewrite.pl test.txt
1.223 3.3773 sourceA
2.542 16.675 sourceB
3.161 3.202 sourceC
$

THis information is, specifically, for use with 'perl' language and sonic visualiser. Can anyone give me a step by step instruction about how to extract this waveform data to a .txt format? I have virtually no knowledge of computer programming.

Pages: [1]