Ardour  9.0-pre0-822-g12e3bc5c20
SoundFileOmega Class Reference

#include <sfdb_ui.h>

Inheritance diagram for SoundFileOmega:
[legend]

Public Member Functions

 SoundFileOmega (std::string title, ARDOUR::Session *_s, uint32_t selected_audio_tracks, uint32_t selected_midi_tracks, bool persistent, Editing::ImportMode mode_hint=Editing::ImportAsTrack)
 
void reset (uint32_t selected_audio_tracks, uint32_t selected_midi_tracks)
 
void set_mode (Editing::ImportMode)
 
Editing::ImportMode get_mode () const
 
ARDOUR::MidiTrackNameSource get_midi_track_name_source () const
 
bool get_use_smf_tempo_map () const
 
bool get_use_smf_markers () const
 
Editing::ImportPosition get_position () const
 
Editing::ImportDisposition get_channel_disposition () const
 
ARDOUR::SrcQuality get_src_quality () const
 
- Public Member Functions inherited from SoundFileBrowser
 SoundFileBrowser (std::string title, ARDOUR::Session *_s, bool persistent)
 
virtual ~SoundFileBrowser ()
 
int run ()
 
int status () const
 
virtual void set_session (ARDOUR::Session *)
 
std::vector< std::string > get_paths ()
 
void clear_selection ()
 
void freesound_search ()
 
void refresh_display (std::string ID, std::string file)
 
- Public Member Functions inherited from ArdourWindow
 ArdourWindow (std::string title)
 
 ArdourWindow (Gtk::Window &parent, std::string title)
 
virtual ~ArdourWindow ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from Gtkmm2ext::VisibilityTracker
 VisibilityTracker (Gtk::Window &)
 
virtual ~VisibilityTracker ()
 
void cycle_visibility ()
 
bool fully_visible () const
 
bool not_visible () const
 
bool partially_visible () const
 
Gtk::Window & window () const
 

Public Attributes

Gtk::ComboBoxText action_combo
 
Gtk::ComboBoxText sort_combo
 
Gtk::ComboBoxText where_combo
 
Gtk::ComboBoxText channel_combo
 
Gtk::ComboBoxText src_combo
 
Gtk::ComboBoxText midi_track_name_combo
 
InstrumentSelector instrument_combo
 
Gtk::CheckButton copy_files_btn
 
Gtk::CheckButton smf_tempo_btn
 
Gtk::CheckButton smf_marker_btn
 
- Public Attributes inherited from SoundFileBrowser
Gtk::FileChooserWidget chooser
 
SoundFileBox preview
 
Gtk::Entry found_entry
 
Gtk::Button found_search_btn
 
Gtk::TreeView found_list_view
 
Gtk::Entry freesound_entry
 
Gtk::ComboBoxText freesound_sort
 
Gtk::ComboBoxText freesound_licence
 
Gtk::Button freesound_search_btn
 
Gtk::TreeView freesound_list_view
 
Gtk::Notebook notebook
 

Protected Member Functions

void on_hide ()
 
virtual SortOrder sort_order () const
 
- Protected Member Functions inherited from SoundFileBrowser
void add_gain_meter ()
 
void remove_gain_meter ()
 
void meter ()
 
void start_metering ()
 
void stop_metering ()
 
void update_preview ()
 
void found_list_view_selected ()
 
void found_list_view_activated (const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *)
 
void found_search_clicked ()
 
void freesound_list_view_selected ()
 
void freesound_list_view_activated (const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *)
 
void freesound_search_clicked ()
 
void freesound_more_clicked ()
 
void freesound_similar_clicked ()
 
void freesound_search_params_changed ()
 
void chooser_file_activated ()
 
std::string freesound_get_audio_file (Gtk::TreeIter iter)
 
bool on_audio_filter (const Gtk::FileFilter::Info &filter_info)
 
bool on_midi_filter (const Gtk::FileFilter::Info &filter_info)
 
