Skip to content

add section number to clip names, copy clip names along with clips#3195

Merged
stellar-aria merged 2 commits into
SynthstromAudible:communityfrom
nikodemus:pr-clip-name-defaults-and-copying-on-grid
Jan 2, 2025
Merged

add section number to clip names, copy clip names along with clips#3195
stellar-aria merged 2 commits into
SynthstromAudible:communityfrom
nikodemus:pr-clip-name-defaults-and-copying-on-grid

Conversation

@nikodemus

@nikodemus nikodemus commented Jan 2, 2025

Copy link
Copy Markdown
Collaborator
  • if clip has no name, display "SECTION NUM"
  • if clip has a name, display "NUM: CLIP NAME"
  • when copying clips, copy the clip name as well. append/increment tailing number to keep it unique on the target output
  • Implements what Preserving naming of clips when copying in Row mode #3167 asks for, among other things.

- if clip has no name, display "Section: <section num>"

- if clip has a name, display "<section num>: <clip name>"
- append a number to the clip name if necessary to avoid duplicates
  on the same output; if the name already ends with a number, the
  existing number is incremented instead
@nikodemus nikodemus requested a review from stellar-aria January 2, 2025 15:37
@github-actions

github-actions Bot commented Jan 2, 2025

Copy link
Copy Markdown
Contributor

Test Results

106 tests  ±0   106 ✅ ±0   0s ⏱️ -1s
 16 suites ±0     0 💤 ±0 
 16 files   ±0     0 ❌ ±0 

Results for commit fdb9e51. ± Comparison against base commit 0d55ca5.

@stellar-aria stellar-aria added this pull request to the merge queue Jan 2, 2025
Merged via the queue into SynthstromAudible:community with commit 5a7ca2b Jan 2, 2025
@nikodemus nikodemus deleted the pr-clip-name-defaults-and-copying-on-grid branch January 3, 2025 09:57
seangoodvibes pushed a commit to seangoodvibes/DelugeFirmware that referenced this pull request Jan 16, 2026
…ynthstromAudible#3195)

* use section numbers with clip names

- if clip has no name, display "Section: <section num>"

- if clip has a name, display "<section num>: <clip name>"

* copy clip names when duplicating clips

- append a number to the clip name if necessary to avoid duplicates
  on the same output; if the name already ends with a number, the
  existing number is incremented instead
seangoodvibes added a commit to seangoodvibes/DelugeFirmware that referenced this pull request Jan 16, 2026
seangoodvibes pushed a commit to seangoodvibes/DelugeFirmware that referenced this pull request Jan 16, 2026
…ynthstromAudible#3195)

* use section numbers with clip names

- if clip has no name, display "Section: <section num>"

- if clip has a name, display "<section num>: <clip name>"

* copy clip names when duplicating clips

- append a number to the clip name if necessary to avoid duplicates
  on the same output; if the name already ends with a number, the
  existing number is incremented instead
seangoodvibes pushed a commit to seangoodvibes/DelugeFirmware that referenced this pull request Jan 16, 2026
refactor rename-uis, allow naming CV clips as well (SynthstromAudible#3183)

* refactor rename-uis, allow naming CV clips as well

- allow deleting names (by replacing them with empty) for all but
  drums

- consolidate shared code in RenameUI class: subclasses implement
  only a couple of methods to specialize their behaviour

- ad-hoc dispatch in sound_editor.cpp replaced with normal shortcut
  machinery

- shrinks the binary by just a hair, but *shrinks*, not grows!

* fix initialization of RenameUIs

---------

Co-authored-by: Sapphire Koser <srkoser+GitHub@gmail.com>

Fix rename-UIs PR (SynthstromAudible#3218)

* Revert "refactor rename-uis, allow naming CV clips as well (SynthstromAudible#3183)"

This reverts commit 0d55ca5.

* Bugfix for rename-UIs PR

add section number to clip names, copy clip names along with clips (SynthstromAudible#3195)

* use section numbers with clip names

- if clip has no name, display "Section: <section num>"

- if clip has a name, display "<section num>: <clip name>"

* copy clip names when duplicating clips

- append a number to the clip name if necessary to avoid duplicates
  on the same output; if the name already ends with a number, the
  existing number is incremented instead

Co-Authored-By: Nikodemus Siivola <nikodemus@random-state.net>
Co-Authored-By: Katherine Whitlock <122173759+stellar-aria@users.noreply.github.com>
seangoodvibes pushed a commit to seangoodvibes/DelugeFirmware that referenced this pull request Jan 16, 2026
…ynthstromAudible#3195)

* use section numbers with clip names

- if clip has no name, display "Section: <section num>"

- if clip has a name, display "<section num>: <clip name>"

* copy clip names when duplicating clips

- append a number to the clip name if necessary to avoid duplicates
  on the same output; if the name already ends with a number, the
  existing number is incremented instead

Revert "add section number to clip names, copy clip names along with clips (SynthstromAudible#3195)"

This reverts commit 81d3ca8.
seangoodvibes pushed a commit to seangoodvibes/DelugeFirmware that referenced this pull request Jan 16, 2026
refactor rename-uis, allow naming CV clips as well (SynthstromAudible#3183)

* refactor rename-uis, allow naming CV clips as well

- allow deleting names (by replacing them with empty) for all but
  drums

- consolidate shared code in RenameUI class: subclasses implement
  only a couple of methods to specialize their behaviour

- ad-hoc dispatch in sound_editor.cpp replaced with normal shortcut
  machinery

- shrinks the binary by just a hair, but *shrinks*, not grows!

* fix initialization of RenameUIs

---------

Co-authored-by: Sapphire Koser <srkoser+GitHub@gmail.com>

Fix rename-UIs PR (SynthstromAudible#3218)

* Revert "refactor rename-uis, allow naming CV clips as well (SynthstromAudible#3183)"

This reverts commit 0d55ca5.

* Bugfix for rename-UIs PR

add section number to clip names, copy clip names along with clips (SynthstromAudible#3195)

* use section numbers with clip names

- if clip has no name, display "Section: <section num>"

- if clip has a name, display "<section num>: <clip name>"

* copy clip names when duplicating clips

- append a number to the clip name if necessary to avoid duplicates
  on the same output; if the name already ends with a number, the
  existing number is incremented instead

Co-Authored-By: Nikodemus Siivola <nikodemus@random-state.net>
Co-Authored-By: Katherine Whitlock <122173759+stellar-aria@users.noreply.github.com>
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.

2 participants