Skip to content

Upload samples to tracks in the active pattern (Digitakt only)#205

Merged
dagargo merged 20 commits into
masterfrom
feat-digitakt-upload-to-track
Feb 6, 2026
Merged

Upload samples to tracks in the active pattern (Digitakt only)#205
dagargo merged 20 commits into
masterfrom
feat-digitakt-upload-to-track

Conversation

@dagargo
Copy link
Copy Markdown
Owner

@dagargo dagargo commented Feb 6, 2026

The work on this feature has been commented in #136.

This seems like a very old bug that happens when trying to download
factory samples. The bug was caused by a bad check over the result of
the open-for-reading operation.

This was affecting downloading samples from RAM too as the sample is
actually downloaded from the +Drive using the `sample` filesystem.
Empty slots were not detected as such and thus returning a ENOMEM.

The issue was introduced in 2eb3265
because the way to detect empty slots changed. Now, an empty slot is
reported as having a size of -1, which not only is the standard way
but it also indicates that the size empty in the GUI and CLI.
All the operations included here
* should not provide any synchronization method to access the sample and
* must support data in both s16 and f32 formats.
It works as the track filesystem but, if the sample has the tempo set,
it will timestretch it to match the current pattern tempo.
Tempo can be set at pattern or globally. Both values are retrieved.
@dagargo dagargo added this to the 3.3 milestone Feb 6, 2026
@dagargo dagargo self-assigned this Feb 6, 2026
@dagargo dagargo changed the title Feat digitakt upload to track Upload samples to tracks in the active pattern (Digitakt only) Feb 6, 2026
@dagargo dagargo merged commit 3f9d452 into master Feb 6, 2026
1 check passed
@dagargo dagargo deleted the feat-digitakt-upload-to-track branch February 6, 2026 22:55
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