Patch Editor
Audio Patches
Audio Delay Patch

Audio Delay Patch

Use this patch to add a decaying echo effect to audio in your Spark AR Studio effects.

Inputs

NameDescription

Audio

Connect the audio source that you want to alter, for example an audio clip, microphone or other audio source.

Active

Switches each echo on or off.

Time

Delay of each echo in milliseconds.

Feedback

The level that the source audio is fed back into the delay instances. A value of 0 will not cause any feedback. 100 will oscillate endlessly, which isn't recommended.

Dry

The volume of the source audio. Maintaining some of the original audio is important to create a mix of source audio and the echos. A value of 0 will not include any of the source audio, while 100 will be the same volume as the source audio. Values over 100 will increase the volume of the source audio signal.

Wet

The volume of the delays. There will be equal volume of wet and dry signal if both values are set to the same number. Values over 100 will make the delays louder than the source audio.

Bypass

Removes the sound effect from the audio source.

Output

NameDescription

Audio

Connect to a speaker, an audio effect or another patch that has an audio input.

Example - adding depth

This example adds a sense of space or depth to sound detected by the microphone.

In the Patch Editor, a patch representing the Microphone scene object is connected to the Audio port in the Audio Delay patch. The output of the Audio Delay patch is then connected to the input of a patch representing the Audio property of a speaker:

To add a delay to the sound detected by the microphone, we changed:

  • Active 1 to ON. The Active values are on/off switches for each delay time. You can have up to 4 delay times turned on at once.
  • Time 1 to 300. The time parameter controls the amount of time in milliseconds between each delay repeat. 300ms is a medium amount of time for repeats, and a good starting point to hear what the delay is doing.
  • Active 2, Active 3 and Active 4 to OFF, by checking the boxes.
  • Time 2, Time 3 to Time 4 to 0. Since the delay time is turned off with the Active 2, 3 and 4 checkboxes, these values aren't used in this example.
  • Feedback to 20. This controls how many times the delayed audio will repeat before it fades away to silence. 20% gives a low amount of repeats. A higher will cause the sound to be more chaotic and bigger.
  • Wet to 50. This controls the % of the delay signal sent to the speaker - so it's essentially the volume mix control for the affected delay sound. Setting this to 50% only sends half the volume amount to the speaker. As a result, the delay sound will compliment the unaffected audio.
  • Dry to 100. This controls the amount of clean, unaffected audio sent to the speaker. 100% will send the dry audio through to the speaker object.
  • Bypass to OFF. Bypass turns the distortion effect on or off. When the box is unchecked, the distortion effect is turned on.

Example - changing the delay time

Changing the Time 1 value to different milliseconds will changes the amount of time between the initial sound and the repeated sound that follows.

Setting the delay time to 100 will mean there's 100ms of time between the first sound and the repeated sound after that. A very short delay time, for example between 50 and 80, will have a slap-back style sound with very quick repeats.

Try setting Feedback to 50. This will make the delay repeats last longer, and take longer to fade away in volume.

Example - rhythmic patterns

To create rhythmic patterns, turn on Active 2, 3, and 4. Adjust the Time parameter for each. Setting the Time parameters differently for each delay section will create unique rhythmic patterns.

Example - ambient delay tails

Editing the Feedback settings will create long, ambient delay tails.