Parameter Lock Sample Assignment is not copied #5

Closed
opened 2025-07-28 22:58:06 +02:00 by glenpike · 7 comments
glenpike commented 2025-07-28 22:58:06 +02:00 (Migrated from github.com)

Firstly, thank you so much for making this tool, it has really helped me with managing projects and combining them to make a 'set', etc.

Doing this I found a couple of niggly bugs that made it a bit awkward, but not insurmountable.

TL;DR - it doesn't select the samples assigned for Parameter Locks (P-Locks) correctly when importing and if you combine two projects with P-Locks, the sample numbering for the trigs with locks points at the wrong place (original sample slot).

As an example, there are 3 projects in the attached archive.
Digitakt_Exports.zip

The first 2 are created on the Digitakt:

  1. Copy_Locks_Bug.syx - contains a simple drum beat with the factory kit on Bank 1, Pattern 1, Track 1 with Sample 1 as the default assignment. Trigs 5 & 13 are P-Lock'd to Sample 2 and Trig 15 to Sample 7. (I reassigned the default samples for Tracks 2-8 to Sample 9-15 to 'move' these samples out of the way and cleared all but the used 3 samples out of Ram)

  2. Sample_Num Bug.syx - contains a simple riff with a factory sound on Bank 1, Pattern 1, Track 1, with Sample 1 containing the default for the track - 'Acidic' synth sound - and then Trig 15 is assigned to another sound (Sample 2 'Frog')

  3. Combined_Projects.syx - a new project with the sample Ram cleared, then I imported the above 2 projects assigning 1 to Bank 1 and 2 to Bank 2. If you play Bank 2, Pattern 1, you will notice Trig 15 on Track 1 points to Sample 2 (it should point to Sample 17 - 'Frog')

Method:

Create a project, create a pattern on one or more tracks using P-Locks for some of the Trigs
Fetch the project in Elk Herd and save it to computer.

Image

Repeat.

Image

