9#ifndef __AUDACITY_SCORE_ALIGN_DIALOG__
10#define __AUDACITY_SCORE_ALIGN_DIALOG__
12#ifdef EXPERIMENTAL_SCOREALIGN
18#include "ScoreAlignParams.h"
23struct ScoreAlignParams
26 double mMidiStart, mMidiEnd;
27 double mAudioStart, mAudioEnd;
30 float mSilenceThreshold;
31 float mForceFinalAlignment;
42 long (*process)(
void *data,
float **buffer,
long n),
58void CloseScoreAlignDialog();
71 wxStaticText *mFramePeriodLabel;
72 wxSlider *mFramePeriodSlider;
73 wxStaticText *mFramePeriodText;
75 wxStaticText *mWindowSizeLabel;
76 wxSlider *mWindowSizeSlider;
77 wxStaticText *mWindowSizeText;
79 wxStaticText *mSilenceThresholdLabel;
80 wxSlider *mSilenceThresholdSlider;
81 wxStaticText *mSilenceThresholdText;
83 wxCheckBox *mForceFinalAlignmentCheckBox;
84 wxCheckBox *mIgnoreSilenceCheckBox;
86 wxStaticText *mPresmoothLabel;
87 wxSlider *mPresmoothSlider;
88 wxStaticText *mPresmoothText;
90 wxStaticText *mLineTimeLabel;
91 wxSlider *mLineTimeSlider;
92 wxStaticText *mLineTimeText;
94 wxStaticText *mSmoothTimeLabel;
95 wxSlider *mSmoothTimeSlider;
96 wxStaticText *mSmoothTimeText;
98 wxButton *mDefaultButton;
104 bool TransferDataFromWindow()
override;
115 ID_FORCEFINALALIGNMENT,
121 void OnOK(wxCommandEvent & event);
122 void OnCancel(wxCommandEvent & event);
123 void OnSlider(wxCommandEvent & event);
124 void OnDefault(wxCommandEvent & event);
126 DECLARE_EVENT_TABLE()
EffectDistortionSettings params
ScoreAlignDialog is \TODO.