185 Commits

Author SHA1 Message Date
phil popp
afc00d022b Fix for init variable on trigger.
#jira UE-225822
#rnx
#rb Maxwell.Hayes

[CL 36797042 by phil popp in 5.5 branch]
2024-10-02 14:51:02 -04:00
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
mark meijer
71e02fdfc4 Gather text from source, remove LOC_DEFINE_REGION regions which were used to exclude LOCTEXT's from gather.
Resolve duplicate keys(identifiers)

#jira UE-176755
#rb eric.boucher, Leon.Huang, Jamie.Dale

[CL 35995403 by mark meijer in ue5-main branch]
2024-09-03 21:59:17 -04:00
charlie huguenard
62bcbc44ec [Metasound] Include LOC_DEFINE_REGION so LOCTEXT works
#jira UE-222020
#tests local build
#rnx

[CL 35595169 by charlie huguenard in ue5-main branch]
2024-08-16 11:05:40 -04:00
charlie huguenard
73169fbd09 [Metasound] Expose class and pin names for bus writer node
#jira UE-221680
#rb phil.popp
#rnx

[CL 35534092 by charlie huguenard in ue5-main branch]
2024-08-14 10:45:44 -04:00
phil popp
8846679f41 Recurse MetaSound Preset Graph Inflation as much as possible.
#rnx
#rb Rob.Gay

[CL 34465653 by phil popp in ue5-main branch]
2024-06-18 12:26:46 -04:00
rob gay
1b3382acee Guid collision fix-up follow-up renaming
#rb helen.yang, phil.popp
#rnx

[CL 34426347 by rob gay in ue5-main branch]
2024-06-17 12:51:18 -04:00
alan abram
f64052f200 Metasound changes to reduce the number of FNames generated.
Previously the FNodeRegistryKey::ToString() function was the only user of the "FullName" FName and was used for logging. We now build these inline when used as not to pollute the FNamePool.
#rb emanuel.masciarelli, Rob.Gay

[CL 34032750 by alan abram in ue5-main branch]
2024-05-31 11:06:37 -04:00
phil popp
56737d13eb MetaSound Graph Render Cost
The main elements of this change are:
- Incorporation of "Relative Render Cost" to the AudioDevice in order to do more nuanced voice limiting
- Added a method for tracking a RenderCost in MetaSounds
- Live information on RenderCost is displayed in the MetaSound editor when a sound is previewed

There was some small cleanup as well
- Moved the GraphHierarhcy MetaSound environment variable
- Renamed the MetaSound Environment Variable  TransmissionID to InstanceID
- Put CPU cost and Render Cost into their own widget in the MS editor.

#jira UE-215467
#rb Rob.Gay, Jimmy.Smith

[CL 34020333 by phil popp in ue5-main branch]
2024-05-30 19:36:18 -04:00
charlie huguenard
1f23b03f9d [Metasound] Just use late reflections for plate reverb node. Back out changes to plate reverb and early reflections, no longer necessary.
#jira UE-215689, UE-215746
#rnx
#tests Metasound editor

#virtualized

[CL 33940981 by charlie huguenard in ue5-main branch]
2024-05-28 10:41:37 -04:00
helen yang
4ab50fcc7a Only create named events for MetaSound trace macro when stat namedevents is enabled
#jira UE-214646
#rb ben.woodhouse, jordan.cristiano

[CL 33566163 by helen yang in ue5-main branch]
2024-05-09 20:35:04 -04:00
helen yang
e88cefd8c5 Refactor MetaSound Array Random Get Node shared state
- Add input for Shared State Behavior to share state between other array random nodes that are the same node, same node in composition, or same data
- Simplify behavior for reinitializing and updating state
- Add hidden friend GetHashType hash functions to MetaSound types
- Add output for chosen index
- Tooltip updates and debug logging

#jira UE-211778
#jira UE-172282
#rb phil.popp, aaron.mcleran

[CL 33495083 by helen yang in ue5-main branch]
2024-05-07 16:54:01 -04:00
jordan cristiano
265b08a5bf Cut down on metasound graph profiling cost.
Uses cached specIds on FProfilingOperator to avoid event name map lookups on every scope.
#rb phil.popp
#tests PIE, compiled shipping locally

