13#ifndef __AUDACITY_TRANSCRIPTION_TOOLBAR__
14#define __AUDACITY_TRANSCRIPTION_TOOLBAR__
32#ifdef EXPERIMENTAL_VOICE_DETECTION
44#ifdef EXPERIMENTAL_VOICE_DETECTION
51 TTB_AutomateSelection,
54 TTB_SensitivitySlider,
77 void Create(wxWindow *parent)
override;
84 void Repaint(wxDC * WXUNUSED(dc))
override {};
90 void OnFocus(wxFocusEvent &event);
93#ifdef EXPERIMENTAL_VOICE_DETECTION
94 void OnStartOn(wxCommandEvent & event);
95 void OnStartOff(wxCommandEvent & event);
96 void OnEndOn(wxCommandEvent & event);
97 void OnEndOff(wxCommandEvent & event);
98 void OnSelectSound(wxCommandEvent & event);
99 void OnSelectSilence(wxCommandEvent & event);
100 void OnCalibrate(wxCommandEvent & event);
101 void OnMakeLabel(wxCommandEvent & event);
102 void OnAutomateSelection(wxCommandEvent & event);
103 void OnSensitivitySlider(wxCommandEvent & event);
112 double GetSensitivity();
113 void SetKeyType(wxCommandEvent & event);
121 void SetPlaying(
bool down,
bool looped,
bool cutPreview);
135 int id,
unsigned altIdx);
149#ifdef EXPERIMENTAL_VOICE_DETECTION
151 std::unique_ptr<VoiceKey> mVk;
152 wxChoice *mKeyTypeChoice;
163 DECLARE_EVENT_TABLE()
ASlider is a custom slider, allowing for a slicker look and feel.
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
An explicitly nonlocalized string, not meant for the user to see.
Holds a msgid for the translation catalog; may also bind format arguments.
This implements a voice key, detecting either the next "ON" or "OFF" point.
A Track that contains audio waveform data.
Positions or offsets within audio files need a wide type.