Refactored voice_panel and pitch_panel as well