Search found 5 matches
- Fri Aug 15, 2014 12:29 pm
- Forum: General Audio Programming
- Topic: Save File without showing dialogue
- Replies: 1
- Views: 2998
Save File without showing dialogue
I was a bit surprised but it become a stumbling-stone for me. After a session of fully automated audio record I want audacity to save project to file with automaticaly generated name, but I can't because my project has no name. I found out AudacityProject::GetName and as I see standard save file dia...
- Fri Aug 15, 2014 11:04 am
- Forum: General Audio Programming
- Topic: How to add label List to project?
- Replies: 9
- Views: 4546
Re: How to add label List to project?
And my final code is AudacityProject* pProject; LabelTrack* Labels_track; TrackList* All_Tracks; pProject = GetActiveProject(); Labels_track = new LabelTrack(pProject->GetDirManager()); Labels_track->AddLabel(0,15,L"Hello world"); All_Tracks = pProject->GetTracks(); All_Tracks->Add(Labels_track); I ...
- Fri Aug 15, 2014 10:28 am
- Forum: General Audio Programming
- Topic: How to add label List to project?
- Replies: 9
- Views: 4546
Re: How to add label List to project?
Edgar, thanks a lot for this example, it's exactly what I need. I'll be pleased if you could help me with obtaining of current time of record, but it's not a big problem anyway, since I could count time in another programm (Alice).Edgar wrote:Code: Select all
LabelTrack *newTrack = new LabelTrack(pProject->mDirManager);
- Fri Aug 15, 2014 12:14 am
- Forum: General Audio Programming
- Topic: How to add label List to project?
- Replies: 9
- Views: 4546
Re: How to add label List to project?
I think I understand that you want to have your "another program" create a list of labels (consisting of a string and an insertion point for each label) then have that program communicate with Audacity so that Audacity can actually create a label track (if needed) and add all of these labels at the...
- Thu Aug 14, 2014 4:37 pm
- Forum: General Audio Programming
- Topic: How to add label List to project?
- Replies: 9
- Views: 4546
How to add label List to project?
I'm currently trying to add some features for audacity. Generally I need to comunicate with another programm and record some sound. It would be nice to add label track and some labels. And I'll be pleased if someone point me out to needed functions. Now I got own wxTimer handler in application and u...