Can someone customize the Label Export function for me?
Or better yet, write a plugin for that purpose?
But let me start from the beginning.
I'm developing an audio book player with a special function I call "Voice Prompt".
The idea is to play back the spoken title of the current chapter on a button press at any time while "reading" that chapter.
To do that, I need to know where that spoken titel is in the file.
One easy way I found to do it is with Audacity, specifically with Labels, as follows:
1: Select the audio section corresponding to the spoken title
2: Create makers (Ctrl + B)
3: Export Labels
Example for a file called Chap. 18.mp3: The built in Label Export function exports at text file containing the start and stop time (and name if present) of the label(s) into a file called after the Label Track Name, by default Label Track.txt. It looks like this:
Code: Select all
- the exported file be called after the audio track name (audio file name)
- the exported file extension be .vp (not .txt)
- the exported file be created in the same folder like the audio file
And if possible, that:
- the data be structured as name:value pairs (like in a .ini file)
A file called Chapt. 18.vp would look like this for the example above:
Code: Select all
[VoicePrompt] FileName=Chap. 18.mp3 PromptStart=0.201864 PromptStop=2.079199
I could then share it with different editors to "capture" and document spoken titles.
The reason I'm asking is because we have thousands of chapters and such a plugin would greatly simplify the work.
I hope I'm posting at the right place. If not, kindly let me know better...
Thanks for your consideration.