May 18, 2012, 00:06:23
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Vamp Plugins Forum
>
Using Vamp Plugins and Hosts
>
Host Forum: Sonic Visualiser
>
Extracting text files from audacity OR sonic visualiser
Pages: [
1
]
« previous
next »
Print
Author
Topic: Extracting text files from audacity OR sonic visualiser (Read 999 times)
longgone8
Newbie
Posts: 2
Extracting text files from audacity OR sonic visualiser
«
on:
January 26, 2010, 19:54:52 »
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.
Logged
cannam
Administrator
Full Member
Posts: 189
Re: Extracting text files from audacity OR sonic visualiser
«
Reply #1 on:
January 28, 2010, 09:35:33 »
Hi -- do I understand that you want to convert the actual audio waveform itself to text?
The example you were quoting was talking about converting from Sonic Visualiser's comma-separated export format for annotations data, not anything to do with the audio data. There is no facility in SV for exporting the audio data in any sort of text format, I'm afraid. I can't think offhand of any program that does this... the output would be incredibly verbose.
Chris
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Using Vamp Plugins and Hosts
-----------------------------
=> Getting and Using Vamp Plugins
=> Plugin and Host Announcements
=> Host Forum: Sonic Visualiser
-----------------------------
Development Topics
-----------------------------
=> Plugin Development
=> Host Development
Loading...