Add Lua bindings to access region-fades
This commit is contained in:
parent
a254ce22a8
commit
6569653a3d
@ -1290,6 +1290,14 @@ LuaBindings::common (lua_State* L)
|
||||
.addFunction ("scale_amplitude", &AudioRegion::scale_amplitude)
|
||||
.addFunction ("maximum_amplitude", &AudioRegion::maximum_amplitude)
|
||||
.addFunction ("rms", &AudioRegion::rms)
|
||||
.addFunction ("fade_in_active", &AudioRegion::fade_in_active)
|
||||
.addFunction ("fade_out_active", &AudioRegion::fade_out_active)
|
||||
.addFunction ("set_fade_in_active", &AudioRegion::set_fade_in_active)
|
||||
.addFunction ("set_fade_in_shape", &AudioRegion::set_fade_in_shape)
|
||||
.addFunction ("set_fade_in_length", &AudioRegion::set_fade_in_length)
|
||||
.addFunction ("set_fade_out_active", &AudioRegion::set_fade_out_active)
|
||||
.addFunction ("set_fade_out_shape", &AudioRegion::set_fade_out_shape)
|
||||
.addFunction ("set_fade_out_length", &AudioRegion::set_fade_out_length)
|
||||
.addRefFunction ("separate_by_channel", &AudioRegion::separate_by_channel)
|
||||
.endClass ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user