|
| SMFSource (Session &session, const std::string &path, Source::Flag flags) |
|
| SMFSource (Session &session, const std::string &path) |
|
| SMFSource (Session &session, const XMLNode &, bool must_exist=false) |
|
virtual | ~SMFSource () |
|
bool | safe_file_extension (const std::string &path) const |
|
void | append_event_beats (const WriterLock &lock, const Evoral::Event< Temporal::Beats > &ev) |
|
void | append_event_samples (const WriterLock &lock, const Evoral::Event< samplepos_t > &ev, samplepos_t source_start) |
|
void | update_length (timepos_t const &dur) |
|
void | mark_streaming_midi_write_started (const WriterLock &lock, NoteMode mode) |
|
void | mark_streaming_write_completed (const WriterLock &lock, Temporal::timecnt_t const &duration) |
|
void | mark_midi_streaming_write_completed (const WriterLock &lock, Evoral::Sequence< Temporal::Beats >::StuckNoteOption, Temporal::timecnt_t const &duration) |
|
XMLNode & | get_state () const |
|
int | set_state (const XMLNode &, int version) |
|
void | load_model (const WriterLock &lock, bool force_reload=false) |
|
void | destroy_model (const WriterLock &lock) |
|
void | prevent_deletion () |
|
void | set_path (const std::string &newpath) |
|
SMF::UsedChannels | used_midi_channels () |
|
void | render (const ReaderLock &lock, Evoral::EventSink< Temporal::Beats > &dst) |
|
Temporal::Beats | duration () const |
|
| MidiSource (Session &session, std::string name, Source::Flag flags=Source::Flag(0)) |
|
| MidiSource (Session &session, const XMLNode &) |
|
virtual | ~MidiSource () |
|
int | write_to (const ReaderLock &lock, std::shared_ptr< MidiSource > newsrc, Temporal::Beats begin=Temporal::Beats(), Temporal::Beats end=std::numeric_limits< Temporal::Beats >::max()) |
|
int | export_write_to (const ReaderLock &lock, std::shared_ptr< MidiSource > newsrc, Temporal::Beats begin, Temporal::Beats end) |
|
virtual timecnt_t | midi_read (const ReaderLock &lock, Evoral::EventSink< samplepos_t > &dst, timepos_t const &source_start, timepos_t const &start, timecnt_t const &cnt, Temporal::Range *loop_range, MidiCursor &cursor, MidiNoteTracker *tracker, MidiChannelFilter *filter, const std::set< Evoral::Parameter > &filtered) |
|
virtual timecnt_t | midi_write (const WriterLock &lock, MidiRingBuffer< samplepos_t > &source, timepos_t const &source_start, timecnt_t const &cnt) |
|
virtual void | mark_streaming_write_started (const WriterLock &lock) |
|
void | mark_write_starting_now (timepos_t const &position, samplecnt_t capture_length) |
|
virtual void | session_saved () |
|
bool | length_mutable () const |
|
void | invalidate (const WriterLock &lock) |
|
void | set_note_mode (const WriterLock &lock, NoteMode mode) |
|
std::shared_ptr< MidiModel > | model () |
|
void | set_model (const WriterLock &lock, std::shared_ptr< MidiModel >) |
|
void | drop_model (const WriterLock &lock) |
|
AutomationList::InterpolationStyle | interpolation_of (Evoral::Parameter const &) const |
|
void | set_interpolation_of (Evoral::Parameter const &, AutomationList::InterpolationStyle) |
|
void | copy_interpolation_from (std::shared_ptr< MidiSource >) |
|
void | copy_interpolation_from (MidiSource *) |
|
AutoState | automation_state_of (Evoral::Parameter const &) const |
|
void | set_automation_state_of (Evoral::Parameter const &, AutoState) |
|
void | copy_automation_state_from (std::shared_ptr< MidiSource >) |
|
void | copy_automation_state_from (MidiSource *) |
|
| Source (Session &, DataType type, const std::string &name, Flag flags=Flag(0)) |
|
| Source (Session &, const XMLNode &) |
|
virtual | ~Source () |
|
DataType | type () |
|
time_t | timestamp () const |
|
void | stamp (time_t when) |
|
virtual timepos_t | length () const |
|
virtual bool | empty () const |
|
void | set_take_id (std::string id) |
|
const std::string & | take_id () const |
|
void | mark_for_remove () |
|
XMLNode & | get_state () const |
|
int | set_state (XMLNode const &, int version) |
|
bool | writable () const |
|
bool | has_been_analysed () const |
|
virtual bool | can_be_analysed () const |
|
virtual void | set_been_analysed (bool yn) |
|
virtual bool | check_for_analysis_data_on_disk () |
|
std::string | get_transients_path () const |
|
int | load_transients (const std::string &) |
|
size_t | n_captured_xruns () const |
|
XrunPositions const & | captured_xruns () const |
|
void | set_captured_xruns (XrunPositions const &xruns) |
|
void | set_captured_marks (CueMarkers const &marks) |
|
CueMarkers const & | cue_markers () const |
|
bool | add_cue_marker (CueMarker const &) |
|
bool | move_cue_marker (CueMarker const &, timepos_t const &source_relative_position) |
|
bool | remove_cue_marker (CueMarker const &) |
|
bool | rename_cue_marker (CueMarker &, std::string const &) |
|
bool | clear_cue_markers () |
|
virtual timepos_t | natural_position () const |
|
virtual void | set_natural_position (timepos_t const &pos) |
|
bool | have_natural_position () const |
|
timecnt_t | time_since_capture_start (timepos_t const &pos) |
|
void | set_allow_remove_if_empty (bool yn) |
|
Glib::Threads::RWLock & | mutex () |
|
Flag | flags () const |
|
virtual void | inc_use_count () |
|
virtual void | dec_use_count () |
|
int | use_count () const |
|
bool | used () const |
|
uint32_t | level () const |
|
std::string | ancestor_name () |
|
void | set_ancestor_name (const std::string &name) |
|
void | set_captured_for (std::string str) |
|
std::string | captured_for () const |
|
bool | get_segment_descriptor (TimelineRange const &, SegmentDescriptor &) |
|
int | set_segment_descriptor (SegmentDescriptor const &) |
|
| SessionObject (Session &session, const std::string &name) |
|
Session & | session () const |
|
std::string | name () const |
|
virtual bool | set_name (const std::string &str) |
|
Public Member Functions inherited from ARDOUR::SessionHandleRef |
| SessionHandleRef (ARDOUR::Session &s) |
|
virtual | ~SessionHandleRef () |
|
| ScopedConnectionList () |
|
| ScopedConnectionList (const ScopedConnectionList &)=delete |
|
ScopedConnectionList & | operator= (const ScopedConnectionList &)=delete |
|
virtual | ~ScopedConnectionList () |
|
void | add_connection (const UnscopedConnection &c) |
|
void | drop_connections () |
|
| Stateful () |
|
virtual | ~Stateful () |
|
virtual bool | apply_change (PropertyBase const &) |
|
PropertyChange | apply_changes (PropertyList const &) |
|
const OwnedPropertyList & | properties () const |
|
void | add_property (PropertyBase &s) |
|
void | add_extra_xml (XMLNode &) |
|
XMLNode * | extra_xml (const std::string &str, bool add_if_missing=false) |
|
void | save_extra_xml (const XMLNode &) |
|
const PBD::ID & | id () const |
|
bool | set_id (const XMLNode &) |
|
void | set_id (const std::string &) |
|
void | reset_id () |
|
void | clear_changes () |
|
virtual void | clear_owned_changes () |
|
PropertyList * | get_changes_as_properties (PBD::Command *) const |
|
virtual void | rdiff (std::vector< PBD::Command * > &) const |
|
bool | changed () const |
|
virtual PropertyList * | property_factory (const XMLNode &) const |
|
virtual void | suspend_property_changes () |
|
virtual void | resume_property_changes () |
|
bool | property_changes_suspended () const |
|
virtual | ~Destructible () |
|
virtual void | drop_references () |
|
virtual | ~FileSource () |
|
const std::string & | path () const |
|
int | move_to_trash (const std::string &trash_dir_name) |
|
void | mark_take (const std::string &id) |
|
void | mark_immutable () |
|
void | mark_immutable_except_write () |
|
void | mark_nonremovable () |
|
bool | within_session () const |
|
uint16_t | channel () const |
|
float | gain () const |
|
virtual void | set_gain (float g, bool temporarily=false) |
|
virtual void | set_channel (uint16_t c) |
|
int | set_source_name (const std::string &newname) |
|
bool | removable () const |
|
bool | is_stub () const |
|
const std::string & | origin () const |
|
void | set_origin (std::string const &o) |
|
void | replace_file (const std::string &) |
|
void | existence_check () |
|
int | rename (const std::string &name) |
|
| SMF () |
|
virtual | ~SMF () |
|
int | open (const std::string &path, int track=1, bool scan=true) |
|
int | create (const std::string &path, int track=1, uint16_t ppqn=19200) |
|
void | close () |
|
void | seek_to_start () const |
|
int | seek_to_track (int track) |
|
int | read_event (uint32_t *delta_t, uint32_t *size, uint8_t **buf, event_id_t *note_id) const |
|
uint16_t | num_tracks () const |
|
uint16_t | ppqn () const |
|
bool | is_empty () const |
|
void | begin_write () |
|
void | append_event_delta (uint32_t delta_t, uint32_t size, const uint8_t *buf, event_id_t note_id) |
|
void | end_write (std::string const &) |
|
void | flush () |
|
void | set_length (Temporal::Beats const &) |
|
double | round_to_file_precision (double val) const |
|
int | smf_format () const |
|
Temporal::Beats | file_duration () const |
|
int | num_channels () const |
|
UsedChannels const & | used_channels () const |
|
void | set_used_channels (UsedChannels used) |
|
uint64_t | n_note_on_events () const |
|
bool | has_pgm_change () const |
|
void | track_names (std::vector< std::string > &) const |
|
void | instrument_names (std::vector< std::string > &) const |
|
int | num_tempos () const |
|
Tempo * | nth_tempo (size_t n) const |
|
Markers const & | markers () const |
|
void | load_markers () |
|
std::shared_ptr< Temporal::TempoMap > | tempo_map (bool &provided) const |
|
Standard Midi File (Type 0) Source
Definition at line 38 of file smf_source.h.