Module: Voicemeeter::Mixins::Fades

Included in:
Bus::Base, Strip::Base
Defined in:
lib/voicemeeter/mixins.rb

Instance Method Summary collapse

Instance Method Details

#fadeby(change, time) ⇒ Object



9
10
11
12
# File 'lib/voicemeeter/mixins.rb', line 9

def fadeby(change, time)
  setter("FadeBy", "(#{change}, #{time})")
  sleep(@remote.delay)
end

#fadeto(target, time) ⇒ Object



4
5
6
7
# File 'lib/voicemeeter/mixins.rb', line 4

def fadeto(target, time)
  setter("FadeTo", "(#{target}, #{time})")
  sleep(@remote.delay)
end