mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-22 16:41:18 +01:00
Paul Licameli's Spectral Editing Patch.
This relies on three new nyquist scripts to actually do the editing. The peak-snapping code in FrequencyWindow has been extracted into a new class, SpectrumAnalyst, to provide peak-snapping in spectrogram too.
This commit is contained in:
@@ -24,24 +24,9 @@ class wxDC;
|
||||
class wxRadioButton;
|
||||
class wxSizeEvent;
|
||||
|
||||
class SelectionBarListener;
|
||||
class TimeTextCtrl;
|
||||
|
||||
class AUDACITY_DLL_API SelectionBarListener {
|
||||
|
||||
public:
|
||||
|
||||
SelectionBarListener(){};
|
||||
virtual ~SelectionBarListener(){};
|
||||
|
||||
virtual double AS_GetRate() = 0;
|
||||
virtual void AS_SetRate(double rate) = 0;
|
||||
virtual int AS_GetSnapTo() = 0;
|
||||
virtual void AS_SetSnapTo(int snap) = 0;
|
||||
virtual const wxString & AS_GetSelectionFormat() = 0;
|
||||
virtual void AS_SetSelectionFormat(const wxString & format) = 0;
|
||||
virtual void AS_ModifySelection(double &start, double &end, bool done) = 0;
|
||||
};
|
||||
|
||||
class SelectionBar:public ToolBar {
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user