bool on_audio_and_midi_filter (const Gtk::FileFilter::Info &filter_info)
 
void set_action_sensitive (bool)
 
bool get_action_sensitive () const
 
void on_show ()
 
bool on_key_press_event (GdkEventKey *)
 
- Protected Member Functions inherited from ArdourWindow
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
bool on_key_press_event (GdkEventKey *)
 
bool on_key_release_event (GdkEventKey *)
 
void on_unmap ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Private Types

typedef std::map< std::string, Editing::ImportDispositionDispositionMap
 

Private Member Functions

bool check_info (const std::vector< std::string > &paths, bool &same_size, bool &src_needed, bool &multichannel, bool &must_copy)
 
void instrument_combo_changed ()
 
void file_selection_changed ()
 
bool reset_options ()
 
void reset_options_noret ()
 
bool bad_file_message ()
 
void src_combo_changed ()
 
void where_combo_changed ()
 
void do_something (int action)
 

Static Private Member Functions

static bool check_link_status (const ARDOUR::Session *, const std::vector< std::string > &paths)
 

Private Attributes

uint32_t selected_audio_track_cnt
 
uint32_t selected_midi_track_cnt
 
DispositionMap disposition_map
 
Gtk::Table options
 
bool _import_active
 
bool _reset_post_import
 

Additional Inherited Members

- Static Public Member Functions inherited from Gtkmm2ext::VisibilityTracker
static void set_use_window_manager_visibility (bool)
 
static bool use_window_manager_visibility ()
 
- Protected Types inherited from SoundFileBrowser
enum  SortOrder { SelectionOrder , FileName , FileMtime }
 
- Protected Attributes inherited from SoundFileBrowser
bool resetting_ourselves
 
int matches
 
int _status
 
bool _done
 
Gtk::FileFilter audio_and_midi_filter
 
Gtk::FileFilter audio_filter
 
Gtk::FileFilter midi_filter
 
Gtk::FileFilter custom_filter
 
Gtk::FileFilter matchall_filter
 
Gtk::HBox hpacker
 
Gtk::VBox vpacker
 
Gtk::Button import_button
 
GainMetergm
 
Gtk::VBox meter_packer
 
sigc::connection metering_connection
 
int freesound_page
 
std::string freesound_token
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 
- Static Protected Attributes inherited from SoundFileBrowser
static std::string persistent_folder
 

Detailed Description

Definition at line 298 of file sfdb_ui.h.

Member Typedef Documentation

◆ DispositionMap

typedef std::map<std::string,Editing::ImportDisposition> SoundFileOmega::DispositionMap
private

Definition at line 339 of file sfdb_ui.h.

Constructor & Destructor Documentation

◆ SoundFileOmega()

SoundFileOmega::SoundFileOmega ( std::string  title,
ARDOUR::Session _s,
uint32_t  selected_audio_tracks,
uint32_t  selected_midi_tracks,
bool  persistent,
Editing::ImportMode  mode_hint = Editing::ImportAsTrack 
)

Member Function Documentation

◆ bad_file_message()

bool SoundFileOmega::bad_file_message ( )
private

◆ check_info()

bool SoundFileOmega::check_info ( const std::vector< std::string > &  paths,
bool &  same_size,
bool &  src_needed,
bool &  multichannel,
bool &  must_copy 
)
private

◆ check_link_status()

static bool SoundFileOmega::check_link_status ( const ARDOUR::Session ,
const std::vector< std::string > &  paths 
)
staticprivate

◆ do_something()

void SoundFileOmega::do_something ( int  action)
privatevirtual

Reimplemented from SoundFileBrowser.

◆ file_selection_changed()

void SoundFileOmega::file_selection_changed ( )
private

◆ get_channel_disposition()

Editing::ImportDisposition SoundFileOmega::get_channel_disposition ( ) const

◆ get_midi_track_name_source()

