Commit Graph

51 Commits

Author SHA1 Message Date
rob gay
f36f26d246 Fix misreporting MetaSound validation errors when cooking. Cooking should only report validation errors if there are any remaining after registering/auto-updating.
#preflight 612e7735423a8f0001722bca
#rb aaron.mcleran

#ROBOMERGE-SOURCE: CL 17376499 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17376506 by rob gay in ue5-release-engine-test branch]
2021-08-31 16:07:45 -04:00
rob gay
1328563c0e - Add ability to send MetaSound object parameter types that are not SoundWaves
- Cache Audio Parameters on AudioComponent properly so they can be modified prior to playback.
- Migrate AudioComponentParameterization to SoundGeneratorParameterInterface
- AudioComponent now inherits from SoundGeneratorParameterInterface
- Unify code path with default transmitter implemented in SoundBase for legacy SoundCue parameter system

Other Minor updates:
- Rename to "Audio Instance" to "Audio Parameter" for clarity

#rb phil.popp
#jira UE-123951
#jira UE-123979
#preflight 612d0053423a8f00012ba195

#ROBOMERGE-SOURCE: CL 17355572 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17355596 by rob gay in ue5-release-engine-test branch]
2021-08-30 14:08:45 -04:00
phil popp
68c5594b34 Allow async metasound generator building W/O deadlocks
#rb Rob.Gay
#preflight 6123b0decc11eb000183c9aa

#ROBOMERGE-SOURCE: CL 17267462 via CL 17273282
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v858-17259218)

[CL 17274343 by phil popp in ue5-release-engine-test branch]
2021-08-23 15:24:06 -04:00
rob gay
caee8a5785 Move MetaSound Registration Off of App Load
- Fix object picker getting into invalid state when using browsed object/clear not working
- Fix presets being pitched down an octave when set to stereo due to impromper mono down-mixing
- Fix for drag/drop not omitting assets that would cause reference loops
- Minor fix for marking referenced assets as dirtied if parent autoupdate call trickles down request
#rb phil.popp ryan.mangin
#jira UE-116885
#jira UE-120728
#preflight 611d53515e73720001ddbd66

#ROBOMERGE-SOURCE: CL 17220293 via CL 17220302
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17220310 by rob gay in ue5-release-engine-test branch]
2021-08-18 15:16:57 -04:00
phil popp
158904adf9 Adding cpuprofile tracing to Metadsound and Audio Mixer
#rb Aaron.McLeran, Rob.Gay
#preflight 61141ad90ccb840001f234d0

#ROBOMERGE-SOURCE: CL 17140720 via CL 17140728
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17140743 by phil popp in ue5-release-engine-test branch]
2021-08-11 15:22:01 -04:00
rob gay
9f29479f29 Asset Category Hierarchy Support & General Clean-Up
Fixes & Minor refactor of validation/autoupdate to support native node classes properly post composition/preset support changes
#rb phil.popp
[FYI] sondra.moyls
#preflight 611162780182eb0001daa982

#ROBOMERGE-SOURCE: CL 17106014 via CL 17106199
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v854-17104634)

[CL 17106241 by rob gay in ue5-release-engine-test branch]
2021-08-09 15:13:40 -04:00
rob gay
31cefe70bb Disable enforced VirtualizationMode for MetaSounds of 'PlayWhenSilent'
#rb aaron.mcleran
#preflight 6102cc7b4cd7930001ba9ac5

#ROBOMERGE-SOURCE: CL 16996892 via CL 16996902
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16996907 by rob gay in ue5-release-engine-test branch]
2021-07-29 12:30:41 -04:00
phil popp
e03e3478e4 Remove dependency on metasound search engine for injecting BP API
- Added MetasoundFrontendInjectReceiveNodes.h/cpp which removes dependency on FMetasoundAssetBase::CopyDocumentAndInjectReceiveNodes.
- Significant speed improvments on MetaSound "Play Sound"
#jira UE-116999
#rb Rob.Gay
#preflight 6101af05431c780001597ec0

#ROBOMERGE-SOURCE: CL 16986573 via CL 16987603
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16987703 by phil popp in ue5-release-engine-test branch]
2021-07-28 17:12:57 -04:00
rob gay
82f1b8965b - Fix for asset class names/guids rebuilding for all MetaSounds on editor start-up
- Now, only refreshing asset class name/guid when duplicating object
#rb phil.popp
[FYI] sondra.moyls
#preflight 61018ecd4cd793000192f5a5

