Commit Graph

24 Commits

Author SHA1 Message Date
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
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
rob gay
ae25a599f0 Fix for EngineTest caused by changes to UMetaSound/Source/AssetBase.
#rb trivial
[FYI] phil.popp


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

[CL 16590499 by rob gay in ue5-main branch]
2021-06-08 14:48:17 -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
5a6f0d0780 Unfortunately, not serializing MetaSound EdGraph member on MetaSound assets is not quite ready for prime time. Reasons:
1. Bug in the synchronization location data
2. Need a representation of comment nodes in Frontend (or subset of editor only data that *is* serialized somehow)
3. Need a representation of how visual input nodes are connected (as there are multiple representations of them) so sync code properly hooks up
#rb trivial

[CL 16330330 by Rob Gay in ue5-main branch]
2021-05-14 11:31:26 -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
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
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
rob gay
d4b6669542 - Display General Sound properties in new inspector view in Metasound Editor
- Disallow deleting outputs from Metasound editor graph.
- Disallow adding outputs to Metasound editor graph (re-enable once reading outputs is required by composition)
#rb aaron.mcleran
#jira UEAU-771
#preflight 605b6864d88d2d0001b39d7c

#ROBOMERGE-SOURCE: CL 15804373 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15808143 by rob gay in ue5-main branch]
2021-03-24 16:42:25 -04:00
aaron mcleran
b9ab4e3c7e - Changing the method of implementation for the global shared array shuffle
- Implementing a random get array node which retrieves a random element from an array given a supplied weights array
- Pipe down new metasound environment variable for the USoundBase UniqueObjectID to use as a key for shared data across instances of a metasound

#rb
#jira
#preflight 604f94eb85422300012bbcea

#ROBOMERGE-SOURCE: CL 15698615 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15698625 by aaron mcleran in ue5-main branch]
2021-03-15 14:00:26 -04:00
rob gay
328f64f40b - Fix bug/crashes with undo desync after updating input literals from graph input node
- Fix minor bug with MS doc sync incorrectly marking package dirty
- Add MS sync when undo'ing transaction involving MS as a safeguard to ensure graph/document parity is preserved (and sync code is maintained)
- Make Metasound version history visible but not editable by end-user

#ROBOMERGE-SOURCE: CL 15577261 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15577265 by rob gay in ue5-main branch]
2021-03-02 21:39:09 -04:00
rob gay
a1f87ce451 Checkpoint: Metasound Node Inspector Panel & Array Support
#rb phil.popp
#jira UEAU-710

#ROBOMERGE-SOURCE: CL 15511803 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15511819 by rob gay in ue5-main branch]
2021-02-24 02:02:03 -04:00
phil popp
562da313e4 Fix MetasoundSource transmission bug by adding data type name to address.
[FYI] Dan.Reynolds, Sondra.Moyls
#jira UE-108713
#rb Max.Hayes

#ROBOMERGE-SOURCE: CL 15473674 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15473695 by phil popp in ue5-main branch]
2021-02-19 14:00:43 -04:00
rob gay
fd8bd04b55 - General Metasound Type Reduction
- Reduced Metasound Time Types to single FTime
- Show AudioBuffer as just "Audio" in UI/UX in preparation for nuking mono/stereo type ("mono" will be implicit for single audio type)
- Removed Frequency type
- Removed exposition of Gain as registered type (left code for potential use in node development)
- Added Nodes to convert accordingly between removed types
#rb phil.popp
#jira UEAU-699

#ROBOMERGE-SOURCE: CL 15415392 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15415399 by rob gay in ue5-main branch]
2021-02-16 01:26:50 -04:00
phil popp
18fd872a22 Fix for output format on metasound postload
#jira none
#rb Rob.Gay, Ryan.Mangin

[CL 15273872 by phil popp in ue5-main branch]
2021-02-01 15:59:27 -04:00
phil popp
c2c509e3fd Metasound BP interface
- Adding IAudioInstanceTransmitter interface to Audio extensions
- Adding IAudioInstanceTransmitter to FActiveSound
- Renaming functions with "Archetype" to "MetasoundArchetype" to avoid conflict with UOBject archetype.
- Adding transmittable info to data type registration
- Adding default input pin to receive node.
- Adding FMetasoundInstanceTransmitter for communicating to single metasound source instance.
#rb Aaron.McLeran, Rob.Gay
#jira UEAU-618

[CL 15162371 by phil popp in ue5-main branch]
2021-01-22 03:05:22 -04:00
phil popp
4cdd926b68 Metasound Frontend Revamp
- New node name {namespace.name.variant}
- PointIDs for exact pin-to-pin connections
- TAccessPtr updates
- Controller/Handle interface
- Document Handle
- Frontend Transforms
- Input/Output node external registration
- Revamped document model

#rb Max.Hayes, Rob.Gay
#jira UEAU-626

[CL 15066822 by phil popp in ue5-main branch]
2021-01-13 10:48:59 -04:00
phil popp
4a92191e2d Multichannel Metasound Source
- Moving Frontend UObject registration logic to FMetasoundUObjectRegistry
- Allow FMetasoundAssetBase to support multiple FMetasoundArchetypes
- Adding graph synchronization between UEdGraph and FMetasoundDocument
- Added TAssetPtr<> for tracking validity of objects that cannot be wrapped in a smart pointer.
- Added support for mono and stereo to UMetasoundSource
- Added tools for comparing FMetasoundARchetypes.
- Added LogMetasound

#rb Max.Hayes
#jira UEAU-487

[CL 14919511 by phil popp in ue5-main branch]
2020-12-14 15:48:27 -04:00
phil popp
f3768afb81 Metasound Envorinment Variable
#rb Rob.Gay
#jira UEAU-487

[CL 14766414 by phil popp in ue5-main branch]
2020-11-17 17:52:08 -04:00
Rob Gay
f9a2806cb4 - Mock up displaying required I/O to UI for MetasoundSources
- Disallow removing required I/O from MetasoundSources
- Add functions to expose/iterate required I/O archetypes from Frontend
- Enable copy graph nodes using JSON MS Document Schema and pruning unused nodes
- Mock in paste code (Ethan to add validation or "fix-up" logic on MSDoc side to avoid duplication of node/I/O Ids, names, etc.)
#rb ethan.geller
#jira UEAU-547

[CL 14038324 by Rob Gay in ue5-main branch]
2020-08-05 12:47:19 -04:00
Rob Gay
35560ea2d0 Metasound Literal Editor Updates
- Hide superfluous type info & non-preferred literal data
- Allow user to rename nodes with display name, which is independent from node string name (and supports localization)
- Add better membership checks to editor detail customizations to ensure document member renames/data org doesn't break editor
#rb ethan.geller
#rnx
#jira UEAU-546

[CL 13981474 by Rob Gay in ue5-main branch]
2020-07-30 16:57:04 -04:00
Ethan Geller
99cb919ae9 #jira none
minifix: fix comment for UMetasoundSource
#rb none

[CL 13958954 by Ethan Geller in ue5-main branch]
2020-07-28 16:32:56 -04:00
Ethan Geller
529318d783 #jira UEAU-524
Implement UMetasoundSource, Archetype registry, and implement Archetype support in the metasound editor.
#rb rob.gay, phil.popp
#fyi rob.gay, phil.popp

[CL 13940440 by Ethan Geller in ue5-main branch]
2020-07-23 20:32:26 -04:00