atk-reaper icon indicating copy to clipboard operation
atk-reaper copied to clipboard

Matrix loading

Open joslloand opened this issue 8 years ago • 2 comments

Migrate fixed encoding / decoding matrices to use atk-matrices.

This will facilitate the use of matrices generated by external tools, i.e., ADT.

joslloand avatar May 26 '16 18:05 joslloand

The mechanism for this is now implemented, and is used for the AmbiX encoders and decoders.

The next step will be to identify what other encoders and decoders should be refactored for this.

lossius avatar Jun 24 '16 11:06 lossius

Thanks @lossius.

The idea is to replace all fixed matrices with this mechanism. That will include things like:

  • AtoB
  • BtoA
  • fixed matrix decoders, e.g., 5.0

There are some other implications. For atk-sc3, only one side of the AtoB conversion is stored as a matrix. The other direction is calculated by pinv(). (Project is possible, if the weight is at N3D.)

The plan would be to move all the matrices, including the weight options to fixed matrices that are just loaded based on the keys.

Doing so moves the math-y parts away from SC3's MathLib. The advantage is that we get synchronisation between deployed platforms, and keep the real math on our dev platform. Which, can be thought of as an advantage.

Yeah, so I need to go through and make a list (as I'll be generating the matrices) of everything that should be done....

joslloand avatar Jun 24 '16 17:06 joslloand