Skip to content
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

Improve ADM import support from 3rd party tools #259

Merged
merged 99 commits into from
Feb 29, 2024

Conversation

firthm01
Copy link
Contributor

Need to be able to support supplementary packformats within the software for DS layouts.

  • Factor out the remaining code which uses the fixed speaker layout list and references them by index
    • Use a PF ID thoughout to improve robustness and maintainability
    • Can use the common definition helper class to provide the info required to replace this. Follow a similar workflow as the HOA plugin. This doesn't have fixed options - it uses the common definition helper to query available HOA configs. Use a similar process to work out supported speaker layouts
  • Turn the common definition helper in to a more generic "preset definitions" helper which supports the common definitions as well as any other supplementary definitions we want to stick in there
    • Figure out and add the necessary PF/CF definitions to support import of ADM from third-party tools
  • Update import code - currently it will only look for packformats by their ID. Third-party tools don't use consistent IDs for custom PFs - need to match by contained CFs instead
  • Update export code - currently it expects all non-Obj types to use common defs. This means it cuts out a whole load of ADM authoring work (I.e, from PF down). All that will need implementing for non-common-def DS audioobjects

@firthm01 firthm01 changed the base branch from main to fix257-monitoring-shared-inputs-main November 11, 2023 20:55
@firthm01 firthm01 self-assigned this Nov 13, 2023
@firthm01 firthm01 force-pushed the fix257-monitoring-shared-inputs-main branch from fc1905f to b38444b Compare December 12, 2023 17:43
@firthm01
Copy link
Contributor Author

firthm01 commented Dec 12, 2023

Force push was for rebase (CI fixes on base branch)

Base automatically changed from fix257-monitoring-shared-inputs-main to main December 14, 2023 11:34
Working towards removing the horrible hard-coded speaker setups and using indexes to refer to them
Just for consistency with what we will do for DS - we don't need a separate instance, just the singleton
WIP - will not compile at this stage
WIP - will not compile at this stage

Uses a pack format ID between the DS plugin and the scene (similar to how HOA handles it)
…out index

WIP - will not compile at this stage
... instead of speaker layout obj

WIP - will not compile at this stage
WIP - will not compile at this stage
WIP - will compile, but tests failing
bug was type def "1" being used for both DS and HOA
Also avoids calling getPrevSpk/getNextSpk twice each on each call to processSpeaker
@firthm01 firthm01 merged commit 5567fd2 into main Feb 29, 2024
6 checks passed
@firthm01 firthm01 deleted the supplementary-definitions branch February 29, 2024 14:59
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