Vamp Plugins Forum
February 09, 2012, 05:48:26 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: SV tag files syntax  (Read 1957 times)
bobonofx
Newbie
*
Posts: 1


View Profile
« on: December 19, 2008, 09:57:23 »

HI,

I'd like to tag an audio file and export it in a .txt format :

Start time   End time    SourceA
Start time   End time    SourceB
Start time   End time    SourceC
Start time   End time    SourceA
...

Which is equivalent to audacity way of tagging

How can I proceed?

Cheers

Boris
Logged
cannam
Administrator
Full Member
*****
Posts: 189


View Profile
« Reply #1 on: January 09, 2009, 10:45:52 »

Boris,

Sorry to take so long to respond.

Do you mean that you want start time and end time as opposed to start time and duration, which SV normally exports?

If so, then I'm afraid I can't think of a way to do this using SV at the moment -- but it's a good candidate for an additional feature, if you would like to submit a feature request using the SourceForge tracker.

In the mean time, one could always convert the files using an external tool.  To take the immortal example of Perl:

Code:
$ 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
$


Chris
Logged
longgone8
Newbie
*
Posts: 2


View Profile
« Reply #2 on: January 26, 2010, 19:07:49 »

Can anyone please explain to me how to export a file from either audacity OR Sonic Visualiser so that I can recieve a text file of the audio waveform? Thanks  Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!