ARDOUR::MidiTrackNameSource SoundFileOmega::get_midi_track_name_source ( ) const

◆ get_mode()

Editing::ImportMode SoundFileOmega::get_mode ( ) const

◆ get_position()

Editing::ImportPosition SoundFileOmega::get_position ( ) const

◆ get_src_quality()

ARDOUR::SrcQuality SoundFileOmega::get_src_quality ( ) const

◆ get_use_smf_markers()

bool SoundFileOmega::get_use_smf_markers ( ) const

◆ get_use_smf_tempo_map()

bool SoundFileOmega::get_use_smf_tempo_map ( ) const

◆ instrument_combo_changed()

void SoundFileOmega::instrument_combo_changed ( )
private

◆ on_hide()

void SoundFileOmega::on_hide ( )
protected

◆ reset()

void SoundFileOmega::reset ( uint32_t  selected_audio_tracks,
uint32_t  selected_midi_tracks 
)

◆ reset_options()

bool SoundFileOmega::reset_options ( )
privatevirtual

Reimplemented from SoundFileBrowser.

◆ reset_options_noret()

void SoundFileOmega::reset_options_noret ( )
private

◆ set_mode()

void SoundFileOmega::set_mode ( Editing::ImportMode  )

◆ sort_order()

virtual SortOrder SoundFileOmega::sort_order ( ) const
protectedvirtual

Reimplemented from SoundFileBrowser.

◆ src_combo_changed()

void SoundFileOmega::src_combo_changed ( )
private

◆ where_combo_changed()

void SoundFileOmega::where_combo_changed ( )
private

Member Data Documentation

◆ _import_active

bool SoundFileOmega::_import_active
private

Definition at line 360 of file sfdb_ui.h.

◆ _reset_post_import

bool SoundFileOmega::_reset_post_import
private

Definition at line 361 of file sfdb_ui.h.

◆ action_combo

Gtk::ComboBoxText SoundFileOmega::action_combo

Definition at line 310 of file sfdb_ui.h.

◆ channel_combo

Gtk::ComboBoxText SoundFileOmega::channel_combo

Definition at line 313 of file sfdb_ui.h.

◆ copy_files_btn

Gtk::CheckButton SoundFileOmega::copy_files_btn

Definition at line 318 of file sfdb_ui.h.

◆ disposition_map

DispositionMap SoundFileOmega::disposition_map
private

Definition at line 340 of file sfdb_ui.h.

◆ instrument_combo

InstrumentSelector SoundFileOmega::instrument_combo

Definition at line 316 of file sfdb_ui.h.

◆ midi_track_name_combo

Gtk::ComboBoxText SoundFileOmega::midi_track_name_combo

Definition at line 315 of file sfdb_ui.h.

◆ options

Gtk::Table SoundFileOmega::options
private

Definition at line 342 of file sfdb_ui.h.

◆ selected_audio_track_cnt

uint32_t SoundFileOmega::selected_audio_track_cnt
private

Definition at line 336 of file sfdb_ui.h.

◆ selected_midi_track_cnt

uint32_t SoundFileOmega::selected_midi_track_cnt
private

Definition at line 337 of file sfdb_ui.h.

◆ smf_marker_btn

Gtk::CheckButton SoundFileOmega::smf_marker_btn

Definition at line 320 of file sfdb_ui.h.

◆ smf_tempo_btn

Gtk::CheckButton SoundFileOmega::smf_tempo_btn

Definition at line 319 of file sfdb_ui.h.

◆ sort_combo

Gtk::ComboBoxText SoundFileOmega::sort_combo

Definition at line 311 of file sfdb_ui.h.

◆ src_combo

Gtk::ComboBoxText SoundFileOmega::src_combo

Definition at line 314 of file sfdb_ui.h.

◆ where_combo

Gtk::ComboBoxText SoundFileOmega::where_combo

Definition at line 312 of file sfdb_ui.h.


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