Ardour  9.0-pre0-822-g12e3bc5c20
TimeFXDialog Class Reference

#include <time_fx_dialog.h>

Inheritance diagram for TimeFXDialog:
[legend]

Public Member Functions

 TimeFXDialog (Editor &e, bool for_pitch, Temporal::timecnt_t const &old_length, Temporal::timecnt_t const &new_length, Temporal::ratio_t const &, Temporal::timepos_t const &position, bool fixed_end)
 
void cancel_in_progress ()
 
gint delete_in_progress (GdkEventAny *)
 
Temporal::ratio_t get_time_fraction () const
 
float get_pitch_fraction () const
 
void start_updates ()
 
void on_response (int response_id)
 
void hide ()
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (const std::string &title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, const std::string &title, bool modal=false, bool use_separator=false)
 
 ~ArdourDialog ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
void on_unmap ()
 
void on_show ()
 
void set_ui_sensitive (bool)
 
void disallow_idle ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from ProgressReporter
 ProgressReporter ()
 
virtual ~ProgressReporter ()
 
- Public Member Functions inherited from PBD::Progress
 Progress ()
 
virtual ~Progress ()
 
void set_progress (float)
 
void ascend ()
 
void descend (float)
 
bool cancelled () const
 

Public Attributes

ARDOUR::TimeFXRequest request
 
Editoreditor
 
bool pitching
 
Gtk::ProgressBar progress_bar
 
ARDOUR::RegionList regions
 
Gtk::CheckButton quick_button
 
Gtk::CheckButton antialias_button
 
Gtk::VBox upper_button_box
 
Gtk::ComboBoxText stretch_opts_selector
 
Gtk::Label stretch_opts_label
 
Gtk::CheckButton precise_button
 
Gtk::CheckButton preserve_formants_button
 
Gtk::Button * cancel_button
 
Gtk::Button * action_button
 
Gtk::VBox packer
 
int status
 
bool fixed_end
 
sigc::connection first_cancel
 
sigc::connection first_delete
 

Private Member Functions

void update_progress_gui (float)
 
void duration_clock_changed ()
 
void duration_adjustment_changed ()
 
void timer_update ()
 

Private Attributes

Temporal::timecnt_t original_length
 
Gtk::Adjustment pitch_octave_adjustment
 
Gtk::Adjustment pitch_semitone_adjustment
 
Gtk::Adjustment pitch_cent_adjustment
 
Gtk::SpinButton pitch_octave_spinner
 
Gtk::SpinButton pitch_semitone_spinner
 
Gtk::SpinButton pitch_cent_spinner
 
Temporal::ratio_t duration_ratio
 
Gtk::Adjustment duration_adjustment
 
AudioClockduration_clock
 
bool ignore_adjustment_change
 
bool ignore_clock_change
 
sigc::connection update_connection
 
float progress
 

Additional Inherited Members

- Protected Member Functions inherited from ArdourDialog
void pop_splash ()
 
void close_self ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Member Functions inherited from PBD::Progress
void cancel ()
 
- Protected Attributes inherited from ArdourDialog
bool _sensitive
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 40 of file time_fx_dialog.h.

Constructor & Destructor Documentation

◆ TimeFXDialog()

TimeFXDialog::TimeFXDialog ( Editor e,
bool  for_pitch,
Temporal::timecnt_t const &  old_length,
Temporal::timecnt_t const &  new_length,
Temporal::ratio_t const &  ,
Temporal::timepos_t const &  position,
bool  fixed_end 
)

Member Function Documentation

◆ cancel_in_progress()

void TimeFXDialog::cancel_in_progress ( )

◆ delete_in_progress()

gint TimeFXDialog::delete_in_progress ( GdkEventAny *  )

◆ duration_adjustment_changed()

void TimeFXDialog::duration_adjustment_changed ( )
private

◆ duration_clock_changed()

void TimeFXDialog::duration_clock_changed ( )
private

◆ get_pitch_fraction()

float TimeFXDialog::get_pitch_fraction ( ) const

◆ get_time_fraction()

Temporal::ratio_t TimeFXDialog::get_time_fraction ( ) const

◆ hide()

void TimeFXDialog::hide ( )
inline

Definition at line 83 of file time_fx_dialog.h.

◆ on_response()

void TimeFXDialog::on_response ( int  response_id)
inlinevirtual

Reimplemented from ArdourDialog.

Definition at line 79 of file time_fx_dialog.h.

◆ start_updates()

void TimeFXDialog::start_updates ( )

◆ timer_update()

void TimeFXDialog::timer_update ( )
private

◆ update_progress_gui()

void TimeFXDialog::update_progress_gui ( float  p)
privatevirtual

Update our GUI to reflect progress.

Parameters
pProgress, from 0 to 1.

