Highly selective π2 and π pulse generation