A phononic crystal coupled to a transmission line via an artificial atom