#ROBOMERGE-SOURCE: CL 16985253 via CL 16986694
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16986769 by rob gay in ue5-release-engine-test branch]
2021-07-28 16:21:39 -04:00
rob gay
ab8b6faad9 First pass on MetaSound Composition/Preset Support
- Stubbed in logic & assets for MetaSound Editor UX node type differentiation
#rb phil.popp
#preflight 60ff8c19d8303000018f29fb

#ROBOMERGE-SOURCE: CL 16969987 via CL 16972219
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16972392 by rob gay in ue5-release-engine-test branch]
2021-07-27 15:36:03 -04:00
rob gay
74a3ec3f1d Fix for ensure when attempting to mark package dirty when building generator/updating via AssetSubsystem
[FYI] phil.popp
#jira UE-118903
#rb trivial
#lockdown jeff.farris

#ROBOMERGE-SOURCE: CL 16775810 via CL 16775845
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16775861 by rob gay in ue5-release-engine-test branch]
2021-06-24 13:30:24 -04:00
phil popp
9d97f55050 Creating metasound archetype registry and upgrade path
#rb Rob.Gay

#ROBOMERGE-SOURCE: CL 16766481 via CL 16766487
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16766497 by phil popp in ue5-release-engine-test branch]
2021-06-23 20:08:21 -04:00
rob gay
7fe604fb2e UX Scaffolding for MetaSound Composition/Presets Part 2
- Leverage AssetRegistry/Manager to only load data on MetaSounds required to register (disabled until frontend registry supports this)
- Drag-And-Drop assets on MetaSound Graph
- Move ConvertToPreset to toolbar (WIP, still need to properly hide when clicked instead of closing editor blindly, has issue with refresh)

#rb phil.popp
#preflight 60c9a0a83e1b3c0001335ee7

#ROBOMERGE-SOURCE: CL 16689213 via CL 16689237
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16689251 by rob gay in ue5-release-engine-test branch]
2021-06-16 11:21:13 -04:00
rob gay
03bf315bff Disable MetaSound Graph Registration for now
#rb trivial
[FYI] phil.popp


#ROBOMERGE-SOURCE: CL 16587324
#ROBOMERGE-BOT: (v828-16531559)

[CL 16587339 by rob gay in ue5-main branch]
2021-06-08 10:57:27 -04:00
rob gay
0e4f7a7c51 MetaSound UI/UX Composition/Preset Scaffolding
- Revive UMetaSound Asset type
- Revive MS Output generation
- Fix copy pasta'ed type name so MetaSound Source shows up properly in editor
- Clean-up to dynamic doc version reporting if required (show the new version number in log)
- Add versioning to update the RootGraphClass name & add DisplayName

MetaSound Registry Scaffolding Part 1 (From Phil Popp)

#rb phil.popp
#jira UE-117108
#jira UE-117109
#jira UE-117110
#preflight 60bf11780c76f90001db5f5f


#ROBOMERGE-SOURCE: CL 16587155
#ROBOMERGE-BOT: (v828-16531559)

[CL 16587204 by rob gay in ue5-main branch]
2021-06-08 10:52:31 -04:00
rob gay
243f360c91 Execute versioning when attempting to build ISoundGenerator from MetaSoundSource in case asset hasn't been versioned & resaved.
#rb trivial
#jira none
[FYI] Phil.Popp

#ROBOMERGE-SOURCE: CL 16503317 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v826-16501804)