[CL 33283127 by jordan cristiano in ue5-main branch]
2024-04-26 19:03:41 -04:00
rob gay
4e8569babe Fix for bad initialization of unconnected metasound nodes in dynamic graph (from the ghost of Phil)
#jira UE-212376
#rb rob.gay
[FYI] phil.popp

#tests Ran EngineTest MetaSoundBuilder tests locally that were failing, now they're beautiful and green

[CL 33091240 by rob gay in ue5-main branch]
2024-04-18 19:29:24 -04:00
phil popp
addf9f73fc Fix for MetaSound RTTI failure on platforms which perform code folding.
#jira UE-212264
#rb Rob.Gay

[CL 33038808 by phil popp in ue5-main branch]
2024-04-17 12:16:48 -04:00
phil popp
0cb5103030 Optimize incremental topological sort for metasound dynamic operators.
#jira UE-205691
#rb Rob.Gay

[CL 32894870 by phil popp in ue5-main branch]
2024-04-11 12:47:47 -04:00
phil popp
70d5d5d4ff [Backout] - CL32579234
[FYI] phil.popp
Original CL Desc
-----------------------------------------------------------------
Optimize incremental topological sort for metasound dynamic operators.
#jira UE-205691
#rb Rob.Gay
[FYI] matthew.booth, charlie.huguenard

[CL 32603350 by phil popp in ue5-main branch]
2024-03-28 19:51:33 -04:00
phil popp
2035320217 Optimize incremental topological sort for metasound dynamic operators.
#jira UE-205691
#rb Rob.Gay
[FYI] matthew.booth, charlie.huguenard

[CL 32579287 by phil popp in ue5-main branch]
2024-03-28 11:30:22 -04:00
jonathan bard
cbdc9b3e1c Created MathCore module, a module meant to regroup all math utils that are not generic enough that they should be in Core (in order not to bloat it) or owned by the foundation team :
* Moved directed graph utils from audio to core, in namespace UE::MathCore::Graph
* Renamed Depth/BreadthFirstTraversal to Depth/BreadthFirstNodeTraversal and added Depth/BreadthFirstEdgeTraversal to traverse the graph edges
* Added FindLeaves method to retrieve graph nodes with no children from a starting node

Created MathCoreTests low-level test executable :
* Moved directed graph unit tests there
* Enabled on CIS on all platforms

#tests low-level tests
#rb chris.constantinescu, danny.couture, phil.popp, johan.torp

[CL 31680629 by jonathan bard in ue5-main branch]
2024-02-21 09:41:51 -05:00
phil popp
c41b8f96c6 MetaSound: Reduce number of time a dynamic operator has it's operators reordered.
#jira UE-204667
#rb Rob.Gay
[FYI] charlie.huguenard

#changelist validated
#virtualized

[CL 31218510 by phil popp in ue5-main branch]
2024-02-06 12:11:08 -05:00
phil popp
65f5b50b24 Amortize dynamic operator updates
#jira UE-204667

#rb maxwell.hayes

[CL 31092911 by phil popp in ue5-main branch]
2024-02-01 12:51:06 -05:00
maxwell hayes
cb6bc25e3c Adding audio csv stats around tracking potential perf culprits.
#rb jimmy.smith

[FYI] Will.Widen

[CL 30402732 by maxwell hayes in ue5-main branch]
2023-12-19 16:07:38 -05:00
helen yang
b9a3a650c1 Change MetaSound trace macros to use scoped events for platform specific captures
#rb Rob.Gay

[CL 30401020 by helen yang in ue5-main branch]
2023-12-19 15:07:50 -05:00
helen yang
b29e9fb234 Deprecate FCreateOperatorParams and use FBuildOperatorParams instead for MetaSound perf (part 3)
#jira UE-195871
#rb charlie.huguenard

[CL 29566649 by helen yang in ue5-main branch]
2023-11-08 13:09:23 -05:00
maxwell hayes
cd1fdd0c33 [metasound builder] low-hanging fruit pre-allocation of containers and moving Stringbuilding / FName conversion to static init.
#rb Jordan.Cristiano, Aaron.McLeran
#rnx

[CL 29548374 by maxwell hayes in ue5-main branch]
2023-11-07 21:33:28 -05:00