From 6c1051024c5be1c023502958f2ef49c63942af96 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 17 Mar 2017 18:12:50 +0100 Subject: Lua bindings for libardour transient-analysis --- libs/ardour/ardour/region.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libs/ardour/ardour/region.h') diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h index 85e0442a41..f51f54b00c 100644 --- a/libs/ardour/ardour/region.h +++ b/libs/ardour/ardour/region.h @@ -326,6 +326,13 @@ class LIBARDOUR_API Region // no transients, but its OK } + /* wrapper to the above for easy access throug Lua */ + AnalysisFeatureList transients () { + AnalysisFeatureList rv; + get_transients (rv); + return rv; + } + bool has_transients () const; virtual int separate_by_channel (ARDOUR::Session&, -- cgit v1.2.3