Connecting the waves and detune parameters.
wavetype parameter working