     @parameterType = Filter.Q
     @Q = Math.max(Math.min(q, 115.0), 0.001)
     @recalculateCoefficients()
+    q
 
   #
   # Advanced filter parameters

    @parameterType = Filter.BW
    @BW = bw
    @recalculateCoefficients()

  setS: (s) ->
    @parameterType = Filter.S

  ###
  setFrequency: (freq) ->
    @setF0(freq)
    freq
  getFrequency: -> @f0

  ###
