Commit Graph

18 Commits

Author SHA1 Message Date
rob gay
3e9eab6da9 - Rename & redirect MetaSoundEditorGraph<Input>Literals to MetaSoundEditorGraph<DefaultMember>Literals
- First pass at consolidating editor code for API members/vertices where possible
- Make Variables & Output now use default literal for input value (so user doesn't have to hunt down literal box in graph)

Various bug fixes:
- Fixes crash in post undo after updating a variable default
- Fixes ':Array' flavor showing up in new SearchableComboBox when selecting `Is Array` for literal type
- Synchronize variable setter default literal with variable interface default literal
- Provide default literal field for outputs & variables for consistency
    - Added win is widget support for single input/output types (i.e. floats for now)
- Don't show trigger simulate option on non-transmissible inputs (ex. OnPlay)
- Set simulate button visibility to only show when parameter transmission is supported by input
- Make simulate buttons in graph only visible when sound plays
- Start sounds automatically when clicking simulate in inspector
- Fixed initial condition "holding" trigger state for trigger routing now that Transmission System is only used inter-MetaSound (not intra-MetaSound) and we are deprecating Send/Receives

#rb phil.popp
#rnx
#jira UE-135813
#jira UE-132900
#jira UE-135844
#jira UE-116867
#jira UE-135366
#jira UE-137310
#preflight 61b7afe4fc570891338fea08

#ROBOMERGE-AUTHOR: rob.gay
#ROBOMERGE-SOURCE: CL 18450046 in //UE5/Release-5.0/... via CL 18450065
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18450072 by rob gay in ue5-release-engine-test branch]
2021-12-13 18:15:01 -05:00
eric mcdaniel
467963d977 Code compilation fixes required when strict C++ standards conformance mode is disabled
- compilation issues were encountered in MetasoundRouter.h on Visual Studio 2019 versions 16.11.2 & 16.11.3

#rb David.Harvey, Rolando.Caloca
#lockdown michal.valient
#preflight 614f46c75fbb1d0001d3403f

#ROBOMERGE-AUTHOR: eric.mcdaniel
#ROBOMERGE-SOURCE: CL 17645718 via CL 17964934 via CL 18365512 via CL 18365591
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18365713 by eric mcdaniel in ue5-release-engine-test branch]
2021-12-03 01:04:54 -05:00
jon nabozny
bf6441927f Fix MetaSound FName leak on transmission system
#rb Rob.Gay
#lockdown Richard.Ugarte
#preflight 614b37efa3310f0001097bdd

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: phil.popp
#ROBOMERGE-SOURCE: CL 17595827 via CL 17955766 via CL 18364881 via CL 18364949
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18365009 by jon nabozny in ue5-release-engine-test branch]
2021-12-02 23:52:46 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -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
aaron mcleran
0f6ea34f93 Fixing dropped metasound triggers.
Having payload IDs determined by atomic counters on data channels.
Checked in on behalf of [at]Phil.Popp

#jira UE-116561
#rb Rob.Gay, Aaron.McLeran
#pf https://horde.devtools.epicgames.com/job/60f5d15635476b0001780bb9

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

[CL 16914575 by aaron mcleran in ue5-release-engine-test branch]
2021-07-21 15:46:42 -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
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
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
rob gay
6661b718b6 Add Trigger Simulation
- Add ExecutableDataType statics required for updating and ownership of triggers on Receive and Input nodes to avoid triggers spamming when set from boolean literals (Could potentially be useful for AudioBuffer inputs transmission).
- Misc clean-up
#jira UEAU-740
#rb phil.popp
#preflight 60596c28216649000137e147

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

[CL 15785846 by rob gay in ue5-main branch]
2021-03-23 17:55:31 -04:00
phil popp
18a1e4f3a3 Send Receive channel name fix
#rb Rob.Gay
#jira UE-110505
#jira UE-110507
#jira UE-110508
#jira UE-110509
#preflight 604abaa4e68f820001765807

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

[CL 15685671 by phil popp in ue5-main branch]
2021-03-12 00:09:21 -04:00
phil popp
dfd3a04332 <description: restricted, no permission to view>
#preflight 604936009cb0980001be2001

#ROBOMERGE-SOURCE: CL 15670535 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15670930 by phil popp in ue5-main branch]
2021-03-10 18:29:21 -04:00
phil popp
af230c4a01 Support setting value by literal in MetasoundInstanceTransmitter
- Support for Literal in ISender
- Support IDataChannel creation registration
- Make IDataChannel shared ptrs thread safe.
- Add LexToString for FLiteral.
#okforgihub public
#jira UEAU-709
#rb Rob.Gay

#ROBOMERGE-SOURCE: CL 15631479 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15631492 by phil popp in ue5-main branch]
2021-03-05 20:06:54 -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
c7b77ffea5 Update input node and extend metasound data factory to support literals
#rb Aaron.McLeran
#jira UEAU-487

[CL 14654928 by phil popp in ue5-main branch]
2020-11-04 14:26:37 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Ethan Geller
74b3b5c05b #jira UEAU-480
Initial implementation of the metasound transmission systems, as well as send and receive nodes.
#rb phil.popp

[CL 14272158 by Ethan Geller in ue5-main branch]
2020-09-08 14:13:51 -04:00