[CL 16503321 by rob gay in ue5-main branch]
2021-05-28 16:17:48 -04:00
rob gay
e26ac0345b - Migrate MetaSound InputLiterals to DefaultLiterals housed on FrontendNodes
- Add FrontendGraphBuilder support for generating VariableNodes for DefaultLiterals if no connection is provided on External/Output nodes
- Move node names to be guids (they're never seen by the user and this will be easier to migrate later)
- Fix DisplayName logic to be unique against one another SEPARATELY from node name logic
- Fix for MetaSounds not compiling if trigger outputs do not have input connected
- MetaSound Document Transform Support
- Fix for for MetaSound Generators not stopping source if failed to create generator due to build errors
#rb phil.popp
#jira UE-112951
#jira UE-116172
#jira UE-116174
#jira UE-116176
#jira UE-116178
#preflight 60b11e7b7e4e6a0001b81c21
#preflight 60b1292d072a1d000164b470

#ROBOMERGE-SOURCE: CL 16502735 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v826-16501804)

[CL 16502750 by rob gay in ue5-main branch]
2021-05-28 14:09:45 -04:00
phil popp
ab25da7ed8 MetaSound Graph Core Subgraph
#rb Rob.Gay
#jira UEAU-780
[FYI] Dan.Reynolds
#preflight 60a6af8629bb870001c7b53e

#ROBOMERGE-SOURCE: CL 16408345 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v804-16311228)

[CL 16412437 by phil popp in ue5-main branch]
2021-05-20 19:33:21 -04:00
phil popp
841cfbdd3e Cleanup TAccessPtr
- Moved TAccessPtr<> member accessors to their own implementation file.
- Implemented specific derived classes for TAccessPtr<> to metasound frontend document sturctures.
- Fixed broken unit test
#jira UEAU-780
#rb Rob.Gay
#preflight 6099b8030ab4b200016c89f7

[CL 16259814 by phil popp in ue5-main branch]
2021-05-10 19:52:56 -04:00
Rob Gay
e861882120 - Fix errors from cooking Editor-only content in MetaSounds by marking UMetasoundEditorGraphBase as IsEditorOnly() & !NeedsLoadForEditorGame()
- Make MetaSoundEdGraph transient (never serialized)
- Move FText::FromString calls to concrete FText definitions to avoid warnings while packaging
#rb phil.popp
#jira UE-114986
#preflight 609979f75b1a0b0001529285

[CL 16255509 by Rob Gay in ue5-main branch]
2021-05-10 16:56:43 -04:00
Rob Gay
12abad8cfb Metasound Class Validation & Versioning First Pass
#rb phil.popp
#jira UE-113416
#jira UE-113417
#jira UE-113419
#jira UEAU-781
#preflight 609065b7c4babe0001086600

[CL 16187219 by Rob Gay in ue5-main branch]
2021-05-03 17:52:04 -04:00
aaron mcleran
72060b54f1 Fixing array get node shared state playback issues
- Adding environment variable for if a sound is preview or not
- Clears the shared state on init if the sound is a preview sound

#jira UE-112453
#rb Rob.Gay
[FYI] Sondra.Moyls
#preflight 6068e1e27a9a3e00013d671f

#ROBOMERGE-SOURCE: CL 15910610 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15910611 by aaron mcleran in ue5-main branch]
2021-04-03 18:41:39 -04:00
rob gay
080ec409b3 More MetaSound UX Clean-up
- LogTemp & LogMetasound to LogMetaSound
- Hide Import/Export UI options (to/from Json) for EA from editor as its halfbaked
- Reorder node right-click context menu entries to follow suit with BP
- Add new dedicated metasound icon
#rb trivial
#jira none
#preflight 6066b882e0e94d0001afa196

#ROBOMERGE-SOURCE: CL 15899641 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15899642 by rob gay in ue5-main branch]
2021-04-02 03:03:27 -04:00
rob gay
adb961b654 Rename Metasound to MetaSound (PascalCase) in all places in UX. (Code-side to be cleaned up post EA)
#rb trivial
#jira nojira
#preflight 6066ab3dc5a3a100016fc8a0

#ROBOMERGE-SOURCE: CL 15899490 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15899491 by rob gay in ue5-main branch]
2021-04-02 02:09:50 -04:00
phil popp
d4af456a9c Metasound Frontend Perf Tuneup
- Added frontend search engine to cache frontend queries
- Allowing frontend queries to be updated in place.
- Tracking node registration transactions to allow incremental runtime checks of newly registered nodes.
- Create public RegistryContainer interface and hide implementation to allow for further optimizations without changing public headers
#jira UEAU-749
#rb Max.Hayes, Jimmy.Smith
#preflight 606399a6e05c4e0001a0d173

#ROBOMERGE-SOURCE: CL 15868737 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15868744 by phil popp in ue5-main branch]
2021-03-30 18:22:10 -04:00