Skip to content

Add new read-only clip properties for available_warp_modes, sample_rate, has_envelopes, and clip type booleans#177

Open
PhotonicVelocity wants to merge 1 commit intoideoforms:masterfrom
PhotonicVelocity:feat/new_clip_properties
Open

Add new read-only clip properties for available_warp_modes, sample_rate, has_envelopes, and clip type booleans#177
PhotonicVelocity wants to merge 1 commit intoideoforms:masterfrom
PhotonicVelocity:feat/new_clip_properties

Conversation

@PhotonicVelocity
Copy link

Description

A few read-only properties were missing and easy enough to add.

Added clip properties for available_warp_modes, has_envelopes, is_arrangement_clip, is_session_clip, is_take_lane_clip, sample_rate.

New handler added for available_warp_modes since it returns enum-like objects. Handler converts to list of ints where:
0 = Beats Mode, 1 = Tones Mode, 2 = Texture Mode, 3 = Re-Pitch Mode, 4 = Complex Mode, 5 = REX Mode, 6 = Complex Pro Mode.

Checklist

  • The title is descriptive and summarises the new changes
  • The code and any comments are consistent with the current code style
  • For any new or modified API endpoints, I have added appropriate documentation to README.md
  • For any new or modified API endpoints, I have added unit tests covering the new functionality
  • I have verified that all unit tests pass (see CONTRIBUTING.md for guidance)

No tests added as none of the other read-only properties have tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant