Plugin - auto-cut and auto-rendering to two formats.

I want to make a plugin.

Basically it would make use the recording system and when user press certain key then:

plug-in will cut the recording, (but still recording). And so on.

Then After end of recording (which would be full of little parts)

Plug-in will be render every one part in two formats “ogg” and “mp3” using those appropriate libraries.

Of course with reasonable name such as “basename” + number = story1, story2, story3.

Am I able to do that?
What I should read about Audacity to do that.

Thanks in advance :slight_smile:

Probably not. Even if you could program, Audacity doesn’t apply filters, effects, or tools in real time. It only does three things in real time: record, play, and timer. Everything else is post production.

After you make a recording, do this and that.



So say I make the the Array with the time of every cut.

Can I After recording programmable cut appropriate parts ?

And after that render one after the other?

Maybe a label track is what you need. It’s fairly simple to add labels during playback. You can edit them afterwards and export them in different files. However, I don’t think that this will work during the recording itself, at least not without pausing the recording.
Firstly, make yourself familiar with the usage of label tracks. If If you successfully can add labels during the playback, you can try it during recording mode.
Presumably you will have to pause the recording, add a label and resume the recording.
If these cuts should be made quite fast, you may consider using an external program for creating (or recording) key macros. In this way, you could define a key combination that would execute a serie of key (or mouse) commands, one shortly after the other.

Labels can be added during recording using Ctrl+M (Command+M Mac OS X).
The labelled sections can be exported as separate files when the recording is Stopped (not Paused) using Export Multiple

If you know in advance where the labels need to be, you could create a label.txt file and import the labels
See also: