Commit Graph

170 Commits

Author SHA1 Message Date
gary gong
f52df1926a [SignalProcessing] Per-block process for circular buffer delay
#jira UE-196184

[CL 28197417 by gary gong in ue5-main branch]
2023-09-25 14:34:19 -04:00
charlie huguenard
dc2d480f4a [SignalProcessing] Non-interleaved processing for filters
#jira UE-196187
#rb phil.popp

[CL 28184867 by charlie huguenard in ue5-main branch]
2023-09-25 08:36:45 -04:00
gary gong
4aeee7c74a Add test scenario for ArrayMax in UintTestFloatArrayMath
#jira UE-196009

[CL 28134879 by gary gong in ue5-main branch]
2023-09-22 10:18:37 -04:00
charlie huguenard
5476fd22f1 [SignalProcessing] Per-block process for FInlineEnvelopeFollower
#jira UE-196010
#rb phil.popp

[CL 28094668 by charlie huguenard in ue5-main branch]
2023-09-21 13:53:37 -04:00
miles flanagan
fecda9fca8 Audio dsp utilities for interpolating audio and multitap delaylines
#rnx
#rb phil.popp

[CL 27815462 by miles flanagan in ue5-main branch]
2023-09-12 19:28:17 -04:00
nicholas howe
499d1275d4 Audio bus writer underrun warning fix.
[FYI] matthew.booth
[REVIEW] [at]phil.popp [at]buzz.burrowes [at]charlie.huguenard [at]jake.burga
#tests AudioQA AQ_AudioBus_MetaSounds map, EngineTest test list "All Tests" group "Audio" search "audio bus"

[CL 27524115 by nicholas howe in ue5-main branch]
2023-08-31 11:23:00 -04:00
miles flanagan
ac4dc91424 speculative fix for quad delay crash
#rb seth.weedin
#rnx

[CL 26675442 by miles flanagan in ue5-main branch]
2023-07-28 11:53:47 -04:00
christopher waters
4e96f4193d Removing UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_0 and UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_1 including all uses in the engine.
[CL 26259545 by christopher waters in ue5-main branch]
2023-06-27 11:54:23 -04:00
henrik karlsson
5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00
miles flanagan
34fe243092 Allow Metasound Bus Reader and Writer nodes to set up patch inputs after construction if their busses are set later
#jira UE-187408
#rb phil.popp

[CL 25848966 by miles flanagan in ue5-main branch]
2023-06-07 12:51:55 -04:00
aaron mcleran
30bc924464 midi scale to note array fix
#jira UE-145905
#rb Maxwell.Hayes
#preflight 646e89391134ffac70c5f742

[CL 25633272 by aaron mcleran in ue5-main branch]
2023-05-25 18:45:39 -04:00
rob gay
c56c81b562 PCM16 to float version of ArrayMixIn to avoid buffer scratch copy (potentially large for things like WaveTables or other raw PCM data manipulations)
#rb phil.popp
#jira UE-181879
#rnx
#preflight 64667f9a8377b53e1d1005bf

[CL 25536087 by rob gay in ue5-main branch]
2023-05-18 18:51:24 -04:00
brian chrisman
79b5187c48 Fix crash when applying FFT in Sequencer caused by bad format specifier passed to UE_LOG.
#rb trivial
#preflight 6462df6d3a76d5a56729a3f3

[CL 25495911 by brian chrisman in ue5-main branch]
2023-05-16 15:58:49 -04:00
Steve Robb
bdcccf19f3 Fixed mismatched copy constructor/assignment operator in FOscFrequencyMod.
#rb none
#jira none
#preflight none

[CL 25103456 by Steve Robb in ue5-main branch]
2023-04-19 06:37:56 -04:00
phil popp
2f280717b0 Add metasound reset routine to external nodes
#jira UE-174363
#rb Rob.Gay
#preflight 6400d71caa004233353024cb

