diff options
author | Robin Gareus <robin@gareus.org> | 2017-03-17 18:12:50 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-03-17 18:12:50 +0100 |
commit | 6c1051024c5be1c023502958f2ef49c63942af96 (patch) | |
tree | 31d5472d0cc6868361dea9265bfbdcef4061e525 /libs/ardour/ardour/region.h | |
parent | 7ab1becd43c38921f21d84a2f313e9895e0e72c6 (diff) |
Lua bindings for libardour transient-analysis
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r-- | libs/ardour/ardour/region.h | 7 |
1 files changed, 7 insertions, 0 deletions
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&, |