add mode_spec
change Pitch to accept options hash
change Pitch options[:pitch] to options[:frequency]