public void ToggleNoteA() { if (!Synth.HasPitch(40)) { Synth.AddPitch(40); } else { Synth.RemovePitch(40); } }