[CL 24488096 by phil popp in ue5-main branch]
2023-03-02 14:40:35 -05:00
nicholas howe
1c419fc963 Audio Bus Reader/Writer Nodes Crackle Fix
Audio Bus Reader Node more accurately calculates how many samples it needs before it can start popping.
Reader node has a CVar timeout on how long it'll wait for samples (whereas it used to calculate a huge timeout value that I suspect was erroneous).  In theory the samples should always become available even with an infinite timeout.
The Metasound generator's BuilderTask's completion is ensured at the beginning of FMetasoundGenerator::OnGenerateAudio.  This prevents the mixer, writer and reader nodes from getting out of sync in terms of samples output and input.
FMixerAudioBus::MixBuffer doesn't try to cache any samples and just uses PopAudio and PushAudio directly on its mixer and splitter.
FPatchOutput::WaitUntilNumSamplesAvailable no longer has a race condition and an attempt has been made to improve thread-safety in FPatchOutput.

#jira UE-170575
#rb phil.popp
#preflight 63fcbfe2a134e0b059c64c76

[CL 24427705 by nicholas howe in ue5-main branch]
2023-02-27 13:29:22 -05:00
Joe Kirchoff
2d50350b4f Fix dsp include path for BuildSettingsVersion.V3
#rnx
#rb trivial
#preflight 63ec06e0346bca0035cb2101

[CL 24222048 by Joe Kirchoff in ue5-main branch]
2023-02-14 17:25:46 -05:00
jimmy smith
23c3b961e7 Perlin "value" noise metasound node
#rb helen.yang miles.flanagan
#preflight 63cf2860574ab9cae49c0c5b

[CL 23825389 by jimmy smith in ue5-main branch]
2023-01-23 19:50:56 -05:00
steve robb
6a31618d42 Removed TIsSame from misc. engine files (part of a larger change to deprecate TIsSame).
#rb devin.doucette
#preflight 63c01cac8f4acc7b54d8832d

[CL 23678906 by steve robb in ue5-main branch]
2023-01-13 11:47:02 -05:00
henrik karlsson
ce587eb612 Added markups for headers that can't be compiled standalone.. this is needed for both Header units and IWYU
#preflight 63789b0c170bc34a93a869e5
#rb none

[CL 23552160 by henrik karlsson in ue5-main branch]
2022-12-21 02:46:50 -05:00
nicholas howe
373ad2a12c Metasound Audio Bus Writer Node
Adds a metasound node that sends its audio input to an audio bus.
Modifies the audio mixer interface to support the node.

FMixerSourceManager::StartAudioBus no longer sets bIsPlaying to false on sources that use an audio bus when the audio bus starts.
FMixerAudioBus::MixBuffer mixes its patch inputs into its MixedSourceData buffer, so that the patch input data is available when CopyCurrentBuffer is used to retrieve the mix.

[REVIEW] [at]aaron.mcleran [at]buzz.burrowes [at]phil.popp
#preflight 6372639c5368a3230a4ed041

[CL 23123823 by nicholas howe in ue5-main branch]
2022-11-14 14:44:30 -05:00
Zak Middleton
9149ed2129 #ue5 - Truncation fixes for misc engine headers and modules:
- GameplayMediaEncoder
- GameplayTasks

#jira UE-160833
#rb Andrew.Davidson
#preflight 6362aead876630122ab1dead

[CL 22990977 by Zak Middleton in ue5-main branch]
2022-11-04 13:48:41 -04:00
rob gay
56088a4180 DSP LFO/Modulation LFO fixes
- Add missing exponential factor to Modulation generator
- Fix bounds restriction calculation for expontential factor
- Add LFO ResetPhase implementation to override initial location in oscilator on rising edge where necessary (for modulation LFO, user range limited to unipolar but hardly ever wants to start at midpoint).
- Add bipolar option to avoid oneshot/bipolar conflation for certain types of LFOs
- Add back implementation for 5.1 deprecated function to avoid breaking licensees
#rb phil.popp
[REVIEW] phil.popp
#jira UE-127886
#preflight 6346eed9b757820b7ae99b76

[CL 22483928 by rob gay in ue5-main branch]
2022-10-12 15:31:28 -04:00
alfaroh corneyiii
d675b2ee4e Fix Occasional Unexpected Behavior in Bitcrusher Node
#jira UE-163142
#preflight 633df62ba712a61df1027517
#rb max.hayes phil.popp

[CL 22387912 by alfaroh corneyiii in ue5-main branch]
2022-10-06 19:46:23 -04:00
phil popp
3496231079 CIS Fix for Mac UnitTestAudioFFT aggregate initialization
#rb trivial
#jira UE-163402
#preflight 631f591622433f4f5c65bbb2

[CL 21974113 by phil popp in ue5-main branch]
2022-09-12 18:20:11 -04:00