Trying to build an per harmonic partial ADSR envelope...

2»

Comments

  • Studiowaves
    Studiowaves Member Posts: 734 Pro
  • Michael O'Hagan
    Michael O'Hagan Member Posts: 115 Helper

    Yeah, it gets complicated with that A,H,D,S,R envelope kit, because it indexes 6 points of data for each stage of the envelope a standard A,D,S,R would have 24 index points for a single envelope.

    Having this index through a second series internally for 512 partials would make for 12288 index points of data.

    That's telling the envelope to use 0-23 for partial 1 data, and then 24-47 for partial 2 and so on.

    I've messed around with it quite a bit, but the main problem is that there are so many locations inside of the envelope stages where it addresses different index values that trying to scale it all out to step through groups of 24 is incredibly difficult.

    I've tried organizing the index in multiple different locations and none of them have worked.

  • Studiowaves
    Studiowaves Member Posts: 734 Pro

    Maybe try to scale the e'g' up so it works with integers only instead of fractions. It might make the indexing more straight forward.

  • Michael O'Hagan
    Michael O'Hagan Member Posts: 115 Helper

    The gate value isn't really the issue, It's one of those things that's kinda hard to verbalize in text, but the gate indexing isn't really the problem.

    I'll try and work up an example of the issue later.

  • Studiowaves
    Studiowaves Member Posts: 734 Pro

    My guess, if everything looks right and the logic is correct then your not passing events like you think you are. Have you checked down stream to see where it stops working?

Back To Top