Implements ProgressReporter.

Member Data Documentation

◆ action_button

Gtk::Button* TimeFXDialog::action_button

Definition at line 64 of file time_fx_dialog.h.

◆ antialias_button

Gtk::CheckButton TimeFXDialog::antialias_button

Definition at line 54 of file time_fx_dialog.h.

◆ cancel_button

Gtk::Button* TimeFXDialog::cancel_button

Definition at line 63 of file time_fx_dialog.h.

◆ duration_adjustment

Gtk::Adjustment TimeFXDialog::duration_adjustment
private

Definition at line 97 of file time_fx_dialog.h.

◆ duration_clock

AudioClock* TimeFXDialog::duration_clock
private

Definition at line 98 of file time_fx_dialog.h.

◆ duration_ratio

Temporal::ratio_t TimeFXDialog::duration_ratio
private

Definition at line 96 of file time_fx_dialog.h.

◆ editor

Editor& TimeFXDialog::editor

Definition at line 47 of file time_fx_dialog.h.

◆ first_cancel

sigc::connection TimeFXDialog::first_cancel

Definition at line 69 of file time_fx_dialog.h.

◆ first_delete

sigc::connection TimeFXDialog::first_delete

Definition at line 70 of file time_fx_dialog.h.

◆ fixed_end

bool TimeFXDialog::fixed_end

Definition at line 67 of file time_fx_dialog.h.

◆ ignore_adjustment_change

bool TimeFXDialog::ignore_adjustment_change
private

Definition at line 99 of file time_fx_dialog.h.

◆ ignore_clock_change

bool TimeFXDialog::ignore_clock_change
private

Definition at line 100 of file time_fx_dialog.h.

◆ original_length

Temporal::timecnt_t TimeFXDialog::original_length
private

Definition at line 89 of file time_fx_dialog.h.

◆ packer

Gtk::VBox TimeFXDialog::packer

Definition at line 65 of file time_fx_dialog.h.

◆ pitch_cent_adjustment

Gtk::Adjustment TimeFXDialog::pitch_cent_adjustment
private

Definition at line 92 of file time_fx_dialog.h.

◆ pitch_cent_spinner

Gtk::SpinButton TimeFXDialog::pitch_cent_spinner
private

Definition at line 95 of file time_fx_dialog.h.

◆ pitch_octave_adjustment

Gtk::Adjustment TimeFXDialog::pitch_octave_adjustment
private

Definition at line 90 of file time_fx_dialog.h.

◆ pitch_octave_spinner

Gtk::SpinButton TimeFXDialog::pitch_octave_spinner
private

Definition at line 93 of file time_fx_dialog.h.

◆ pitch_semitone_adjustment

Gtk::Adjustment TimeFXDialog::pitch_semitone_adjustment
private

Definition at line 91 of file time_fx_dialog.h.

◆ pitch_semitone_spinner

Gtk::SpinButton TimeFXDialog::pitch_semitone_spinner
private

Definition at line 94 of file time_fx_dialog.h.

◆ pitching

bool TimeFXDialog::pitching

Definition at line 48 of file time_fx_dialog.h.

◆ precise_button

Gtk::CheckButton TimeFXDialog::precise_button

Definition at line 60 of file time_fx_dialog.h.

◆ preserve_formants_button

Gtk::CheckButton TimeFXDialog::preserve_formants_button

Definition at line 61 of file time_fx_dialog.h.

◆ progress

float TimeFXDialog::progress
private

Definition at line 102 of file time_fx_dialog.h.

◆ progress_bar

Gtk::ProgressBar TimeFXDialog::progress_bar

Definition at line 49 of file time_fx_dialog.h.

◆ quick_button

Gtk::CheckButton TimeFXDialog::quick_button

Definition at line 53 of file time_fx_dialog.h.

◆ regions

ARDOUR::RegionList TimeFXDialog::regions

Definition at line 50 of file time_fx_dialog.h.

◆ request

ARDOUR::TimeFXRequest TimeFXDialog::request

Definition at line 46 of file time_fx_dialog.h.

◆ status

int TimeFXDialog::status

Definition at line 66 of file time_fx_dialog.h.

◆ stretch_opts_label

Gtk::Label TimeFXDialog::stretch_opts_label

Definition at line 59 of file time_fx_dialog.h.

◆ stretch_opts_selector

Gtk::ComboBoxText TimeFXDialog::stretch_opts_selector

Definition at line 58 of file time_fx_dialog.h.

◆ update_connection

sigc::connection TimeFXDialog::update_connection
private

Definition at line 101 of file time_fx_dialog.h.

◆ upper_button_box

Gtk::VBox TimeFXDialog::upper_button_box

Definition at line 55 of file time_fx_dialog.h.


The documentation for this class was generated from the following file: