# File rbSnack/tkSnack.rb, line 152
  def filter( type, *args)
    case type
      when "composition" then return CompositionFilter.new(args)
      when "echo"        then return EchoFilter.new(args)
      when "generator"   then return GeneratorFilter.new(args)
      when "formant"     then return FormantFilter.new(args)
      when "iir"         then return IIRFilternew(args)
      when "fir"         then return FIRFilternew(args)
      when "map"         then return MapFilter.new(args)
      when "reverb"      then return ReverbFilter.new(args)
    end
  end