class Chaussettes::Effect::Vol

Represents a volume effect

Attributes

commands[R]

Public Class Methods

new(gain, type: nil, limitergain: nil) click to toggle source
# File lib/chaussettes/effect/vol.rb, line 8
def initialize(gain, type: nil, limitergain: nil)
  @commands = [ 'vol' ]
  @commands << gain
  @commands << type if type
  @commands << limitergain if type && limitergain
  @commands.freeze
end