added mic controlled pitch detector