reapy package

Submodules

reapy.errors module

Define custom errors.

exception reapy.errors.DisabledDistAPIError[source]

Bases: Exception

exception reapy.errors.DisabledDistAPIWarning[source]

Bases: Warning

exception reapy.errors.DisconnectedClientError[source]

Bases: Exception

exception reapy.errors.DistError(tb_string)[source]

Bases: Exception

exception reapy.errors.ExtensionNotFoundError(extension, url)[source]

Bases: Exception

exception reapy.errors.InsideREAPERError[source]

Bases: Exception

exception reapy.errors.InvalidObjectError(object)[source]

Bases: Exception

Raised when an object with invalid ID has tried to access REAPER.

Common causes of this error are closing REAPER or deleting the object referred to by the aforementioned ID.

The object that caused this error is available as its object attribute.

Parameters:object (ReapyObject) – Object that caused the error.

Notes

Most reapy objects have a has_valid_id property that allows to check for its validity.

exception reapy.errors.OutsideREAPERError[source]

Bases: Exception

exception reapy.errors.RedoError[source]

Bases: Exception

exception reapy.errors.UndefinedEnvelopeError(index, name, chunk_name)[source]

Bases: Exception

exception reapy.errors.UndefinedExtStateError(key)[source]

Bases: Exception

exception reapy.errors.UndefinedFXParamError(fx_name, name)[source]

Bases: Exception

exception reapy.errors.UndoError[source]

Bases: Exception

Module contents

reapy.is_inside_reaper()[source]

Return whether reapy is imported from inside REAPER.

If reapy is run from inside a REAPER instance but currently controls another REAPER instance on a slave machine (with reapy.connect), return False.