3
I have a bunch of about 130 .aup files (all recordings of vinyls) that I would like to convert to mp3. Each .aup is an entire side of the vinyl (I don't want to split the tracks - the whole side as one mp3 is fine). My problem is how can i batch convert all these aups to mp3s in one go. It would be very tedious to open each .aup one at a time then in the Apply Chain dialog: select 'Apply to Current Project' for 130 files..one by one.
Has anyone had any luck changing the code, or otherwise to come up with a solution?
I've traced it down to the below method in (BatchProcessDialog.cpp)
void BatchProcessDialog::OnApplyToProject(wxCommandEvent &event)
{
long item = mChains->GetNextItem(-1,
wxLIST_NEXT_ALL,
wxLIST_STATE_SELECTED);
if (item == -1) {
wxMessageBox(_("No chain selected"));
return;
}
wxString name = mChains->GetItemText(item);
wxDialog d(this, wxID_ANY, GetTitle());
ShuttleGui S(&d, eIsCreating);
S.StartHorizontalLay(wxCENTER, false);
{
S.StartStatic(wxT(""), false); // deliberately not translated (!)
{
S.SetBorder(20);
S.AddFixedText(wxString::Format(_("Applying '%s' to current project"),
name.c_str()));
}
S.EndStatic();
}
S.EndHorizontalLay();
d.Layout();
d.Fit();
d.CenterOnScreen();
d.Move(-1, 0);
d.Show();
Hide();
wxWindowDisabler wd;
gPrefs->Write(wxT("/Batch/ActiveChain"), name);
mBatchCommands.ReadChain(name);
if (!mBatchCommands.ApplyChain()) {
return;
}
}
I took your idea about automating GUI clicks – toop – 2012-02-04T13:19:35.553