Commit Graph

103 Commits

Author SHA1 Message Date
rob gay
ade25fa5d3 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
#ROBOMERGE-BOT: (v836-16769935)

[CL 16775845 by rob gay in ue5-main branch]
2021-06-24 13:29:50 -04:00
phil popp
4c942021ae Creating metasound archetype registry and upgrade path
#rb Rob.Gay


#ROBOMERGE-SOURCE: CL 16766481
#ROBOMERGE-BOT: (v835-16672529)

[CL 16766487 by phil popp in ue5-main branch]
2021-06-23 20:07:53 -04:00
ben zeigler
4a7692cc89 Fix compile error on older MSVC that can't handle defaulting class functions inside templates, no functional change
#rb phil.popp

[CL 16751058 by ben zeigler in ue5-main branch]
2021-06-22 18:58:13 -04:00
rob gay
4971cd6678 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
#ROBOMERGE-BOT: (v835-16672529)

[CL 16689237 by rob gay in ue5-main branch]
2021-06-16 11:20:44 -04:00
phil popp
23b0cd8280 Fixing MetaSound use of FNodeClassInfo and FNodeRegsitryKey
#rb Rob.Gay
#preflight 60c7b1c5f7cffb0001188650


#ROBOMERGE-SOURCE: CL 16664021
#ROBOMERGE-BOT: (v834-16658389)

[CL 16664038 by phil popp in ue5-main branch]
2021-06-14 16:45:51 -04:00
phil popp
5e61f819c5 CIS fix for unintended recursive function call when GetTypeHash(int32) not visible to translation unit.
#rb none
#rnx
#preflight 60c208919e139d000103abca


#ROBOMERGE-SOURCE: CL 16622715
#ROBOMERGE-BOT: (v830-16605563)

[CL 16622728 by phil popp in ue5-main branch]
2021-06-10 10:02:57 -04:00
phil popp
dc31cc664a Adding dedup logic for subgraph node registration
#rb Rob.Gay
#preflight 60c122be44f42400015599c9


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

[CL 16614296 by phil popp in ue5-main branch]
2021-06-09 18:17:31 -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
1d95cce772 Fix for unserialized MetaSound version info reporting default value, which is higher version than actual version, causing document transform code to not execute for existing assets.
#rb trivial
#jira UE-117527
[FYI] mike.beach
[FYI] sondra.moyls


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

[CL 16583205 by rob gay in ue5-main branch]
2021-06-07 23:58:26 -04:00
rob gay
66786d5466 - Up default MetaSound Document Version to avoid running Version Transform on new Doc
- Add field for setting graph as editable (to be used for presets)
#jira none
#rb trivial
#preflight 60b7c7688e7ee10001cc79f6

#ROBOMERGE-SOURCE: CL 16538158 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v828-16531559)

[CL 16538194 by rob gay in ue5-main branch]
2021-06-02 15:41:32 -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
d71686bbee Add ability to incrementally update frontend queries.
#jira UEAU-792
#rb Rob.Gay
#preflight 60afc6b7493080000171898d

#ROBOMERGE-SOURCE: CL 16489196 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v823-16466674)

[CL 16489254 by phil popp in ue5-main branch]
2021-05-27 14:45:41 -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
7a7793e767 Deprecate more AlignedFloatBuffer callsites and use FAlignedFloatBuffer
#rb trivial
#rnx
#preflight 60918ea390631e0001d41516

[CL 16198391 by Rob Gay in ue5-main branch]
2021-05-04 16:05:46 -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
maxwell hayes
033598badf Metasounds: GetWaveDuration node
#rb Aaron.McLeran
#lockdown nick.whiting
#jira UEAU-751
#preflight 606f2b9cee9b4c0001b81399

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

[CL 15975813 by maxwell hayes in ue5-main branch]
2021-04-12 03:48:54 -04:00
phil popp
5559fd6b97 Reseting send/receive nodes when nothing is hooked up.
#jira UE-111611
#rb rob.gay
#preflight 606dfec368f5bc000140eec0
#lockdown Nick.Whiting

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

[CL 15950053 by phil popp in ue5-main branch]
2021-04-07 22:12:28 -04:00
maxwell hayes
07eede3fcd MetaSounds: have Random Get (Array) handle array being empty on init more gracefully, and making Midi to scale node initailize its array in its constructor
#jira UE-112879
#rb Aaron.McLeran
#lockdown Nick.Whiting
#preflight 606d503868f5bc0001d247f5

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

[CL 15938494 by maxwell hayes in ue5-main branch]
2021-04-07 03:05:51 -04:00
phil popp
4f3b457c6e Removing more unwanted types and hiding blacklist of input types
#lockdown Nick.Whiting
#jira UE-112303
#rb Rob.Gay
#preflight 606cf9f30ecb2c0001e42a7c

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

[CL 15937071 by phil popp in ue5-main branch]
2021-04-06 21:02:21 -04:00
rob gay
a5adaf2847 - Fix triggered inputs firing on initialization in subsequent SoundGenerator instances
- Caused by leak in Transmission System's Global DataChannels, wherein AudioComponents were not removing instance data, which caused new sounds played from that Component taking on last value set from prior instance.
    - Remove custom input preview Sender logic in MetasoundEditor to avoid managing multiple senders (can just use the one housed on the preview AudioComponent).
#lockdown nick.whiting
#jira UE-111897
#rb phil.popp
#preflight 606bea71d5cb3c000197c7ac

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

[CL 15927516 by rob gay in ue5-main branch]
2021-04-06 01:41:29 -04:00
phil popp
8cab75d4da Hide and disable unneeded types and nodes
- Added enable structs for arrays, auto conversions, send/receive to opt-out when desired.
- Lots of header include fixes to get build working.
- Comment out "int64" and "double" registered data types
#jira UE-112303
#rb Jimmy.Smith
#preflight 606b9c22458ce6000159e16c
#lockdown Nick.Whiting

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

[CL 15925330 by phil popp in ue5-main branch]
2021-04-05 20:22:19 -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
3e6e0e2423 - Fix ensures caused by nullptr passed to WaveAsset proxy. Nodes should handle case where proxy is null accordingly
- Only allow exact type matches for now for object proxies (So WaveAsset proxies cannot be hooked up to child classes of SoundWaves for EA).  Will revisit architecture post EA (add ability to filter types, etc.)
#rb trivial
[FYI] maxwell.hayes
[FYI] aaron.mcleran
#jira UE-112318

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

[CL 15907198 by rob gay in ue5-main branch]
2021-04-02 20:17:52 -04:00