8000 SamplePool adapter by democloid · Pull Request #544 · xiphonics/picoTracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SamplePool adapter #544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 12, 2025
Merged

SamplePool adapter #544

merged 3 commits into from
May 12, 2025

Conversation

democloid
Copy link
Collaborator

Move sample pool load method into specific platform implementation. Tweaked methods a bit, doesn't seem to require the wait hack, but not sure where did this manifest.

@democloid democloid requested a review from maks May 11, 2025 12:44
@democloid
Copy link
Collaborator Author

Partially solves #547

@maks
Copy link
Collaborator
maks commented May 11, 2025

Sample import seems to be broken:

  1. create new project
  2. name it
  3. create new sampler instrument, go and import sample
  4. go back to instrument screen, see: sample: NONE

Copy link
Collaborator
@maks maks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! I tested this with a wide variety of sample sizes and couldn't get it to hang/crash as happened when previously I removed the timing workaround so I think this reorg of code is avoiding that issue. 👍🏻

I had a few naming/types nitpicks but they can be cleaned up later

@maks
Copy link
Collaborator
maks commented May 12, 2025

@democloid one not so good consequence of these changes is it stops the flash loading from #534 from working so now we get a long pause for big samples after they get to 100% (of the file copying part of the import) until the flashing completes. Not sure why this is happening, is something different now about how the core lockouts work?

@democloid
Copy link
Collaborator Author

@democloid one not so good consequence of these changes is it stops the flash loading from #534 from working so now we get a long pause for big samples after they get to 100% (of the file copying part of the import) until the flashing completes. Not sure why this is happening, is something different now about how the core lockouts work?

We are not entirely sure why this worked in the first place, as I said before we wanted to implement this, it shouldn't have worked. The fact that it did may indicate some issue with the lockout or interrupt disable which was not working and thus interrupts still working in some core and rendering this.

I'll land this as is and we can discuss later how to solve the issue, since at the end of the day, we want things working as expected.

@democloid democloid merged commit 054f9bf into master May 12, 2025
3 checks passed
@democloid democloid deleted the adapter-sample-pool branch May 12, 2025 12:53
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
0