Audacity 3.2.0
|
Classes | |
struct | MIDIImportFileHandle |
class | MIDIImportPlugin |
Functions | |
bool | ImportMIDI (const FilePath &fName, NoteTrack *dest) |
bool | DoImportMIDI (AudacityProject &project, const FilePath &fileName) |
void | OnImportMIDI (const CommandContext &context) |
Variables | |
AttachedItem | sAttachment |
constexpr auto | exts |
const auto | DESC = XO("MIDI files") |
Importer::RegisteredImportPlugin | registered |
bool anonymous_namespace{ImportMIDI.cpp}::DoImportMIDI | ( | AudacityProject & | project, |
const FilePath & | fileName | ||
) |
Definition at line 41 of file ImportMIDI.cpp.
References FileHistory::Append(), fn, ProjectFileIO::Get(), ProjectHistory::Get(), TrackList::Get(), Viewport::Get(), PlayableTrack::GetSolo(), FileHistory::Global(), ImportMIDI(), project, ProjectHistory::PushState(), SelectUtilities::SelectNone(), tracks, XO(), and Viewport::ZoomFitHorizontallyAndShowTrack().
Referenced by OnImportMIDI().
Definition at line 85 of file ImportMIDI.cpp.
References AudacityMessageBox(), NoteTrackRange::Get(), NoteTrack::GetSeq(), NoteTrack::MoveTo(), Track::SetName(), NoteTrack::SetSequence(), wxT(), XO(), and NoteTrackRange::ZoomAllNotes().
Referenced by DoImportMIDI(), and anonymous_namespace{ImportMIDI.cpp}::MIDIImportFileHandle::Import().
void anonymous_namespace{ImportMIDI.cpp}::OnImportMIDI | ( | const CommandContext & | context | ) |
Definition at line 140 of file ImportMIDI.cpp.
References FileNames::AllFiles, DoImportMIDI(), GetProjectFrame(), CommandContext::project, project, SelectFile(), wxT(), and XO().
const auto anonymous_namespace{ImportMIDI.cpp}::DESC = XO("MIDI files") |
Definition at line 179 of file ImportMIDI.cpp.
Referenced by anonymous_namespace{ImportMIDI.cpp}::MIDIImportFileHandle::GetFileDescription(), and anonymous_namespace{ImportMIDI.cpp}::MIDIImportPlugin::GetPluginFormatDescription().
|
constexpr |
Definition at line 173 of file ImportMIDI.cpp.
Importer::RegisteredImportPlugin anonymous_namespace{ImportMIDI.cpp}::registered |
Definition at line 255 of file ImportMIDI.cpp.
AttachedItem anonymous_namespace{ImportMIDI.cpp}::sAttachment |
Definition at line 166 of file ImportMIDI.cpp.