62 string new_name = region->
name();
63 string::size_type at = new_name.find (
'@');
67 if (at != string::npos && at > 2) {
68 new_name = new_name.substr (0, at - 1);
88 error <<
_(
"MIDI stretch created non-MIDI source") <<
endmsg;
102 i != old_model->
end(); ++i) {
116 const int ret =
finish (region, nsrcs, new_name);
const TimeFXRequest & _request
Glib::Threads::Mutex::Lock Lock
int make_new_sources(boost::shared_ptr< ARDOUR::Region >, ARDOUR::SourceList &, std::string suffix="")
shared_ptr< T > dynamic_pointer_cast(shared_ptr< U > const &r)
LIBPBD_API Transmitter error
std::ostream & endmsg(std::ostream &ostr)
void end_write(StuckNoteOption, Time when=Time())
boost::shared_ptr< MidiModel > model()
void copy_interpolation_from(boost::shared_ptr< MidiSource >)
const const_iterator & end() const
LIBEVORAL_API event_id_t next_event_id()
std::vector< boost::shared_ptr< ARDOUR::Region > > results
Glib::Threads::Mutex & mutex()
void append(const Event< Time > &ev, Evoral::event_id_t evid)
const_iterator begin(Time t=Time(), bool force_discrete=false, const std::set< Evoral::Parameter > &f=std::set< Evoral::Parameter >(), const std::set< WeakNotePtr > *active_notes=NULL) const
framecnt_t length() const
virtual void load_model(const Glib::Threads::Mutex::Lock &lock, bool force_reload=false)=0
boost::shared_ptr< MidiSource > midi_source(uint32_t n=0) const
int finish(boost::shared_ptr< ARDOUR::Region >, ARDOUR::SourceList &, std::string region_name="")
int run(boost::shared_ptr< ARDOUR::Region >, Progress *progress=0)
std::vector< boost::shared_ptr< Source > > SourceList