105 std::shared_ptr<AutomationList>
fade_in() {
return _fade_in.val (); }
107 std::shared_ptr<AutomationList>
fade_out() {
return _fade_out.val (); }
109 std::shared_ptr<AutomationList>
envelope() {
return _envelope.val (); }
115 uint32_t chan_n=0,
double samples_per_pixel = 1.0)
const;
128 uint32_t chan_n = 0)
const;
133 uint32_t chan_n=0)
const;
177 std::shared_ptr<Evoral::Control>
179 return _automatable.control(
id, create);
182 virtual std::shared_ptr<const Evoral::Control>
184 return _automatable.control(
id);
218 friend class ::AudioRegionReadTest;
219 friend class ::PlaylistReadTest;
287 bool _add_plugin (std::shared_ptr<RegionFxPlugin>, std::shared_ptr<RegionFxPlugin>,
bool);
uint32_t region_length_from_c(void *arg)
uint32_t sourcefile_length_from_c(void *arg, double)
int region_read_peaks_from_c(void *arg, uint32_t npeaks, uint32_t start, uint32_t length, intptr_t data, uint32_t n_chan, double samples_per_unit)
bool fade_before_fx() const
AutomationListProperty _inverse_fade_in
PBD::Property< bool > _default_fade_out
std::shared_ptr< AutomationList > fade_in()
samplecnt_t read_from_sources(SourceList const &, samplecnt_t, Sample *, samplepos_t, samplecnt_t, uint32_t) const
bool _add_plugin(std::shared_ptr< RegionFxPlugin >, std::shared_ptr< RegionFxPlugin >, bool)
AudioRegion(SourceList &)
void set_fade_out(FadeShape, samplecnt_t)
void listen_to_my_curves()
void normalize(float, float target_in_dB=0.0f)
samplecnt_t readable_length_samples() const
bool fade_out_active() const
virtual std::shared_ptr< const Evoral::Control > control(const Evoral::Parameter &id) const
void set_fade_in(FadeShape, samplecnt_t)
uint32_t n_channels() const
uint32_t _fade_out_suspended
AudioRegion(const SourceList &)
void send_change(const PBD::PropertyChange &)
int separate_by_channel(std::vector< std::shared_ptr< Region > > &) const
bool loudness(float &tp, float &i, float &s, float &m, PBD::Progress *p=0) const
void fx_tail_changed(bool no_emit)
std::shared_ptr< AutomationList > envelope()
void recompute_at_start()
std::shared_ptr< AudioSource > audio_source(uint32_t n=0) const
AudioRegion(std::shared_ptr< const AudioRegion >)
void fade_range(samplepos_t, samplepos_t)
void source_offset_changed()
double rms(PBD::Progress *p=0) const
PBD::Property< bool > _fade_in_active
void add_transient(samplepos_t where)
bool fade_in_is_default() const
void register_properties()
int set_state(const XMLNode &, int version)
AutomationListProperty _inverse_fade_out
void copy_plugin_state(std::shared_ptr< const AudioRegion >)
PBD::Property< bool > _envelope_active
void recompute_gain_at_end()
double maximum_amplitude(PBD::Progress *p=0) const
PBD::Property< gain_t > _scale_amplitude
void reorder_plugins(RegionFxList const &)
void recompute_gain_at_start()
bool fade_in_active() const
bool fade_out_is_default() const
bool source_equivalent(std::shared_ptr< const Region >) const
void update_transient(samplepos_t old_position, samplepos_t new_position)
void set_fade_out_active(bool yn)
bool speed_mismatch(float) const
XMLNode & get_basic_state() const
void set_fade_in_length(samplecnt_t)
void set_fade_before_fx(bool yn)
void connect_to_header_position_offset_changed()
void set_fade_out(std::shared_ptr< AutomationList >)
AutomationListProperty _fade_in
PBD::Property< bool > _default_fade_in
gain_t scale_amplitude() const
void set_default_fade_in()
AudioRegion(std::shared_ptr< AudioSource >)
bool do_export(std::string const &) const
std::shared_ptr< AutomationList > inverse_fade_in()
AutomationListProperty _fade_out
samplecnt_t verify_xfade_bounds(samplecnt_t, bool start)
void get_transients(AnalysisFeatureList &)
AudioIntervalResult find_silence(Sample, samplecnt_t, samplecnt_t, InterThreadInfo &) const
int _set_state(const XMLNode &, int version, PBD::PropertyChange &what_changed, bool send_signal)
std::atomic< bool > _invalidated
PBD::Property< bool > _fade_before_fx
std::shared_ptr< ARDOUR::Region > get_single_other_xfade_region(bool start) const
void set_onsets(AnalysisFeatureList &)
bool remove_plugin(std::shared_ptr< RegionFxPlugin >)
AutomationListProperty _envelope
void set_default_envelope()
void set_fade_out_shape(FadeShape)
void set_fade_out_length(samplecnt_t)
std::shared_ptr< AutomationList > fade_out()
std::shared_ptr< Evoral::Control > control(const Evoral::Parameter &id, bool create=false)
AudioRegion(Session &s, timepos_t const &, timecnt_t const &, std::string name)
AudioRegion(std::shared_ptr< const AudioRegion >, const SourceList &)
void remove_transient(samplepos_t where)
Temporal::Range body_range() const
void connect_to_analysis_changed()
void set_default_fade_out()
samplecnt_t read_raw_internal(Sample *, samplepos_t, samplecnt_t, int channel) const
PBD::Property< bool > _fade_out_active
samplecnt_t master_read_at(Sample *buf, samplepos_t position, samplecnt_t cnt, uint32_t chan_n=0) const
void set_fade_in_active(bool yn)
void set_fade_in_shape(FadeShape)
std::shared_ptr< AutomationList > inverse_fade_out()
void set_envelope_active(bool yn)
virtual samplecnt_t read_peaks(PeakData *buf, samplecnt_t npeaks, samplecnt_t offset, samplecnt_t cnt, uint32_t chan_n=0, double samples_per_pixel=1.0) const
samplecnt_t read(Sample *, samplepos_t pos, samplecnt_t cnt, int channel) const
AudioRegion(std::shared_ptr< const AudioRegion >, timecnt_t const &offset)
samplecnt_t read_at(Sample *buf, Sample *mixdown_buf, gain_t *gain_buf, samplepos_t position, samplecnt_t cnt, uint32_t chan_n=0) const
bool envelope_active() const
void fx_latency_changed(bool no_emit)
Glib::Threads::Mutex _cache_lock
static void make_property_quarks()
void post_set(const PBD::PropertyChange &)
void set_fade_in(std::shared_ptr< AutomationList >)
void set_scale_amplitude(gain_t)
void copy_settings(std::shared_ptr< const AudioRegion >)
uint32_t _fade_in_suspended
void apply_region_fx(BufferSet &, samplepos_t, samplepos_t, samplecnt_t)
std::list< std::shared_ptr< RegionFxPlugin > > RegionFxList
std::vector< std::shared_ptr< Source > > SourceList
GtkImageIconNameData name
PBD::PropertyDescriptor< std::shared_ptr< AutomationList > > envelope
PBD::PropertyDescriptor< std::shared_ptr< AutomationList > > fade_out
PBD::PropertyDescriptor< bool > envelope_active
PBD::PropertyDescriptor< bool > fade_out_active
PBD::PropertyDescriptor< bool > default_fade_in
PBD::PropertyDescriptor< std::shared_ptr< AutomationList > > inverse_fade_out
PBD::PropertyDescriptor< timecnt_t > length
PBD::PropertyDescriptor< bool > fade_in_active
PBD::PropertyDescriptor< float > scale_amplitude
PBD::PropertyDescriptor< bool > fade_before_fx
PBD::PropertyDescriptor< timepos_t > start
PBD::PropertyDescriptor< std::shared_ptr< AutomationList > > fade_in
PBD::PropertyDescriptor< bool > default_fade_out
PBD::PropertyDescriptor< std::shared_ptr< AutomationList > > inverse_fade_in
std::list< std::pair< sampleoffset_t, sampleoffset_t > > AudioIntervalResult
std::list< samplepos_t > AnalysisFeatureList
Temporal::samplecnt_t samplecnt_t
Temporal::samplepos_t samplepos_t