Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

setReverb()

Purpose

Set audio reverberation

Description

Set the amount of reverberation on an audio channel

Syntax

setReverb( channel, delay, attenuation )

Arguments

channel audio channel from 0 to 15

delay amount of delay

attenuation amount of attenuation

Example

delay = 20000
attenuation = 0.1
tune = loadAudio( "David Silvera/music_funky_bar" )
playAudio( 0, tune, 1, 0.5, 1, -1 )

loop
    clear()
    c = controls( 0 )
    delay += c.ly * 8
    attenuation += c.ry / 8
    if attenuation > 1 then
        attenuation = 1
    endIf
    if attenuation < -1 then
        attenuation = -1
    endIf
    setReverb( 0, delay, attenuation )
    printAt( 0, 0, "Push left control stick up or down to control delay" )
    printAt( 0, 1, "Push right control stick up or down to control attenuation" )
    printAt( 0, 3, "Delay: " + delay + " milliseconds" )
    printAt( 0, 4, "Attenuation multiplier: " + attenuation )
    update()
repeat

Associated Commands

audioLength(), getChannelStatus(), loadAudio(), note2Freq(), playAudio(), playNote(), setClipper(), setFilter(), setPan(), setVolume(), startChannel(), stopChannel()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.