-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to trim audio clips from start position (#3291)
* Initial stab at trimming the start of audio * Refactor audio clip view for improved marker handling and rendering - Adjusted visibility logic for start and end markers to enhance user interaction. - Updated rendering logic to differentiate between blinking and static marker states. - Improved comments for clarity and maintenance. - Implemented non-destructive start trimming functionality, allowing for better audio editing. - Fixed minor issues related to marker toggling and display updates. This commit builds upon the initial implementation of start trimming and enhances the overall user experience in the audio clip view. * - Implemented non-destructive trimming functionality for start markers, allowing for more flexible audio editing. - Fixed issues related to marker toggling. TODO - Currently trimming from the start results in the prior audio becoming hidden and the new play head moves to column one. Should change this so the new playhead does not move and the hidden audio is greyed out. * Button handling * Restore button actions * Put audio trim from start behind a feature flag * Build tidy. * improve audio clip marker handling * Cleaned up formatting in settings.cpp and audio_clip_view.h * Use predefined color constants. * refactor: standardize AudioClip reference handling in audio_clip_view.cpp * Refactor coloring code * Add assignment operator to RGB class in rgb.h * Refactor LED colour handling in waveform and pad LED rendering following recommended changes in audio_clip_view. #3291 (comment) * Formatting fixes. * Update settings.cpp * minor formatting fix * Update toolchain to v22 (#3307) Should reduce the Docker image size, and fixes formatting on OSX/Linux * fix(audio): improve audio clip view null checks and recording state - Add null checks for audio clip pointer - Reinstated linear recording checks - Clean up comments * fix: restore macro handling in audio clip view Restore macro activation functionality when clicking side column while holding song button. This was accidentally removed during audio clip trimming changes. * refactor(audio-clip): improve sample length handling restore comments * refactor(audio-clip): improve sample length handling restore comments * docs(rgb): improve assignment operator documentation * feat(audio): add trim from start of audio clip feature documentation Adds new feature setting to enable trimming from start of audio clips * Update community features docs on start trimming * Add reference to PR for start trimming * Update community features docs on start trimming (2) * Update community features docs on strart trimming * Fix conflict --------- Co-authored-by: Sapphire Koser <[email protected]> Co-authored-by: Sean Ditny <[email protected]>
- Loading branch information
1 parent
76d14f4
commit 93333f1
Showing
17 changed files
with
300 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.