Create an empty project on the Digitakt and clear the Ram (to make it easier to see what's going on. Personally, I imported on top of another project I had fetched when I discovered the bug.
Fetch the empty project.
Import one of your projects from disk - NOTE: the samples assigned to P-Lock'd Trigs are not selected by default - select them!

Image

Import another project from disk - NOTE it puts the 2nd project's samples at the next available slots in the pool.
Put the 2nd project in Bank 2

Image

Send the project to the Digitakt.
Play the second bank - NOTE that when it plays the P-Lock'd Trigs, the sound will be from the originally assigned slot in the old project, it won't point at the new one.

Workaround:
Combine all your projects and send to the Digitakt.
Go to the first bank which has P-Locks that don't point to the correct sound.
Open the project file in Elk-Herd to see the sample pool and use as a guide to select the sample based on the old numbering / offset from the default P-Lock.
(Hard work, but this only happened on tracks where I was layering lots of different drum sounds to save space for all my other samples)

Firstly, thank you so much for making this tool, it _has really helped_ me with managing projects and combining them to make a 'set', etc. Doing this I found a couple of niggly bugs that made it a bit awkward, but not insurmountable. TL;DR - it doesn't select the samples assigned for Parameter Locks (P-Locks) correctly when importing and if you combine two projects with P-Locks, the sample numbering for the trigs with locks points at the wrong place (original sample slot). As an example, there are 3 projects in the attached archive. [Digitakt_Exports.zip](https://github.com/user-attachments/files/21476992/Digitakt_Exports.zip) The first 2 are created on the Digitakt: 1. Copy_Locks_Bug.syx - contains a simple drum beat with the factory kit on Bank 1, Pattern 1, Track 1 with Sample 1 as the default assignment. Trigs 5 & 13 are P-Lock'd to Sample 2 and Trig 15 to Sample 7. (I reassigned the default samples for Tracks 2-8 to Sample 9-15 to 'move' these samples out of the way and cleared all but the used 3 samples out of Ram) 2. Sample_Num Bug.syx - contains a simple riff with a factory sound on Bank 1, Pattern 1, Track 1, with Sample 1 containing the default for the track - 'Acidic' synth sound - and then Trig 15 is assigned to another sound (Sample 2 'Frog') 3. Combined_Projects.syx - a new project with the sample Ram cleared, then I imported the above 2 projects assigning 1 to Bank 1 and 2 to Bank 2. If you play Bank 2, Pattern 1, you will notice Trig 15 on Track 1 points to Sample 2 (it should point to Sample 17 - 'Frog') Method: Create a project, create a pattern on one or more tracks using P-Locks for some of the Trigs Fetch the project in Elk Herd and save it to computer. <img width="1142" height="717" alt="Image" src="https://github.com/user-attachments/assets/dce5fff1-c476-4990-ab2b-de3ef4048d9e" /> Repeat. <img width="1136" height="688" alt="Image" src="https://github.com/user-attachments/assets/ad041ecd-8620-43c5-8c0b-37e1cd139b35" /> Create an empty project on the Digitakt and clear the Ram (to make it easier to see what's going on. Personally, I imported on top of another project I had fetched when I discovered the bug. Fetch the empty project. Import one of your projects from disk - NOTE: the samples assigned to P-Lock'd Trigs are not selected by default - select them! <img width="1146" height="750" alt="Image" src="https://github.com/user-attachments/assets/40374f39-616b-4c4a-b7c4-047b087fb69f" /> Import another project from disk - NOTE it puts the 2nd project's samples at the next available slots in the pool. Put the 2nd project in Bank 2 <img width="1154" height="728" alt="Image" src="https://github.com/user-attachments/assets/9c5baefc-c9bc-4d50-8c4f-737ee0e58c70" /> Send the project to the Digitakt. Play the second bank - NOTE that when it plays the P-Lock'd Trigs, the sound will be from the originally assigned slot in the old project, it won't point at the new one. Workaround: Combine all your projects and send to the Digitakt. Go to the first bank which has P-Locks that don't point to the correct sound. Open the project file in Elk-Herd to see the sample pool and use as a guide to select the sample based on the old numbering / offset from the default P-Lock. (Hard work, but this only happened on tracks where I was layering lots of different drum sounds to save space for all my other samples)
mzero commented 2025-07-31 18:52:13 +02:00 (Migrated from github.com)

I've found the bug! I'll be pushing a fix today or tomorrow.

I've found the bug! I'll be pushing a fix today or tomorrow.
mzero commented 2025-08-01 01:51:42 +02:00 (Migrated from github.com)

I've pushed the fix as a beta:

https://electric.kitchen/crunch/elk-herd/beta/

I've pushed the fix as a beta: https://electric.kitchen/crunch/elk-herd/beta/
glenpike commented 2025-08-01 12:57:02 +02:00 (Migrated from github.com)

I've pushed the fix as a beta:

https://electric.kitchen/crunch/elk-herd/beta/

Amazing!! I will try to test over this weekend :)

> I've pushed the fix as a beta: > > https://electric.kitchen/crunch/elk-herd/beta/ Amazing!! I will try to test over this weekend :)
glenpike commented 2025-08-01 23:39:46 +02:00 (Migrated from github.com)

Yay, dude, I think you fixed it!!

I tested with those 2 projects and imported them again into a new project and everything was intakt 😁

I also tried with one of my more complicated projects - loaded it up, extracted it from a set and imported it into a new project with all the locks / sample numbers nicely there too!

Thanks so much for this, it's going to be really helpful for moving my sets and projects around!

Yay, dude, I think you fixed it!! I tested with those 2 projects and imported them again into a new project and everything was intakt 😁 I also tried with one of my more complicated projects - loaded it up, extracted it from a set and imported it into a new project with all the locks / sample numbers nicely there too! Thanks so much for this, it's going to be really helpful for moving my sets and projects around!
mzero commented 2025-08-01 23:41:31 +02:00 (Migrated from github.com)

Wonderful - I'll mark this bug fixed once I've moved this to release.

Wonderful - I'll mark this bug fixed once I've moved this to release.
glenpike commented 2025-08-01 23:43:00 +02:00 (Migrated from github.com)

Nice. Sent you a beer!

Nice. Sent you a beer!
mzero commented 2025-08-04 20:44:06 +02:00 (Migrated from github.com)

closed in v3.3.4

closed in v3.3.4
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mark/elk-herd#5
No description provided.