Update PhaseDetector
Merge from master branch
Update AudioComponent
Merge PhaseDetector code
Selected channel in PhaseDetector defaults to -1