Code Monkey home page Code Monkey logo

Comments (10)

mzero avatar mzero commented on September 26, 2024

beta 2 is no longer up, but I'll put up a version later today.

Can you send me the original project file?

from elk-herd-project.

mzero avatar mzero commented on September 26, 2024

BTW, I notice in the original image that you have four patterns, but they are all "phantoms" - meaning that they have no trigs, but seem (according to elk-herd) to have tracks using non-default samples. Is that how you had your project set up?

from elk-herd-project.

flux-us avatar flux-us commented on September 26, 2024

Hi mzero,

No the project has 4 patterns, plus one phantom pattern which I used to copy/paste a pattern, but then cleared, but it still shows up (pattern 8). All 4 patterns have trigs on all 8 tracks and each pattern uses 6 samples, which some are definitely from the sound pool. I'll paste a screen shot again showing the selected first pattern:

Annotation 2019-11-05 181046

Also the saved project file is here:

Call to Prayer.zip

Sorry it was actually the v3.0 Beta 2 I wondered if you could put back up as I am sure that worked correctly.

If there is anything else I can do to help debug this let me know, as it isn't working for me at the moment, but it used to :-)

Many thanks,
regards
Andrew

from elk-herd-project.

mzero avatar mzero commented on September 26, 2024

First - the unused sounds issue:

The sounds in slots 80 to 127 are all in use in the project:

  • patterns A01 through A04 use sample slots 82, 116, and 125
  • pattern A4 additionally ues sample slot 89
  • the sound pool has sounds that make use of each of these sample slots

If you only want the samples used by patterns to remain - you'll need to delete the sound pool items you don't want first.

If you select sample slot 80, then shift click on sample slot 127 to select them all, you'll see that most of the sound pool items highlighted as being related.

elk-herd works this way because I didn't want it to inadvertently delete sound pool items.

from elk-herd-project.

mzero avatar mzero commented on September 26, 2024

Second - untitled phantoms:

I can reproduce this issue - and it reproduces back with beta 1, so it's been there awhile. I think the problem is only in that the unused patterns are being marked as phantoms, and so you wouldn't have seen this during alpha, when there was no phantom support.

Some quick questions:

  1. In this compressed form of the project, the four patterns, and all the sound pool items look okay to me. Do they play correctly for you?
  2. Did you create a "blank" project, that had no sound pool items, and save that.... Then later use a copy of that to create this project?

I think I know what is going on...

On the Digitakt, blank patterns have tracks 1 through 8 set to sample pool slots 1 through 8. In this project, slots 1, and 3 through 8 are unused. When these are deleted, and then compressed.... Anything pointing to those slots is set to slot 0 (since the sample is no longer loaded in the project), and what was pointing at slot 2 is now at slot 1 (as it was moved down). This is as expected..... but it also happened for blank patterns, making them reference only slots 0 and 1.

Later, when you fetch those back - they no longer look like a blank pattern to elk-herd, because they don't have the default 1 ~ 8 assignment.

Proposed fix:

I think during shuffling (either due to compress, or drag-n-drop), empty patterns should not be "shuffled", and left to refer to slots 1 though 8, even though what those slots are may have changed.

from elk-herd-project.

mzero avatar mzero commented on September 26, 2024

Another possible additional fix:

Since anyone who has used elk-herd may well have projects that now have lots of Untitled phantoms due to this.... I'll change the phantom test:

A pattern is considered:

  • Live - if it has any trigs
  • Phantom - has no trigs, but has a non-default name, or has a non-default kit
  • Empty - otherwise (no trigs, default name, default kit)

"default kit" is either tracks 1 ~ 8 set to slots 1 ~ 8 in sequence (current Digitakt default projects), or all set to 0 (very early Digitakt projects did this).

Proposed change: "default kit" is tracks 1 ~ 8 only use slots 0 ~ 8, in any order.

This would mean people bitten by this issue with past versions of elk-herd would no longer see tons of untitled phantoms.... but it could consider someone's odd pattern with non-default sample assignments - and still called "untitled". I think that is a risk I'm willing to take! (People name their patterns, right.....? Oh wait, @flux-us didn't.... )

from elk-herd-project.

mzero avatar mzero commented on September 26, 2024

Lastly, you can "fix" the project by selecting all those Phantoms (click A05, shift-click H16). They'll get re-written with standard "empty" patterns.

from elk-herd-project.

flux-us avatar flux-us commented on September 26, 2024

Hi @mzero,

Brilliant, thanks for that. And yes I can kinda understand what is happening. This is an old project, and from now on I am naming my patterns, actually mainly because now I can see a reason to do that when using elk-herd :-)

This is what I think happened in creating this project.

Firstly I have a "blank" template project which has all the project settings I always want to use, but has no samples (I have removed the default kit from slot 1 - 8 as I do not want a default kit). This is my base project which I always open and then save as a new project. So I must have created this one, loaded all sounds from the global pool into the project pool and also filled up all the sample slots, mainly because I didn't know what I was doing :-) So I understand now why those samples that were not being used in a pattern could not be removed since they were being used by the sound pool. OK will not do that again. So this answers your question number 2 about a "blank" project, yes I did use a blank project, actually I always do.

I think your proposed fix would work in my situation.

I did follow your fixes and managed to get the project how I want it, and as know when I fetch it it still has all the untitled phantom patterns, I wasn't sure what you meant by "Lastly, you can "fix" the project by selecting all those Phantoms (click A05, shift-click H16). They'll get re-written with standard "empty" patterns." So I selected all the phantoms and deleted them (from elk-herd) and wrote that back to Digitakt. Now when I fetch the project it says:

Annotation 2019-11-06 190427

But the project seems fine at the Digi end, so I can live with that I think.

Many many thanks for debugging this, amazing work and certainly makes me feel much more comfortable with sample/project management, everything was getting a bit of a mess in the machine. I'll buy you another beer :-)

from elk-herd-project.

flux-us avatar flux-us commented on September 26, 2024

Hi Mark,

All good so far with the workarounds :-) Just one small request ... are you intending to add the ability to reorder/move tracks within a pattern?? That would be great. Thanks. regards, Andrew

from elk-herd-project.

mzero avatar mzero commented on September 26, 2024

At present - elk-herd has no functions "inside" a pattern - reordering tracks.... moving and copying tracks between patterns... copying kits... etc... would all be part of a pattern/kit editor, which at present I'm not planning.

from elk-herd-project.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.