Here are the grc codes for MASK modulation and demodulation [[Media:4ASK.grc] whose the flowgraph is the following
[[Media:84ASK.grc] whose the flowgraph is the following