#
Echo
The echo block adds an echo to an audio stream. The echo delay, intensity, and percentage of feedback can be configured.
Use Delay, Intensity, and Feedback parameters to set the settings.
#
Block info
Name: EchoBlock.
#
The sample pipeline
graph LR; UniversalSourceBlock-->EchoBlock; EchoBlock-->AudioRendererBlock;
#
Sample code
var pipeline = new MediaBlocksPipeline();
var filename = "test.mp3";
var fileSource = new UniversalSourceBlock(await UniversalSourceSettings.CreateAsync(new Uri(filename)));
var echo = new EchoBlock();
pipeline.Connect(fileSource.AudioOutput, echo.Input);
var audioRenderer = new AudioRendererBlock();
pipeline.Connect(echo.Output, audioRenderer.Input);
await pipeline.StartAsync();
#
Platforms
Windows, macOS, Linux, iOS, Android.